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 stdio transport sends batched requests without proper flush, breaking local servers #21516
OpenCode's MCP stdio transport is broken for local MCP servers that expect proper sequential JSON-RPC messages with flush. Requests appear to be batched or not properly flushed, causing authentication to never reach the API.
Environment
OpenCode version: v1.4.0
Platform: macOS (Apple Silicon)
Node/Bun runtime: Bun
Repro Steps
Set up a local MCP server using stdio transport (e.g., minimax-coding-plan-mcp)
Configure it in opencode as a local MCP server
Call any tool via the MCP server
Tool returns "login fail" error from the MCP server
Observed Behavior
MCP server starts, initialize handshake completes successfully
tools/list returns tools correctly
Calling any tool returns "login fail" from the MCP server
No useful error logs in OpenCode
Expected Behavior
Tools should work via OpenCode's MCP client the same way they work via direct subprocess call
Activity
fix(local-llm): adaptive token limits + orphan server detection + sdk…
github-actions commentedon Jul 3, 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.