You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
local MCP server child processes become orphaned on restart #30073
When opencode is restarted (e.g., during an update), its child MCP server
processes (configured as "local" type in opencode.json) are not always
killed. Over multiple restarts, orphan processes accumulate.
Steps to reproduce:
Configure a local MCP server (e.g., blender-mcp)
Restart opencode several times (e.g., via updates)
Observe that old MCP processes remain running: Get-Process blender-mcp
shows multiple instances with different start times
Expected: MCP child processes are terminated when opencode exits.
Actual: Orphan processes are left running, potentially causing port conflicts
and resource leaks.
Suggested fix: On Windows, use a Job Object to bind child process lifetime
to the parent. On Unix, use process groups.
Activity
github-actions commentedon May 31, 2026
This issue might be a duplicate of existing issues. Please check:
github-actions commentedon Jul 31, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.