anomalyco / anomalyco/opencode

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

Open
#42,190 2 comments 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 13, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.