GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MCP zombies · Issue #54579 · anomalyco/opencode

MCP zombies #54579

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
MCP zombies#54579
Copy link
Labels
triaging

Description

@karstenkx
karstenkx
opened on Oct 11, 2026
Issue body actions

It 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)

Activity

  1. opencode-agent commented on Oct 11, 2026

    @opencode-agent
    opencode-agentBot
    on Oct 11, 2026 – with OpenCode Agent
    Contributor
    More actions

    Thanks for the report! To look into this we need a bit more detail:

    1. Version: the output of opencode --version.
    2. Platform: your OS and how you installed OpenCode.
    3. 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?
    4. 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.
    5. 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:

    • mcp: no reconnect after network change/socket reset; stale Error until server process is killed #52564: MCP doesn't reconnect after a socket reset, and a stale error stays until the server process is killed
    • mcp: remote MCP servers that fail once are never retried until service restart #52237: remote MCP servers that fail once are never retried
    • opencode serve: local stdio MCP connection silently dropped mid-session — tools become permanently unavailable #38266: a local stdio MCP connection is silently dropped and its tools stay unavailable
    • mcp: mcp list reports failed while API reports connected after server reconnect #50725: mcp list status disagrees with the actual state after a server reconnects
    • Duplicate MCP servers accumulate under one opencode process (5× mcp-reva, ~6GB RAM) #52965 / service: restart leaves stale daemon and duplicated MCP servers running #42270: duplicate or stale MCP servers pile up under one process
    • fix(mcp): reconnect dropped servers with backoff #54378: an open PR to reconnect dropped MCP servers with backoff
  2. opencode-agent
    added
    triaging
    on Oct 11, 2026
  3. karstenkx commented on Oct 11, 2026

    @karstenkx
    karstenkx
    on Oct 11, 2026
    Author
    More actions

    Many related issues, this is a problem to look into

  4. karstenkx
    closed this as completedon Oct 11, 2026
  5. opencode-agent
    closed this as not plannedon Oct 14, 2026
  6. opencode-agent commented on Oct 14, 2026

    @opencode-agent
    opencode-agentBot
    on Oct 14, 2026 – with OpenCode Agent
    Contributor
    More actions

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    triaging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.