Ingest OpenTelemetry from your developers’ Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.
Claude Code emits OpenTelemetry. Point it at Clarion and you get a security view of how your engineering org actually uses AI coding agents: which MCP servers they connect, whose accounts are outside your company, and which sessions read a credential and then reached the network.
Estimated time: 10 minutes. You will need admin access to your organization’s Claude managed settings.
Prerequisites
Claude Code deployed across your developer fleet
Ability to push managed settings to those installs
Your company’s domains set in Workspace settings — the external-account rule reads every account as external until they are
Step 1 — Create the monitor in Clarion
In Clarion, open Integrations and find Claude Code.
Click Connect and create a monitor. Clarion generates:
An ingest endpoint URL carrying the monitor id.
A bearer secret, shown exactly once.
Copy the secret when it is shown. Clarion does not display it again. The secret travels in an OTLP header, never in the URL.
Step 2 — Push managed settings
Clarion generates the JSON block to paste into your Claude managed settings:
Copy it from the integration page rather than from here — it comes pre-filled with your endpoint and secret.
Findings are only as complete as your telemetry. If OTEL logging is partial across the fleet, so is the picture Clarion builds. OTEL_LOG_TOOL_DETAILS is what makes tool-level governance possible; without it, MCP server use is invisible.
What Clarion builds from it
MCP server governance. Every MCP server your developers connect is inventoried with who uses it and how often. Servers sit in an undecided bucket until somebody rules on them — and the Claude Code Governance agent sweeps that bucket weekly and puts the whole batch in front of a human as one decision rather than a trickle of prompts. Use of a server somebody already denied raises an issue immediately.Identity. Telemetry reported from an account outside your company’s domains is surfaced and triaged. This is how a personal account doing company work, or a contractor still connected after offboarding, shows up.Credential-shaped tool use. Sessions that read a credential-shaped path and then reached the network are flagged for triage — the pattern behind an agent exfiltrating a key, whether deliberately or by accident.
Related agent
The Claude Code Governance agent ships four skills: MCP server governance triage, MCP inventory review sweep, external account triage, and credential-harvesting triage.
Disconnect
Click Disconnect on the integration page, then remove the OTEL environment variables from your managed settings. Telemetry sent after disconnection is rejected.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Clarion Documentation","colors":{"primary":"#DB4E11","light":"#F06A32","dark":"#A9380C"},"logo":{"light":"https://mintcdn.com/cantinaclarion/tILrB31zBZWRAUsL/logo/light.svg?fit=max\u0026auto=format\u0026n=tILrB31zBZWRAUsL\u0026q=85\u0026s=7cd5792ab32083df9d5daa0b9dd7ebe9","dark":"https://mintcdn.com/cantinaclarion/tILrB31zBZWRAUsL/logo/dark.svg?fit=max\u0026auto=format\u0026n=tILrB31zBZWRAUsL\u0026q=85\u0026s=a3814ccc710e25ec7f024a9d6b26f93c"},"favicon":"https://mintcdn.com/cantinaclarion/q9VTvQdLrOUrmi9I/favicon.svg?fit=max\u0026auto=format\u0026n=q9VTvQdLrOUrmi9I\u0026q=85\u0026s=bf46d5105433c6e792dc765e5466f070","api":{"playground":{"display":"none","proxy":false}},"background":{"image":{"light":"https://mintcdn.com/cantinaclarion/q9VTvQdLrOUrmi9I/background-light.svg?fit=max\u0026auto=format\u0026n=q9VTvQdLrOUrmi9I\u0026q=85\u0026s=d5a5ccad45c16e95c4d8d93cdb915990","dark":"https://mintcdn.com/cantinaclarion/q9VTvQdLrOUrmi9I/background-dark.svg?fit=max\u0026auto=format\u0026n=q9VTvQdLrOUrmi9I\u0026q=85\u0026s=8047c927debd47d173a04877500c3d5a"},"color":{"light":"#F5EFE4","dark":"#06161E"}},"navbar":{"links":[{"href":"https://www.cantina.security/platform","label":"Platform"},{"href":"https://www.cantina.security/agents","label":"Agents"},{"href":"https://www.cantina.security/integrations","label":"Integrations"},{"href":"https://www.cantina.security/trust","label":"Trust"},{"href":"mailto:support@cantina.security","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/cantinaxyz","github":"https://github.com/spearbit","linkedin":"https://linkedin.com/company/cantina-xyz"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cantinaclarion","hasAudioNarration":false,"actualSubdomain":"cantinaclarion","customDomains":["docs.clarion.cantina.xyz"],"gitSource":{"type":"github","owner":"spearbit","repo":"clarion","deployBranch":"main","contentDirectory":"docs/public-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b008cee50ece64df360ab90","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Integrations","count":69},{"language":"default","tag":"Learn","count":25},{"language":"default","tag":"Agents","count":7},{"language":"default","tag":"Settings","count":7},{"language":"default","tag":"AWS","count":3},{"language":"default","tag":"Threat Intel","count":3},{"language":"default","tag":"Skills","count":3},{"language":"default","tag":"Getting Started","count":2},{"language":"default","tag":"Knowledge Base","count":2},{"language":"default","tag":"Signals","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#background-color{z-index:-10!important;pointer-events:none!important}span.fixed.inset-0.pointer-events-none{background-size:cover!important;background-position:top right!important;background-repeat:no-repeat!important;background-attachment:fixed!important}#navbar,#sidebar,#sidebar-content,#table-of-contents,#table-of-contents-content{background-color:rgb(var(--background-light) / 0.97)}:is(.dark) #navbar,:is(.dark) #table-of-contents,:is(.dark) #table-of-contents-content,.dark #navbar,.dark #table-of-contents,.dark #table-of-contents-content{background-color:rgb(var(--background-dark) / 0.55)}:is(.dark) #sidebar,.dark #sidebar{background-color:transparent!important;background-image:linear-gradient(\n to bottom,\n rgb(var(--background-dark) / 0.28) 0%,\n rgb(var(--background-dark) / 0.5) 28%,\n rgb(var(--background-dark) / 0.68) 55%,\n rgb(var(--background-dark) / 0.72) 100%\n )!important;-webkit-mask-image:linear-gradient(\n to right,\n #000 0%,\n #000 calc(100% - 22px),\n transparent 100%\n );mask-image:linear-gradient(\n to right,\n #000 0%,\n #000 calc(100% - 22px),\n transparent 100%\n )}:is(.dark) #sidebar-content,.dark #sidebar-content{background-color:transparent!important}:is(.dark) #navbar-transition,.dark #navbar-transition{border-color:transparent!important}:is(.dark) #navbar,:is(.dark) #sidebar,:is(.dark) #sidebar-content,:is(.dark) #table-of-contents,:is(.dark) #table-of-contents-content,:is(.dark) #content-area,.dark #navbar,.dark #sidebar,.dark #sidebar-content,.dark #table-of-contents,.dark #table-of-contents-content,.dark #content-area{border-color:transparent!important;box-shadow:none!important}:is(.dark) #sidebar button,:is(.dark) #sidebar .nav-dropdown-item-icon,:is(.dark) #navbar button,.dark #sidebar button,.dark #sidebar .nav-dropdown-item-icon,.dark #navbar button{border-color:transparent!important;box-shadow:none!important}"}]}
{"page":{"pagePath":"integrations/claude-code","slug":"/integrations/claude-code","pageMetadata":{"title":"Claude Code","description":"Ingest OpenTelemetry from your developers' Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.","href":"/integrations/claude-code"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Ingest OpenTelemetry from your developers’ Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Claude Code emits OpenTelemetry. Point it at Clarion and you get a security view of how your engineering org actually uses AI coding agents: which MCP servers they connect, whose accounts are outside your company, and which sessions read a credential and then reached the network.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Estimated time:`}),` 10 minutes. You will need admin access to your organization’s Claude managed settings.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Claude Code deployed across your developer fleet`}),`\n`,_jsxs(_components.li,{children:[`Ability to push `,_jsx(_components.strong,{children:`managed settings`}),` to those installs`]}),`\n`,_jsxs(_components.li,{children:[`Your company’s domains set in `,_jsx(_components.a,{href:`/learn/settings/workspace`,children:`Workspace settings`}),` — the external-account rule reads every account as external until they are`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-—-create-the-monitor-in-clarion`,children:`Step 1 — Create the monitor in Clarion`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In Clarion, open `,_jsx(_components.strong,{children:`Integrations`}),` and find `,_jsx(_components.strong,{children:`Claude Code`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Connect`}),` and create a monitor. Clarion generates:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`An `,_jsx(_components.strong,{children:`ingest endpoint URL`}),` carrying the monitor id.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`bearer secret`}),`, shown exactly once.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Copy the secret when it is shown. Clarion does not display it again. The secret travels in an OTLP header, never in the URL.`})}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-—-push-managed-settings`,children:`Step 2 — Push managed settings`}),`\n`,_jsx(_components.p,{children:`Clarion generates the JSON block to paste into your Claude managed settings:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"env\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CLAUDE_CODE_ENABLE_TELEMETRY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_LOGS_EXPORTER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"otlp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_METRICS_EXPORTER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"otlp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_TRACES_EXPORTER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"otlp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_EXPORTER_OTLP_PROTOCOL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_EXPORTER_OTLP_ENDPOINT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://\u003cyour-clarion-host>/api/webhooks/claude-code/\u003cmonitor-id>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_EXPORTER_OTLP_HEADERS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization=Bearer \u003cyour-token>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_LOG_TOOL_DETAILS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OTEL_METRICS_INCLUDE_ENTRYPOINT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Copy it from the integration page rather than from here — it comes pre-filled with your endpoint and secret.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Findings are only as complete as your telemetry. If OTEL logging is partial across the fleet, so is the picture Clarion builds. `,_jsx(_components.code,{children:`OTEL_LOG_TOOL_DETAILS`}),` is what makes tool-level governance possible; without it, MCP server use is invisible.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-clarion-builds-from-it`,children:`What Clarion builds from it`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`MCP server governance.`}),` Every MCP server your developers connect is inventoried with who uses it and how often. Servers sit in an undecided bucket until somebody rules on them — and the `,_jsx(_components.a,{href:`/learn/agents/our-agents`,children:`Claude Code Governance`}),` agent sweeps that bucket weekly and puts the whole batch in front of a human as `,_jsx(_components.strong,{children:`one`}),` decision rather than a trickle of prompts. Use of a server somebody already denied raises an issue immediately.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Identity.`}),` Telemetry reported from an account outside your company’s domains is surfaced and triaged. This is how a personal account doing company work, or a contractor still connected after offboarding, shows up.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Credential-shaped tool use.`}),` Sessions that read a credential-shaped path and then reached the network are flagged for triage — the pattern behind an agent exfiltrating a key, whether deliberately or by accident.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-agent`,children:`Related agent`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/learn/agents/our-agents`,children:`Claude Code Governance`}),` agent ships four skills: MCP server governance triage, MCP inventory review sweep, external account triage, and credential-harvesting triage.`]}),`\n`,_jsx(Heading,{level:`2`,id:`disconnect`,children:`Disconnect`}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Disconnect`}),` on the integration page, then remove the OTEL environment variables from your managed settings. Telemetry sent after disconnection is rejected.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Claude Code","description":"Ingest OpenTelemetry from your developers' Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.","href":"/integrations/claude-code"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Step 1 — Create the monitor in Clarion","slug":"step-1-—-create-the-monitor-in-clarion","depth":2,"children":[]},{"title":"Step 2 — Push managed settings","slug":"step-2-—-push-managed-settings","depth":2,"children":[]},{"title":"What Clarion builds from it","slug":"what-clarion-builds-from-it","depth":2,"children":[]},{"title":"Related agent","slug":"related-agent","depth":2,"children":[]},{"title":"Disconnect","slug":"disconnect","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cantinaclarion","siteName":"Clarion Documentation","title":"Claude Code - Clarion Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-07T08:13:48.420Z","originalFileLocation":"integrations/claude-code.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Ingest OpenTelemetry from your developers\u0026#x27; Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Clarion Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Claude Code - Clarion Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Ingest OpenTelemetry from your developers\u0026#x27; Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Clarion Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clarion.cantina.xyz/integrations/claude-code\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cantinaclarion.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Claude+Code\u0026amp;description=Ingest+OpenTelemetry+from+your+developers%27+Claude+Code+installs+to+govern+MCP+servers%2C+spot+external+accounts%2C+and+catch+credential-shaped+tool+use.\u0026amp;theme=acf182388a58216cbf75eec7\u0026amp;signature=274862a533c9f0b39b737d0cdc31903457784921201cbcefd80306bb012a7243\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Claude Code - Clarion Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Ingest OpenTelemetry from your developers\u0026#x27; Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cantinaclarion.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Claude+Code\u0026amp;description=Ingest+OpenTelemetry+from+your+developers%27+Claude+Code+installs+to+govern+MCP+servers%2C+spot+external+accounts%2C+and+catch+credential-shaped+tool+use.\u0026amp;theme=acf182388a58216cbf75eec7\u0026amp;signature=274862a533c9f0b39b737d0cdc31903457784921201cbcefd80306bb012a7243\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cantinaclarion/4TtPTUcemduXei2N/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Clarion Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#DB4E11\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clarion.cantina.xyz/integrations/claude-code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/claude-code.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.clarion.cantina.xyz/#organization\",\"name\":\"Clarion Documentation\",\"url\":\"https://docs.clarion.cantina.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cantinaclarion/tILrB31zBZWRAUsL/logo/light.svg?fit=max\u0026auto=format\u0026n=tILrB31zBZWRAUsL\u0026q=85\u0026s=7cd5792ab32083df9d5daa0b9dd7ebe9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clarion.cantina.xyz#website\",\"name\":\"Clarion Documentation\",\"url\":\"https://docs.clarion.cantina.xyz\",\"publisher\":{\"@id\":\"https://docs.clarion.cantina.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clarion.cantina.xyz/integrations/claude-code#webpage\",\"url\":\"https://docs.clarion.cantina.xyz/integrations/claude-code\",\"name\":\"Claude Code\",\"description\":\"Ingest OpenTelemetry from your developers' Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.\",\"dateModified\":\"2026-09-07T08:13:48.420Z\",\"isPartOf\":{\"@id\":\"https://docs.clarion.cantina.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clarion.cantina.xyz/integrations/claude-code#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clarion.cantina.xyz/integrations/claude-code#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docs.clarion.cantina.xyz/integrations/1password\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Claude Code\",\"item\":\"https://docs.clarion.cantina.xyz/integrations/claude-code\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.clarion.cantina.xyz/integrations/claude-code#article\",\"headline\":\"Claude Code\",\"name\":\"Claude Code\",\"description\":\"Ingest OpenTelemetry from your developers' Claude Code installs to govern MCP servers, spot external accounts, and catch credential-shaped tool use.\",\"url\":\"https://docs.clarion.cantina.xyz/integrations/claude-code\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clarion.cantina.xyz/integrations/claude-code#webpage\"},\"dateModified\":\"2026-09-07T08:13:48.420Z\",\"publisher\":{\"@id\":\"https://docs.clarion.cantina.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clarion.cantina.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Clarion Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Clarion Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/claude-code.md","siteName":"Clarion Documentation","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Clarion","href":"/introduction"},{"title":"Support","href":"/support"}]},{"group":"Easy ROI","pages":[{"title":"Measuring your ROI","href":"/roi/measuring-roi"},{"title":"Getting the most value","href":"/roi/getting-the-most-value"}]},{"group":"Knowledge Base","pages":[{"title":"Introduction","href":"/knowledge-base/introduction"},{"title":"Getting started","href":"/knowledge-base/getting-started"}]},{"group":"Learn","pages":[{"title":"Introduction","href":"/learn/introduction"},{"title":"Issues","href":"/learn/issues/introduction"},{"group":"Signals","pages":[{"title":"Signals","href":"/learn/signals/introduction"},{"title":"Log queries (KQL)","href":"/learn/signals/log-queries"}]},{"group":"Tasks","pages":[{"title":"Introduction","href":"/learn/tasks/introduction"}]},{"group":"Agents","pages":[{"title":"Introduction","href":"/learn/agents/introduction"},{"title":"Our agents","href":"/learn/agents/our-agents"},{"title":"Creating agents","href":"/learn/agents/creating-agents"},{"title":"Monitors","href":"/learn/agents/monitors"},{"title":"Scheduled \u0026 on-demand runs","href":"/learn/agents/schedules"},{"title":"The Brain","href":"/learn/agents/brain"},{"title":"Models \u0026 runtime","href":"/learn/agents/models"}]},{"group":"Skills","pages":[{"title":"Introduction","href":"/learn/skills/introduction"},{"title":"Our skills","href":"/learn/skills/our-skills"},{"title":"Authoring best practices","href":"/learn/skills/authoring-best-practices"}]},{"group":"Tools","pages":[{"title":"Introduction","href":"/learn/tools/introduction"}]},{"group":"AI Chat","pages":[{"title":"AI chat","href":"/learn/chat/introduction"}]},{"group":"Notifications","pages":[{"title":"Introduction","href":"/learn/notifications/introduction"}]},{"group":"Settings","pages":[{"title":"Introduction","href":"/learn/settings/introduction"},{"title":"Members","href":"/learn/settings/members"},{"title":"Roles \u0026 permissions","href":"/learn/settings/roles"},{"title":"Workspace","href":"/learn/settings/workspace"},{"title":"Agents","href":"/learn/settings/agents"},{"title":"SSO","href":"/learn/settings/sso"},{"title":"MCP access","href":"/learn/settings/mcp-access"}]}]},{"group":"Integrations","pages":[{"title":"1Password","href":"/integrations/1password"},{"title":"Apex","href":"/integrations/apex"},{"group":"AWS","pages":[{"title":"AWS","href":"/integrations/aws"},{"title":"AWS via EventBridge and SNS","href":"/integrations/aws/eventbridge"},{"title":"CloudTrail via existing S3 bucket","href":"/integrations/aws/cloudtrail-s3"}]},{"title":"Better Stack","href":"/integrations/betterstack"},{"title":"Cantina Bug Bounty","description":"Route Cantina bug bounty submissions into Clarion for automatic triage, spam filtering, and remediation PRs.","href":"/integrations/cantina-bbp"},{"title":"Claude Code","href":"/integrations/claude-code"},{"title":"Cloudflare","description":"Connect Cloudflare to Clarion for Cloudflare Notifications webhooks, Logpush detection monitors, and optional API-powered DNS and analytics agent tools.","href":"/integrations/cloudflare"},{"title":"Cloudflare Logpush","href":"/integrations/cloudflare-logpush"},{"title":"Confluence","href":"/integrations/confluence"},{"title":"CrowdStrike Falcon","href":"/integrations/crowdstrike"},{"title":"Custom MCP","href":"/integrations/custom-mcp"},{"title":"Custom toolset (API)","href":"/integrations/custom-toolset"},{"title":"Datadog","href":"/integrations/datadog"},{"title":"Devin","href":"/integrations/devin"},{"title":"DNS Monitor","href":"/integrations/dns"},{"title":"Envoy","href":"/integrations/envoy"},{"title":"Falco","href":"/integrations/falco"},{"title":"Google Cloud","href":"/integrations/gcp"},{"title":"GCP Cloud Logging","href":"/integrations/gcp-cloud-logging"},{"title":"GCP Cloud Monitoring","href":"/integrations/gcp-cloud-monitoring"},{"title":"GCP Security Command Center","href":"/integrations/gcp-security-command-center"},{"title":"Generic Webhook","href":"/integrations/generic-webhook"},{"title":"GitHub","href":"/integrations/github"},{"title":"Google Calendar","href":"/integrations/google-calendar"},{"title":"Google Workspace","href":"/integrations/google-workspace"},{"title":"Grafana","href":"/integrations/grafana"},{"title":"Guardrail","href":"/integrations/guardrail"},{"title":"Halo","href":"/integrations/halo"},{"title":"Hexagate","href":"/integrations/hexagate"},{"title":"Huntress","href":"/integrations/huntress"},{"title":"Hypernative","href":"/integrations/hypernative"},{"title":"incident.io","href":"/integrations/incident-io"},{"title":"Iru","href":"/integrations/iru"},{"title":"Jira","href":"/integrations/jira"},{"title":"JumpCloud","href":"/integrations/jumpcloud"},{"title":"Linear","href":"/integrations/linear"},{"title":"Microsoft Defender XDR","href":"/integrations/microsoft-defender-xdr"},{"title":"Microsoft Entra ID","href":"/integrations/microsoft-entra"},{"title":"Microsoft Sentinel","href":"/integrations/microsoft-sentinel"},{"title":"Microsoft SharePoint","href":"/integrations/microsoft-sharepoint"},{"title":"Microsoft Teams","href":"/integrations/microsoft-teams"},{"title":"NightVision","href":"/integrations/nightvision"},{"title":"NinjaOne","href":"/integrations/ninjaone"},{"title":"Notion","href":"/integrations/notion"},{"title":"Okta","href":"/integrations/okta"},{"title":"OpenClaw","href":"/integrations/openclaw"},{"title":"PagerDuty","href":"/integrations/pagerduty"},{"title":"Pylon","href":"/integrations/pylon"},{"title":"Replit","href":"/integrations/replit"},{"title":"SentinelOne","href":"/integrations/sentinelone"},{"title":"Slack","href":"/integrations/slack"},{"title":"Splunk","href":"/integrations/splunk"},{"title":"Status Page","href":"/integrations/status-page"},{"title":"Supabase","href":"/integrations/supabase"},{"title":"Swif","href":"/integrations/swif"},{"title":"Tailscale","href":"/integrations/tailscale"},{"title":"Telegram Notifications","href":"/integrations/telegram"},{"title":"Telegram Chats","href":"/integrations/telegram-chats"},{"title":"Tenderly","href":"/integrations/tenderly"},{"group":"Threat Intel","pages":[{"title":"Threat Intel","href":"/integrations/threat-intel"},{"title":"Threat Intel webhook","href":"/integrations/threat-intel/webhook"},{"title":"RSS Feed","href":"/integrations/threat-intel/rss-feed"}]},{"title":"Twilio (SMS \u0026 phone)","href":"/integrations/twilio"},{"title":"Vanta","href":"/integrations/vanta"},{"title":"Vercel","href":"/integrations/vercel"},{"title":"Wiz","href":"/integrations/wiz"},{"title":"Zscaler","href":"/integrations/zscaler"}]},{"group":"Privacy \u0026 Legal","pages":[{"title":"Clarion Terms of Service","href":"/terms"},{"title":"Clarion Privacy \u0026 Legal Disclosures","href":"/legal"}]}]},"basePath":"","title":"Claude Code - Clarion Documentation","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}