Skip to content

MCP servers #27771

Closed as not planned
Closed as not planned

Description

@adillkhl

Description

Bug Report

Local stdio MCP servers are completely non-functional on OpenCode Desktop for Windows. Remote MCPs work fine.

Environment

  • OS: Windows 11
  • OpenCode Desktop version: v1.15.0
  • Node.js: v24.11.1 (installed via official installer)
  • Installation method: Official Windows installer from opencode.ai

Current Behavior

All local MCP servers show red status in the Desktop app. Only remote MCPs (e.g., context7) show green and work correctly.

Specifically affected:

  • github (@modelcontextprotocol/server-github)
  • agentmemory (@agentmemory/mcp)
  • supabase (@supabase/mcp-server-supabase)
  • Any other local stdio MCP

Remote MCP that works:

Expected Behavior

Local MCP servers should initialize and show green status, as they do on macOS and in the CLI version.

Steps to Reproduce

  1. Install OpenCode Desktop on Windows 11
  2. Add any local MCP to opencode.jsonc (example: github)
  3. Restart OpenCode Desktop
  4. Check MCP status — all local MCPs are red

What I've Already Tried

  1. ✅ Verified token is valid (GitHub API responds correctly)
  2. ✅ Tested npx -y @modelcontextprotocol/server-github directly in terminal — works fine standalone
  3. ✅ Tried absolute path to npx.cmd instead of npx
  4. ✅ Tried cmd /c npx ... and powershell -Command "npx ..."
  5. ✅ Increased timeout to 60 seconds
  6. ✅ Pre-installed packages globally
  7. ✅ Created HTTP proxy wrapping stdio MCP (Streamable HTTP transport) — proxy responds correctly to JSON-RPC initialize request, but Desktop still shows red
  8. ✅ Confirmed config is in correct location (%APPDATA%\opencode\opencode.jsonc)
  9. ✅ Created .json copy alongside .jsonc
  10. ✅ Cleared cache and restarted Desktop multiple times

Key Finding

The stdio MCP servers work perfectly when started manually outside OpenCode, but fail only when launched by OpenCode Desktop's internal process manager. Remote MCPs work fine.

Related Issues

Request

Is there a known workaround for Windows Desktop users, or an ETA for the fix? The CLI version works fine with local MCPs, so this appears to be Desktop-specific.

Logs

No error logs visible in standard locations. Happy to provide any additional diagnostics needed.

Plugins

context-mode

OpenCode version

1.15.0

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on May 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct from these (e.g. a different root cause or regression in a newer version), please clarify how it differs so maintainers can track it separately.

  2. rasos commented on Jun 4, 2026

    @rasos

    Local MCPs are not recognized or listed either on Linux. The MCP process is running and connected via sockets but not showing up in the GUI and it is not invoked when asking e.g. to index a directory. This seems to be a desktop app MCP issue, I can access the MCP with external scripts. Here is my config snippet:

      "mcp": {
        "rag-server": {
          "type": "local",
          "command": ["/usr/bin/python3", "mcp-rag-server.py"],
          "enabled": true,
          "timeout": 15000
        }
      }
    

    Related to #30600 which was fixed lately.

  3. github-actions commented on Aug 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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