Where does the bug appear (feature/product)?
Grok Bot
Describe the Bug
Full investigation, redacted server trace and runnable reproduction: Grok Bot (Cursor MCP client) omits MCP-Protocol-Version on reused sessions → empty 400 from T3 Code; analysis, repro and fixes · GitHub
OAuth authorization, token exchange, MCP initialization and the first tools/list succeed. Later requests arrive with Mcp-Session-Id but without MCP-Protocol-Version. On a session negotiated as 2025-06-18, strict servers reject them with HTTP 400 and an empty body. Grok Bot shows: Streamable HTTP error: Error POSTing to endpoint:
The requested tools never execute. Server traces prove the header is absent when requests arrive, but do not establish which connector component drops it or conclusively identify the rejected RPC method.
Steps to Reproduce
- Add a T3 Code /mcp endpoint through T3 Connect as a custom remote MCP server in Grok Bot (Effect 4.0.1, MCP protocol 2025-06-18).
- Approve OAuth. Initial discovery succeeds and lists 80 tools.
- Ask the bot to call t3_project_list or t3_environment_read.
- Observe the empty error and requests on an existing session without the version header.
Reauthorizing and reconnecting did not resolve the incident. The gist also contains a local client/server reproduction.
Expected Behavior
Every request after initialization should include the negotiated MCP-Protocol-Version (2025-06-18), and tool calls should succeed. Actual behavior: later requests omit the header, receive an empty HTTP 400, and tools do not run.
Operating System
MacOS
Version Information
Installed Grok Bot: 0.68.1 (read from the macOS app bundle on 2026-10-08; app version was not captured in the original incident trace).
OS: macOS / darwin
Bot: Membrane
Connector user-agent: Cursor/1.0.0
Server: T3 Code 0.0.46-nightly.20261008.2819, Effect 4.0.1
Negotiated MCP protocol: 2025-06-18
Incident: 2026-10-08 16:44–16:51 UTC
Additional Information
Related server-side issue: [Bug]: MCP returns an empty 400 for in-session requests without MCP-Protocol-Version, so Grok Bot (Cursor client) can't call tools · Issue #16906 · pingdotgg/t3code · GitHub
The report documents a server compatibility fix in Effect 4.0.2. That helps T3 Code, but the connector should still send the required header for other strict servers.
Suggested connector fix: persist the negotiated protocol version alongside sessionId and restore it before any resumed-session requests. In the official TypeScript SDK this is transport.setProtocolVersion(saved.protocolVersion). The SDK reproduces the same behavior when a new transport resumes only sessionId without restoring protocolVersion; this is a hypothesis for the connector implementation, not a confirmed finding about its internals. Please investigate session reconstruction and any proxy/header handling.
The gist includes the redacted timeline, Cloudflare request IDs, reproduction client/server and tested fixes. This blocks Grok Bot from using this MCP server.
Does this stop you from using Cursor
No - Cursor works, but with this issue