anomalyco / anomalyco/opencode
Local MCP server spawned twice (duplicate process) on every Desktop restart
Open
@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
- Configure any local (stdio) MCP server in opencode.json
- Launch or restart OpenCode Desktop
- Run
ps -eo pid,ppid,lstart,command | grep <your-server-command> - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.