fleet-memory/hindsight-docs/docs
Nicolò Boschi d8050387e4
fix(mcp): handle Claude Code GET probe and make stateless_http configurable (#757)
* fix(mcp): handle Claude Code GET probe and make stateless_http configurable (#751)

Claude Code v2.1.84+ sends a GET to /mcp/ before POST initialize,
which fails with 405 (stateless) or 400 (stateful). Intercept
sessionless GET requests in MCPMiddleware and return 200 OK so the
client proceeds to POST initialize.

Also make stateless_http configurable via HINDSIGHT_API_MCP_STATELESS
(default: false/stateful) instead of hardcoding true.

Closes #751

* docs: add HINDSIGHT_API_MCP_STATELESS to configuration reference
2026-03-30 12:15:06 +02:00
..
developer fix(mcp): handle Claude Code GET probe and make stateless_http configurable (#757) 2026-03-30 12:15:06 +02:00
sdks fix(codex): cleanup dead code, add release lifecycle and docs (#753) 2026-03-30 11:34:43 +02:00