GeezerVison is showing github.com — MCP zombies · Issue #54579 · anomalyco/opencode
DescriptionIt seams to be that some or all detected MCP tools (seen with MCP for Unity) leave zombie connection info inside OC
so that it thinks the MCP is still there when it is already not anymore (Error -32001) Activityopencode-agent commented on Oct 11, 2026 Thanks for the report! To look into this we need a bit more detail:
- Version: the output of
opencode --version.
- Platform: your OS and how you installed OpenCode.
- MCP config: the
mcp entry for MCP for Unity from your config (remove any secrets). Is it a local (stdio) server or a remote URL?
- Steps: what leads to the "zombie" state? For example: start OpenCode, then close or restart Unity (or the MCP server) while OpenCode keeps running, then call a tool.
- Expected vs. actual: the full error message with
-32001, where it shows up (TUI, opencode mcp list, a tool call), and whether anything clears it (reconnecting the server, restarting OpenCode).
You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.
These issues look related. They're ordered by how likely they are to be the same problem, so please check whether one of them already covers yours:
karstenkx commented on Oct 11, 2026 Many related issues, this is a problem to look into opencode-agent commented on Oct 14, 2026 Closing this for now: we asked for more details on Oct 11 and haven't heard back. Without them we can't reproduce the MCP for Unity problem or tell which version it affects. The details we'd need are the OpenCode version, your OS, the MCP config and transport, the steps that lead to the stale connection, and the full -32001 error.
If you still see this, please reply with those details or open a new issue, and we'll take another look. In the meantime, #52564, #52237 and #38266 track similar problems with stale or unrecovered MCP connections, so they may be worth following.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|