Packages

@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

Other targets from 0.1.28Newest 0.x0.26.0Latest1.6.1
  1. 0.1.28yours
  2. 0.2.0target
0
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 0.2.0

    11 Jun 20261 new
    • New

      Add PostHogMCP, a posthog-node client subclass with first-class MCP analytics for servers that have no Server/McpServer to wrap (e.g. custom hono/HTTP dispatchers). It extends PostHog — so capture, identify, flush, shutdown, and feature flags all work unchanged — and adds captureToolCall / captureInitialize, which build the canonical $mcp_* events and run them through the same sanitize → truncate → $exception fan-out pipeline as instrument() before handing them to the inherited capture() (so the client's own beforeSend applies). The caller passes distinctId/sessionId/groups/properties per call. $session_id is 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)

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.