: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
docs(mcp-analytics): make debugging skill's shared reference clickable (#89788)
posthog[bot]3c4409b1eeee
diff --git a/products/mcp_analytics/skills/debugging-mcp-analytics/SKILL.md b/products/mcp_analytics/skills/debugging-mcp-analytics/SKILL.mdindex 0ddfed5ed82a..2459acb73db4 100644--- a/products/mcp_analytics/skills/debugging-mcp-analytics/SKILL.md+++ b/products/mcp_analytics/skills/debugging-mcp-analytics/SKILL.md@@ -42,7 +42,7 @@ repos outside this monorepo, resolve a local checkout via| --------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- || **Product / dashboard** | `PostHog/posthog` (this repo) | `products/mcp_analytics/` — Django/DRF + HogQL query runners + Temporal, Kea frontend, the `query-mcp-*` tool registry, and the analysis skills || **Self-instrumented server** | `PostHog/posthog` (this repo) | `services/mcp/` — PostHog's own MCP server (Hono); the dogfood event producer. Also hosts the _generated_ `query-mcp-*` handlers |-| **Shared query reference** | `PostHog/posthog` (this repo) | `products/posthog_ai/skills/querying-posthog-data/references/models-mcp.md` |+| **Shared query reference** | `PostHog/posthog` (this repo) | [`models-mcp.md`](../../../posthog_ai/skills/querying-posthog-data/references/models-mcp.md) — `products/posthog_ai/skills/querying-posthog-data/references/` || **TypeScript SDK** `@posthog/mcp` | `PostHog/posthog-js` | `packages/mcp/` — the library customers install. Vocabulary source of truth: `src/extensions/constants.ts`. `docs/ARCHITECTURE.md` now covers conversation anchoring (ADR-0004) but trails the newest era handling — where it and `CHANGELOG.md` disagree, trust the changelog and the source || **Python SDK** `posthog.mcp` | `PostHog/posthog-python` | `posthog/mcp/` — mirrors `posthog.ai`. Ships inside `posthog` (`pip install posthog`); `mcp`/`fastmcp` are lazily-imported peer deps, **no `[mcp]` extra**. At TS parity since 7.40.0-7.42.1 — MCP Python SDK v2, conversation anchoring, typed errors, client UA/vendor || **Docs** | `PostHog/posthog.com` | `contents/docs/mcp-analytics/` (incl. `surfaces/`), plus `src/hooks/productData/mcp_analytics.tsx` and the `mcp_analytics` entry in `src/data/tools.ts` |@@ -91,7 +91,7 @@ These are the failure modes that produce a plausible-looking answer rather than4. **`harness` is derived, and its logic exists in three places that must move in lockstep:**`products/mcp_analytics/backend/mcp_harness.py` (source of truth — see its moduledocstring), `products/mcp_analytics/frontend/dashboard/harnessRegistry.ts`, and- `products/posthog_ai/skills/querying-posthog-data/references/models-mcp.md`.+ [`models-mcp.md`](../../../posthog_ai/skills/querying-posthog-data/references/models-mcp.md).5. **Check which SDK version the dogfood server is on before trusting dogfood data.**`services/mcp` consumes the SDK through an alias in its `package.json` and has historicallylagged the published version, so version-dependent properties (typed error types, `$lib`@@ -180,8 +180,8 @@ is absent from the tool calls that follow, so on its own it leaves most trafficunattributed; `mcp_session_client_name` is the session-pinned fallback the token chainreaches for next.-For hand-written SQL, `models-mcp.md` (linked in the Repos table) carries the property-reference and worked query examples.+For hand-written SQL, [`models-mcp.md`](../../../posthog_ai/skills/querying-posthog-data/references/models-mcp.md)+carries the property reference and worked query examples.## The pipeline, and where each stage breaks