Skip to content

[Bug] - Images returned by MCP tools are not displayed in chat or accessible as files #1017

Description

@AlonDan

Describe the bug
When any MCP tool returns image data (such as base64-encoded PNG), Zoo Code does not display the image in chat and does not make the base64 data accessible to the AI model.

This is a Zoo Code bug, not an MCP bug. The MCP server correctly returns the image data, but Zoo Code fails to:

  1. Display the image in the chat interface
  2. Make the base64 data available to the AI model

I verified this with the game_screenshot tool from godot-mcp:

  • The tool returns success: true with dimensions (e.g., "1152x648")
  • The actual image data is returned but I cannot see it or access it
  • No PNG file is created in the project directory

This bug affects ALL MCP tools that return image data, not just game_screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. Install godot-mcp MCP server (version 3.1.0)
  2. Run a Godot project using run_project tool
  3. Call game_screenshot tool
  4. Expected: See the screenshot image in chat or access the base64 data
  5. Actual: Only see text message "Screenshot captured: 1152x648" — no image

Expected behavior
When an MCP tool returns image data, I expect:

  • The image to be displayed in the chat interface
  • OR the base64 data to be accessible so I can save it as a file
  • OR a file to be automatically created in the project directory

Screenshots
N/A - I cannot provide screenshots because this is the bug being reported.

Video
N/A - Cannot record video of the bug because screenshots are not displayed.

What version of zoo are you running
Version: Latest (installed via VS Code extension marketplace)

Additional context

  • OS: Windows 11 Pro
  • MCP server: godot-mcp version 3.1.0
  • The game_screenshot tool is enabled in mcp_settings.json (listed in alwaysAllow)
  • I verified that other MCP tools (create_scene, add_node, run_project, read_scene, create_script) work correctly
  • The bug is specifically with how Zoo Code handles image data returned from MCP tools
  • This is a critical bug for Vibe Coding workflow where visual verification is essential

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions