Skip to content

opencode via mcp server, no reference to screenshot for llm #2

@4ld3v

Description

@4ld3v

Hi there,

First of all, thanks for your contribution! I am using opencode

$ opencode --version
1.2.10

with the standard mcp definitio:

"mcp": {
"android-ui-assist": {
"type": "local",
"command": ["npx", "android-ui-assist-mcp"],
"enabled": true
}
}

The llm has access to the mcp server. It can initiate a screenshot, but it has no access to the screenshot itself. Its minimax m2.5 and its responding:
---- LLM ---
Based on the GitHub page, the MCP server only provides 2 tools:

  1. take_android_screenshot - captures device screenshot
  2. list_android_devices - lists connected devices
    The issue is that while the screenshot is captured (1080x2400 pixels), the image data isn't being returned to me in a way I can actually view. The tool response just confirms "screenshot captured" but doesn't give me access to the image content.
    This appears to be a limitation of how the MCP server is integrated with opencode - the screenshot data isn't being passed through to me. You may need to configure the MCP integration differently, or view the screenshot locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions