Skip to content

: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.

fix(mcp): attach org/project groups to $mcp_tool_call events (#66450)

Radu Raicea40f72caced4b
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 71bd1430f754..c7a1f8c57189 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4404,8 +4404,8 @@ importers:
specifier: ^1.29.0
version: 1.29.0(@cfworker/[email protected])([email protected])
'@posthog/mcp-analytics':
- specifier: npm:@posthog/[email protected]
- version: '@posthog/[email protected](@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected])'
+ specifier: npm:@posthog/[email protected]
+ version: '@posthog/[email protected](@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected])'
'@posthog/quill':
specifier: workspace:*
version: link:../../packages/quill/packages/quill
@@ -9883,12 +9883,12 @@ packages:
'@posthog/[email protected]':
resolution: {integrity: sha512-GViD5mOv/mcbZcyzz3z9CS0R79JzxVaqEz4sP5Dsea178M/j3ZWe6gaHDZB9yuyGfcmIMQ/8K14yv+7QrK4sQQ==}
- '@posthog/[email protected]':
- resolution: {integrity: sha512-2a9JgJgR+Ow8lrUQHVZYXH9EgXskYDlpbgNW6UvtsVxp8pEEFD8PxjZMnzq73Dx3NhAwNUrnVpb8KeZzHAtoSA==}
-
'@posthog/[email protected]':
resolution: {integrity: sha512-qq9ASrhqxEcfzMQ/kc7dC00pibIcSbQ57FwVHxOGQOeSHr+uN18LA01ESsQX+UcgJ1beFvM6goa8SMxW99OLUw==}
+ '@posthog/[email protected]':
+ resolution: {integrity: sha512-QLrJh0hMVpEJXHNyiJR9YhvIO5tzLDedw4UHdvB+ub4fXHMtHCA8H44qgl11HWR3ajpjxtJ8hs3HyOGVF3Zc1w==}
+
'@posthog/[email protected]':
resolution: {integrity: sha512-kjK0eFMIpKo9GXIbts8VtAknsoZ18oZorANdtuTj1CbgS28t4ZVq//HAWhnxEuXRTrtkd+SUJ6Ux3j2Af8NCuA==}
@@ -9929,8 +9929,8 @@ packages:
react: 18.3.1
react-dom: 18.3.1
- '@posthog/[email protected]':
- resolution: {integrity: sha512-5k5q4On86ISHKczYUgHC4KxA3XNIN/6mbgXHEaF1cNo2xI+gxBJxivDVlzcU1h2F++WYJP5AGEj3lxffjLXG7Q==}
+ '@posthog/[email protected]':
+ resolution: {integrity: sha512-0XtnLb860ktC7/U5bw97WHhLbUhWbyw+8kXYDp4zIi9YrbLJQvjiuLz8FGOvJcgyO6s5bNUts5rgMoSlDMhCcQ==}
engines: {node: ^20.20.0 || >=22.22.0}
peerDependencies:
'@modelcontextprotocol/sdk': ^1.29.0
@@ -30333,11 +30333,11 @@ snapshots:
dependencies:
cross-spawn: 7.0.6
- '@posthog/[email protected]':
+ '@posthog/[email protected]':
dependencies:
'@posthog/types': 1.391.1
- '@posthog/[email protected]':
+ '@posthog/[email protected]':
dependencies:
'@posthog/types': 1.391.1
@@ -30383,10 +30383,10 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@modelcontextprotocol/sdk': 1.29.0(@cfworker/[email protected])([email protected])
- '@posthog/core': 1.35.1
+ '@posthog/core': 1.38.0
posthog-node: 5.25.0
diff --git a/services/mcp/package.json b/services/mcp/package.json
index cb5bd47be666..99089abbb080 100644
--- a/services/mcp/package.json
+++ b/services/mcp/package.json
@@ -45,7 +45,7 @@
"@hono/node-server": "^2.0.2",
"@modelcontextprotocol/ext-apps": "^1.5.0",
"@modelcontextprotocol/sdk": "^1.29.0",
- "@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",