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.

feat(webmcp): capture webmcp tool calls in the app (#116731)

Rafael Audibert3357f8d1c121
diff --git a/frontend/src/loadPostHogJS.tsx b/frontend/src/loadPostHogJS.tsx
index 9ca86f6154ae..dd5911d5f4bf 100644
--- a/frontend/src/loadPostHogJS.tsx
+++ b/frontend/src/loadPostHogJS.tsx
@@ -101,6 +101,7 @@ export function loadPostHogJS(): void {
opt_in_site_apps: true,
disable_surveys: window.IMPERSONATED_SESSION,
disable_product_tours: true,
+ capture_webmcp: true,
opt_out_capturing_by_default: window.IMPERSONATED_SESSION,
__preview_deferred_init_extensions: isInDeferredInitSample(posthog.get_session_id()),
error_tracking: {