:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(deps): Update @posthog/mcp to 0.23.0 (#114403)
posthog-js-upgrader[bot]2625134f45a9
diff --git a/frontend/src/taxonomy/core-filter-definitions-by-group.json b/frontend/src/taxonomy/core-filter-definitions-by-group.jsonindex e9dfeccb56b1..e0f0b1dc6cb4 100644--- a/frontend/src/taxonomy/core-filter-definitions-by-group.json+++ b/frontend/src/taxonomy/core-filter-definitions-by-group.json@@ -1686,6 +1686,11 @@"examples": ["context_parameter", "inferred"],"label": "MCP intent source"},+ "$mcp_interface": {+ "description": "The interface that produced the event. Set by the @posthog/mcp analytics SDK on every capture and exception event it sends.",+ "examples": ["mcp"],+ "label": "MCP interface"+ },"$mcp_is_error": {"description": "Whether the MCP tool call failed. True if the tool returned an error result or threw an exception.","label": "MCP is error"@@ -3719,6 +3724,11 @@"examples": ["context_parameter", "inferred"],"label": "MCP intent source"},+ "$mcp_interface": {+ "description": "The interface that produced the event. Set by the @posthog/mcp analytics SDK on every capture and exception event it sends.",+ "examples": ["mcp"],+ "label": "MCP interface"+ },"$mcp_is_error": {"description": "Whether the MCP tool call failed. True if the tool returned an error result or threw an exception.","label": "MCP is error"@@ -5859,6 +5869,11 @@"examples": ["context_parameter", "inferred"],"label": "MCP intent source"},+ "$mcp_interface": {+ "description": "The interface that produced the event. Set by the @posthog/mcp analytics SDK on every capture and exception event it sends.",+ "examples": ["mcp"],+ "label": "MCP interface"+ },"$mcp_is_error": {"description": "Whether the MCP tool call failed. True if the tool returned an error result or threw an exception.","label": "MCP is error"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 789443f6f233..944f01a5b2c3 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -5759,8 +5759,8 @@ importers:specifier: workspace:*version: link:../../packages/llm-normalizer'@posthog/mcp-analytics':- specifier: npm:@posthog/[email protected]- version: '@posthog/[email protected](@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected](@opentelemetry/[email protected])([email protected]))'+ specifier: npm:@posthog/[email protected]+ version: '@posthog/[email protected](@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected](@opentelemetry/[email protected])([email protected]))''@posthog/quill':specifier: workspace:*version: link:../../packages/quill/packages/quill@@ -10984,9 +10984,6 @@ packages:'@posthog/[email protected]':resolution: {integrity: sha512-z3fPR/RdOgTYWdHQnZZm81CCgljDxsrMsSz72Jpd2vJAtycsRYKOlMXdP8+55yM3WYeVU1wOyF9BldWsIABr+A==}- '@posthog/[email protected]':- resolution: {integrity: sha512-dfxeSjUvR+j4M7odvyf/KVdcKTZZ87u/l9swJtDt9vFkI2km3RhEveOkIHtFcZEQ1cllx7YaKJfdw6c8zfIEvg==}-'@posthog/[email protected]':resolution: {integrity: sha512-KRq26v5fXYnwV5wqTAXzPyQLCrBzzhK78QRl7UyEaPFZ4RPmVo1pBObRDbK350ah+8hTfQPanu5mM8c4CaSn5g==}@@ -11018,8 +11015,8 @@ packages:react: 18.3.1react-dom: 18.3.1- '@posthog/[email protected]':- resolution: {integrity: sha512-mTG9qU03vVD0SPtf2hl+SStEVVSRRnYWNvbHb9wOqkOSLk/jjMEkmeTDkh6QRUifv0LgHg2C/syNiX501mAyEQ==}+ '@posthog/[email protected]':+ resolution: {integrity: sha512-pGWHFn3gXVcThM/fF8QgHf01SBdwQgOgv+HmWhMEzR63iJdCsy8sfD+b2ZTU0ZODAeTMmbwzRvJLc371/WWjvQ==}engines: {node: ^20.20.0 || >=22.22.0}peerDependencies:'@modelcontextprotocol/sdk': ^1.29.0@@ -11047,9 +11044,6 @@ packages:'@posthog/[email protected]':resolution: {integrity: sha512-Q7lV9O9TbLngjOYw1ucm3bS3tn48xb1B4ZQdDy8gv7yfKe99hCTeWYG4xZ36nJM80VxpTF9TriiJt5hngDOkBg==}- '@posthog/[email protected]':- resolution: {integrity: sha512-7Qs2wcqipl8KcFpIkIKE1Wcj1djX4dEB3cfq907HrNpKK7/xKh3U4N4bkOD6h9+8j3SxWWrj9JNpE8CZXsE35w==}-'@posthog/[email protected]':resolution: {integrity: sha512-0/9+02s/0uDyrH4G/qUg1yyl6gXUg8Uuxw/PlDad3KLzo9FFS9zS/kAQaEshx/saVGupj1aAy/4EUBxWisBogw==}@@ -30516,10 +30510,6 @@ snapshots:dependencies:'@posthog/types': 1.412.4- '@posthog/[email protected]':- dependencies:- '@posthog/types': 1.415.1-'@posthog/[email protected]':dependencies:'@posthog/types': 1.416.0@@ -30555,9 +30545,9 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])- '@posthog/[email protected](@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected](@opentelemetry/[email protected])([email protected]))':+ '@posthog/[email protected](@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected](@opentelemetry/[email protected])([email protected]))':dependencies:- '@posthog/core': 1.57.2+ '@posthog/core': 1.59.1posthog-node: 5.56.1(@opentelemetry/[email protected])([email protected])optionalDependencies:'@modelcontextprotocol/sdk': 1.29.0(@cfworker/[email protected])([email protected])@@ -30573,8 +30563,6 @@ snapshots:'@posthog/[email protected]': {}- '@posthog/[email protected]': {}-'@posthog/[email protected]': {}'@protobufjs/[email protected]': {}diff --git a/posthog/taxonomy/taxonomy.py b/posthog/taxonomy/taxonomy.pyindex 9da3bed02c0c..a37bfab2f945 100644--- a/posthog/taxonomy/taxonomy.py+++ b/posthog/taxonomy/taxonomy.py@@ -3096,6 +3096,11 @@ CORE_FILTER_DEFINITIONS_BY_GROUP: dict[str, dict[str, CoreFilterDefinition]] = {"description": "The transport the MCP client used to connect to the server.","examples": ["stdio", "sse", "streamable-http"],},+ "$mcp_interface": {+ "label": "MCP interface",+ "description": "The interface that produced the event. Set by the @posthog/mcp analytics SDK on every capture and exception event it sends.",+ "examples": ["mcp"],+ },"$mcp_consumer": {"label": "MCP consumer","description": "The upstream surface that initiated the MCP request, supplied via the `x-posthog-mcp-consumer` header. 'posthog-code' is the catch-all every sandbox agent sends, so it covers Signals runs as well as PostHog Desktop; break down by `source` to separate them. 'slack' means it was triggered from Slack.",diff --git a/services/mcp/package.json b/services/mcp/package.jsonindex b33fdb5e839a..a872f2b21b6a 100644--- a/services/mcp/package.json+++ b/services/mcp/package.json@@ -52,7 +52,7 @@"@modelcontextprotocol/ext-apps": "^1.5.0","@modelcontextprotocol/sdk": "^1.29.0","@posthog/llm-normalizer": "workspace:*",- "@posthog/mcp-analytics": "npm:@posthog/[email protected]",+ "@posthog/mcp-analytics": "npm:@posthog/[email protected]","@posthog/quill": "workspace:*","@posthog/quill-charts": "workspace:*","@toon-format/toon": "^2.1.0",