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.

docs(mcp-analytics): list the missing-capability option for each SDK (#112972)

Lucas Faria34616debb064
diff --git a/docs/published/docs/mcp-analytics/missing-capability.mdx b/docs/published/docs/mcp-analytics/missing-capability.mdx
index c206bdd2dae0..d80dd97ccd5c 100644
--- a/docs/published/docs/mcp-analytics/missing-capability.mdx
+++ b/docs/published/docs/mcp-analytics/missing-capability.mdx
@@ -12,8 +12,15 @@ Each report keeps the agent's own description, the MCP client, the person, and t
From your MCP server's project root, run the MCP analytics Wizard command shown on the **Missing capabilities** tab.
The setup agent enables missing capability reporting for you.
-To configure it manually, set `reportMissing: true` when you initialize the PostHog MCP SDK.
+To configure it manually, turn the option on when you initialize the PostHog MCP SDK:
+
+- TypeScript: `reportMissing: true`
+- Python: `report_missing=True`
+- Ruby: `report_missing: true`
+- Go: `posthogmcpsdk.WithMissingCapabilityTool("get_more_tools")`
+
This adds a virtual `get_more_tools` tool that agents can call when the available tools cannot complete a task.
+See the [installation page for your language](/docs/mcp-analytics/installation) for a full example.
The agent's description is captured as a `$mcp_missing_capability` event.
Enabling the setting does not create reports by itself.