PostHog JS MCP adds error type and message fields to tool call events
@posthog/mcp@0.8.0
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes
0.8.0
Minor Changes
- #4032
93bbc4bThanks @lucasheriques! - Stamp$mcp_error_typeand$mcp_error_messageon$mcp_tool_call(and$mcp_tools_list) when a call fails. Previously the only failure signal on the primary event was the$mcp_is_errorboolean, so breaking failures down by reason meant joining to the$exceptionsibling (which can be disabled, and isn't emitted when no error value is passed).$mcp_error_typedefaults to the thrown error's type, andcaptureToolCall/captureToolsListaccept an explicit low-cardinalityerrorTypelabel (e.g.validation,permission,timeout,rate_limited) for hosts that classify their own failures. (2026-07-03)
Fetched July 3, 2026


