@posthog/mcp
1.6.1 · 21 Nov 2026MIT780.1k / weekRepositorynpmAtom feed
Upgrading @posthog/mcp From 0.1.28 to 0.2.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Release by release
- New
Add
PostHogMCP, aposthog-nodeclient subclass with first-class MCP analytics for servers that have noServer/McpServerto wrap (e.g. custom hono/HTTP dispatchers). It extendsPostHog— socapture,identify,flush,shutdown, and feature flags all work unchanged — and addscaptureToolCall/captureInitialize, which build the canonical$mcp_*events and run them through the same sanitize → truncate →$exceptionfan-out pipeline asinstrument()before handing them to the inheritedcapture()(so the client's ownbeforeSendapplies). The caller passesdistinctId/sessionId/groups/propertiesper call.$session_idis now omitted from events when no session is supplied (previously always set), so stateless captures don't bucket into a non-existent Session Replay session. (2026-06-11)
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.