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 — Local MCP server spawned twice (duplicate process) on every Desktop restart · Issue #42190 · anomalyco/opencode

Local MCP server spawned twice (duplicate process) on every Desktop restart #42190

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
Local MCP server spawned twice (duplicate process) on every Desktop restart#42190
Copy link
Assignees
Brendonovich

Description

@andreasnikasinc-ctrl
andreasnikasinc-ctrl
opened on Aug 13, 2026
Issue body actions

Description

OpenCode Desktop starts two instances of the same local (stdio) MCP server every time it restarts, instead of one.

Confirmed with ps -eo pid,ppid,lstart,command: both server processes start at the identical timestamp, both parented under the same "OpenCode Helper (Utility)" process.

Ruled out:

  • Config duplication - only one entry for the server exists in opencode.json
  • Multiple windows - only one window-state file exists, single window open

Ends up with two idle duplicate server processes after every restart.

Plugins

No response

OpenCode version

1.15.13

Steps to reproduce

  1. Configure any local (stdio) MCP server in opencode.json
  2. Launch or restart OpenCode Desktop
  3. Run ps -eo pid,ppid,lstart,command | grep <your-server-command>
  4. See two processes with identical start times, same parent PID

Screenshot and/or share link

No response

Operating System

macOS 26.5.2

Terminal

N/A (Desktop app)

Reacted by bacca87

Activity

  1. github-actions
    assigned
    Brendonovich
    on Aug 13, 2026
  2. github-actions commented on Aug 13, 2026

    @github-actions
    github-actionsBot
    on Aug 13, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • MCP servers spawn 2-4 duplicate processes per server on startup, causing TasksMax exhaustion and EAGAIN errors #31554: MCP servers spawn 2-4 duplicate processes per server on startup — same root symptom (multiple MCP server processes spawned per configured server on restart), with related issues also linked from there (Bug: MCP servers spawn duplicate processes per session — 1 project = 8+ instances, 2+ projects = crash #29939, MCP servers spawned 8-10x per instance on Windows, consuming ~3.5 GB RAM on startup #26336, Local stdio MCP servers leak processes on disconnect / replace / rollback #26714)
  3. mapix-etnc commented on Aug 27, 2026

    @mapix-etnc
    mapix-etnc
    on Aug 27, 2026
    More actions

    Confirmed on Linux/OpenCode Desktop with one Desktop utility worker and no duplicate MCP configuration entries.

    Observed 18 local MCP server instances for 9 enabled local MCP server identities: every server starts exactly twice in two waves roughly four seconds apart. This affects unrelated local stdio MCPs, not only one server implementation:

    • memory
    • context7
    • playwright
    • chrome-devtools
    • sonarqube
    • four account-scoped Google Workspace MCP instances

    Both waves are descendants of the same long-running Desktop utility worker and each duplicate has its own stdio socket pair. They are not created by opencode mcp list or a transient CLI diagnostic process.

    This materially affects reliability for stateful local MCP servers. We observed 60-second tool-call timeouts after repeated otherwise-successful Google Workspace operations. Correlation logging showed normal credential lookup and API calls for successful requests; the duplicated process topology is the common host-side fault observed across every local MCP server.

    Expected: one child process tree per enabled local MCP configuration per Desktop worker.

    Additional related issues: #31554, #41331, #26714.

  4. neriousy commented on Oct 1, 2026

    @neriousy
    neriousy
    on Oct 1, 2026
    Member
    More actions

    Closing as a duplicate of #31554. Same bug: local MCP servers are spawned twice on startup. Tracking in #31554.

  5. neriousy
    closed this as a duplicateof MCP servers spawn 2-4 duplicate processes per server on startup, causing TasksMax exhaustion and EAGAIN errors #31554 on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Brendonovich
    Brendonovich

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

    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.