Copy library / What got built / Grok Bot
Forum: remote MCP header missing on reused sessions (HTTP 400)
Title and summary are in the original language, not translated.
# Forum: remote MCP header missing on reused sessions (HTTP 400) Source: https://forum.cursor.com/t/grok-bot-remote-mcp-requests-omit-mcp-protocol-version-on-reused-sessions-causing-empty-http-400/174114 Developer report with a runnable reproduction that Grok Bot drops the MCP-Protocol-Version header when it reuses a remote MCP session, so strict servers return an empty HTTP 400; staff confirmed it and flagged the suggested fix.
- What it does
- Developer report with a runnable reproduction that Grok Bot drops the MCP-Protocol-Version header when it reuses a remote MCP session, so strict servers return an empty HTTP 400; staff confirmed it and flagged the suggested fix.
- Scenarios
- Reports / briefs Watch PRs / repos
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersNot in source
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
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
Show full post
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 …RongleCat/awesome-grok-bot (GitHub) · Open original ↗ From the forum's first post, verbatim and untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Read the source: forum.cursor.com ↗
- Turn the steps/prompts from the source into one message for your Bot
- Run it manually once, then decide the frequency
- Risks and limits
- Case summary only, not investment advice
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator