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): remove backtick formatting from secrets-and-integrations reference (#63898)

mendral-app[bot]7cc71f7d2aaf
diff --git a/services/mcp/definitions/agent_platform.yaml b/services/mcp/definitions/agent_platform.yaml
index ad4c90ccf187..2f1936255d30 100644
--- a/services/mcp/definitions/agent_platform.yaml
+++ b/services/mcp/definitions/agent_platform.yaml
@@ -102,8 +102,8 @@ tools:
description: >
Body `{ value: "…" }`. Merges into the encrypted env without touching siblings. **Disabled for the standard
MCP surface** — agents should never see raw secret values in their tool-call history. The standard path is
- to deep-link the user into the agent console's secret editor (see the `secrets-and-integrations` skill for
- the URL contract and callback flow); this endpoint exists for CI / scripts that already hold the value
+ to deep-link the user into the agent console's secret editor (see the secrets-and-integrations skill for the
+ URL contract and callback flow); this endpoint exists for CI / scripts that already hold the value
out-of-band.
agent-applications-list:
operation: agent_applications_list
@@ -543,7 +543,7 @@ tools:
Body `{ env: { KEY: "value", … } }` — the whole env is replaced (not patched). **Disabled for the standard
MCP surface** — the body carries raw secret values, which would land in the agent's tool-call history. Raw
secret entry goes through the agent console's secret editor instead (deep-link flow; see the
- `secrets-and-integrations` skill). Values are encrypted at rest with the team's Fernet keys and never leave
+ secrets-and-integrations skill). Values are encrypted at rest with the team's Fernet keys and never leave
Django; this endpoint stays available on the REST API for the console / CI that already hold the values.
agent-applications-stats:
operation: agent_applications_stats
diff --git a/services/mcp/scripts/lib/tool-references.ts b/services/mcp/scripts/lib/tool-references.ts
index 4677d539ba1e..0510bc706c27 100644
--- a/services/mcp/scripts/lib/tool-references.ts
+++ b/services/mcp/scripts/lib/tool-references.ts
@@ -36,6 +36,7 @@ const REFERENCE_ALLOWLIST = new Set([
'per-session', // adjective in "per-session tool calls", not a tool name
'multi-file',
'document-window', // shorthand for the business-knowledge-document-window-retrieve tool
+ 'secrets-and-integrations', // agent platform skill, lives on feature branch until GA
])
// "use the X tool", "load the `X` skill" — kebab or snake candidate followed by tool/skill.