github PostHog/posthog-js @posthog/mcp@1.2.2

37 minutes ago

1.2.2

Patch Changes

  • #5732 5e5cb86 Thanks @lucasheriques! - Fix stateless servers on @modelcontextprotocol/server 2.0 to 2.2 that reuse one transport for every client: the session token minted at initialize now rides only that client's initialize response. Before, it stayed on the transport, so every later client's initialize failed with 400 "Server already initialized" and later responses handed the first client's token to other clients. Per-request and multi-pod stateless servers still get a stable session token.

    The token is no longer left on transport.sessionId after the response. Host code that read it there should read the Mcp-Session-Id header the client replays instead. (2026-11-13)

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.