@posthog/mcp
1.6.1 · 21 Nov 2026MIT780.1k / weekRepositorynpmAtom feed
Upgrading @posthog/mcp From 0.1.17 to 0.26.0
75 releases in betweennotes for 46
Release by release
- New
Aligned with the MCP analytics spec: a call to a tool the server never registered now emits
$mcp_unknown_toolinstead of a failed$mcp_tool_call,llm_modelis advertised as optional, theget_more_toolsandsend_feedbackannotations now declare that they record data, and the injectedcontextargument has a shorter description. A server whose own dispatcher bypasses the MCP SDK's tool registry (such as@rekog/mcp-nest) keeps recording calls to unknown names as failed tool calls, since the SDK cannot tell whether such a tool exists. On a low-level server,resolveOriginalToolreturningundefinednow marks a failing call as an unknown tool, so return a tool for every name your server serves. Strings cut to a property limit (such as 256 characters for names and 2,048 for intent and error text) now stop exactly at the limit,...included, instead of 3 characters past it.PostHogMCPcapture methods called without asessionIdnow send a fresh$session_idper call, and anonymous calls use it as their distinct id instead of the shared"anonymous". This changes your published tool definitions; if your server is listed in the ChatGPT or Claude directories, those platforms may re-review the updated tools. (2026-11-06)
- New
- Fixed
Parse Node stack frames for functions named
asyncwithout a leading parenthesis in the filename. (2026-11-06)
- Fixed
- Fixed
Reworded the descriptions of the injected
conversation_idandllm_modelarguments and theget_more_toolsandsend_feedbackvirtual tools so they describe the field instead of instructing the model. This changes your published tool definitions; if your server is listed in the ChatGPT or Claude directories, those platforms may re-review the updated tools. (2026-11-05)
- Fixed
- New
Add a
sendToolsListEventoption. It is on by default. Set it tofalseto stop sending$mcp_tools_list. (2026-10-28)
- New
- New
Add a
sendInitializeEventoption. It is on by default. Set it tofalseto stop sending$mcp_initialize. (2026-10-28)
- New
- Fixed
Stop sending standalone
$identifyevents, so insights, funnels, or cohorts built on MCP$identifystop receiving new data. Theidentifycallback still setsdistinct_id,$setand$groupson every event. (2026-10-19)
- Fixed
- Fixed
Set
$mcp_interfacetomcpon events from MCP servers. (2026-10-09)
- Fixed
- Fixed
Sanitize each tool response once instead of twice, and replace image, audio and binary blocks before the scan, so tool calls with large results cost less CPU. Redact PostHog tokens that URL field decoding exposes. (2026-10-07)
- Fixed
20 internal lines (docs, tests, tooling) left out.
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.