Skip to content

MCP: failed to get tools from Stitch - can't resolve reference #/$defs/ScreenInstance #26260

Closed

Description

@adelosrc

Description

Description

OpenCode fails to load tools from the Stitch MCP proxy even though the proxy connects successfully and discovers 14 tools.

Steps to reproduce

  1. Configure Stitch MCP in local/proxy mode with API key
  2. Start OpenCode
  3. Stitch shows as "Failed to get tools" in statusline

Log output

INFO service=mcp key=stitch type=local found
INFO service=mcp key=stitch mcp stderr: [stitch-proxy] Connecting to https://stitch.googleapis.com/mcp...
INFO service=mcp key=stitch mcp stderr: [stitch-proxy] Connected to Stitch, discovered 14 tools
INFO service=mcp key=stitch mcp stderr: [stitch-proxy] Proxy server running
ERROR service=mcp key=stitch error=can't resolve reference #/$defs/ScreenInstance from id # failed to get tools from client

Config

"stitch": {
  "enabled": true,
  "type": "local",
  "command": ["npx", "@_davideast/stitch-mcp", "proxy"],
  "environment": {
    "STITCH_API_KEY": "..."
  }
}

Environment

  • OpenCode version: 1.14.41
  • macOS (Apple Silicon M4)
  • stitch-mcp: latest via npx

Plugins

No response

OpenCode version

1.14.41

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS (Apple Silicon M4)

Terminal

No response

Activity

  1. sam-atlas-dev commented on May 8, 2026

    @sam-atlas-dev

    I am trying to solve it as well ;/

  2. christos-nova commented on May 9, 2026

    @christos-nova

    Kilo CLI user here seeing the same Stitch failure pattern on Windows. Direct mcp-remote-client works against https://stitch.googleapis.com/mcp with X-Goog-Api-Key, but the client fails during tool loading. If Kilo shares parser/runtime with OpenCode, this may be the same #/$defs/ScreenInstance schema resolution issue rather than auth/config. Posting as corroboration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions