releases.shpreview

PostHog JS MCP 0.4.1 unifies PostHog and instrument imports under one package

@posthog/mcp@0.4.1

1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes

0.4.1

Patch Changes

  • #3936 06c23d8 Thanks @lucasheriques! - Re-export PostHog (and the PostHogOptions type) from @posthog/mcp, so you can import the client and instrument from a single package:

    import { PostHog, instrument } from '@posthog/mcp'

    posthog-node remains a peer dependency (resolved from the host app's installed copy); this only unifies the import. PostHogMCP is also already accepted by instrument() if you prefer a single client class. (2026-06-23)

Fetched June 23, 2026