releases.shpreview

PostHog JS MCP adds error type and message fields to tool call events

@posthog/mcp@0.8.0

July 3, 2026PostHog JSView original ↗
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes

0.8.0

Minor Changes

  • #4032 93bbc4b Thanks @lucasheriques! - Stamp $mcp_error_type and $mcp_error_message on $mcp_tool_call (and $mcp_tools_list) when a call fails. Previously the only failure signal on the primary event was the $mcp_is_error boolean, so breaking failures down by reason meant joining to the $exception sibling (which can be disabled, and isn't emitted when no error value is passed). $mcp_error_type defaults to the thrown error's type, and captureToolCall/captureToolsList accept an explicit low-cardinality errorType label (e.g. validation, permission, timeout, rate_limited) for hosts that classify their own failures. (2026-07-03)

Fetched July 3, 2026