posthog-v7.42.0
Immutable
release. Only release title and notes can be modified.
Minor changes
- f483bab feat(mcp): capture
$mcp_client_user_agentand$mcp_vendor_clientso MCP usage can be attributed to a product surface.clientInfo.nameonly says which client library is calling — Anthropic reportsclaude-codefrom the CLI, the Agent SDK, the VS Code extension and the desktop app alike — so$mcp_client_namecollapses every surface into one bucket and the harness breakdown reads 100% "Other" for Python-backed servers. The distinguishing detail lives in the User-Agent parenthetical (claude-code/2.1.0 (cli)vs(sdk-ts)) and in vendor headers likex-anthropic-client. Both are captured raw and classified at query time, so labels can improve without an SDK release. HTTP transports only: stdio and in-memory servers carry no headers and their events are unchanged. Custom dispatchers pass their own via newclient_user_agent/vendor_clientarguments on everyPostHogMCP.capture_*method. Parity with@posthog/mcp. — Thanks @gesh!