Skip to content

MCP Subsystem entirely unresponsive on Windows Desktop App (/config loads, but /mcp times out) #16449

@Yanjy-Nov10

Description

@Yanjy-Nov10

Description

It appears that the entire MCP subsystem on the current OpenCode Windows Desktop instance is completely unavailable. This is not an issue with a specific MCP directory or configuration, but rather a systemic failure of the MCP runtime/integration on the Windows environment.

Plugins

No response

OpenCode version

1.2.20

Steps to reproduce

Observations & Evidence:

Universal Failure: Both previously working MCP entries and newly configured MCP entries fail to start within OpenCode.

MCPs are healthy standalone: When I manually run these MCPs directly in the system terminal (e.g., node dist/index.js), they work perfectly. They remain active and do not crash/exit immediately.

Config is read successfully: The OpenCode /config endpoint returns data normally, proving that OpenCode successfully reads and parses the MCP configurations.

Connection/State check fails: The OpenCode /mcp endpoint frequently times out or disconnects internally.

Troubleshooting Performed:
I have thoroughly isolated the issue from the "configuration layer" and the "command layer":

Tested both global and project-level configurations.

Replaced bare commands with absolute paths.

Switched from using .cmd scripts to explicitly calling node.exe + dist/index.js.

Verified that the MCP services themselves are fully functional outside of OpenCode.

Conclusion:
The root cause is no longer a configuration error or a broken MCP script. The evidence clearly points to a bug in OpenCode's own MCP runtime / desktop integration under Windows.

The fact that /config works while /mcp times out suggests that OpenCode's internal process scheduling, state checking, or IPC (stdio) connection subsystem has stalled or broken down.

Screenshot and/or share link

Image

Operating System

windows 11

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions