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
MCP prompts/list -32601 causes infinite npx process spawning and UI freeze #26012
When opening a new session or switching to a new workspace folder, OpenCode sends prompts/list requests to all configured local MCP servers. Servers that don't support this protocol method (playwright MCP, zai-mcp-server) return error -32601 (Method not found).
OpenCode retries these requests indefinitely, each time forking a new npx child process under opencode-cli.exe. Across 10+ session restarts in a single day, this accumulates into:
13× duplicate npx @playwright/mcp@latest processes (each wrapped by a separate cmd.exe)
Your issue adds important detail about the npx child process accumulation and the specific memory/handle counts, which may be worth keeping if the above issues don't fully capture that angle. Please review the linked issues and consider whether this can be tracked there instead.
Activity
github-actions commentedon May 6, 2026
This issue might be a duplicate of existing issues. Please check:
prompts/listandresources/listmethods #24985: MCP client fails to initialize servers that don't implement optionalprompts/listandresources/listmethods — same root cause (-32601 on optional methods causing server initialization failure)Your issue adds important detail about the npx child process accumulation and the specific memory/handle counts, which may be worth keeping if the above issues don't fully capture that angle. Please review the linked issues and consider whether this can be tracked there instead.
cy574 commentedon May 14, 2026
在最新版opencode中该问题已经完全解决