Use it to inspect clusters, workloads, logs, alerts, and related platform data from an MCP client. Write access can also apply changes through Ankra’s agent tools, and lets your client work AI board tickets alongside Ankra’s own agents - see Work the AI board with your own agent.
Read-only platform tools only: a read token changes nothing
mcp:write
The read surface plus mutating tools such as apply, scale, delete, and pull request creation
mcp:write implies read access. When creating a write token in the portal, Ankra selects both scopes.
MCP clients own the confirmation experience. Ankra does not show a second server-side confirmation prompt before a write tool runs. Only grant mcp:write to clients you trust.
MCP-scoped tokens work only with the MCP endpoint and stay bound to the organisation selected when the token was created. They cannot call Ankra’s REST API or override their organisation.
Restart or refresh MCP servers in Cursor after saving the configuration. Ankra then appears as an available MCP server with tools filtered by the token’s scopes.
Keep personal tokens out of shared project configuration. Use a user-level MCP configuration or a local file that is excluded from version control.
Claude connects to Ankra over OAuth, so you do not need to create or copy a token first. Where you add the connection depends on which Claude you use:
Claude web and desktop apps - add Ankra as a custom connector in Settings.
Claude Code (the terminal client) - add Ankra with the claude mcp add command.
Claude web and desktop
Claude Code
Custom connectors require a paid Claude plan. On Team and Enterprise plans an owner may need to add the connector for the organisation.
1
Open the Connectors settings
In Claude, select your profile icon in the bottom left corner, then Settings. In the settings sidebar, select Connectors under the Customize heading. You see a list of available connectors such as Slack and Gmail - Ankra is not in this list yet, which is why you add it as a custom connector.
2
Add a custom connector
Select the Add button in the top right of the Connectors page, then select Add custom connector from the menu.
The Add menu in the top right of Claude's Connectors settings
3
Enter the Ankra server details
In the Add custom connector dialog, enter Ankra as the name and this URL in the Remote MCP server URL field:
https://platform.ankra.app/api/v1/mcp
Leave the OAuth Client ID and OAuth Client Secret fields under Advanced settings empty - Ankra does not need them. Then select Add.
The completed Add custom connector dialog
4
Connect and sign in to Ankra
Ankra now appears in your connector list with a Connect button. Select it. Claude opens Ankra’s OAuth consent page in a new window - sign in to Ankra if you are not signed in already, select the organisation the connection should use, review the requested mcp:read or mcp:write access, then approve the connection. Claude then shows Ankra as connected.
5
Enable Ankra in a chat
Open a new chat and select the tools menu (the sliders icon below the message box). Check that Ankra is listed and enabled. To verify the connection works end to end, ask Claude to list your Ankra clusters - it should call the list_clusters tool and return the clusters in your organisation.
1
Add the server
Run this once from your terminal:
claude mcp add --transport http ankra https://platform.ankra.app/api/v1/mcp
This registers the server for your user in the current project. Add --scope user to make it available in every project.
2
Authenticate
Start Claude Code and run the /mcp command. It lists every configured MCP server with its connection status - ankra shows as needing authentication. Select it, then choose Authenticate. Your browser opens Ankra’s OAuth consent page - sign in, select the organisation, review the requested access, then approve the connection and return to the terminal.
3
Verify the connection
Run /mcp again and confirm that ankra shows as connected. Then ask Claude Code to list your Ankra clusters - it should call the list_clusters tool and return the clusters in your organisation.
If you prefer a long-lived token over OAuth, create an MCP token and register the server with an authorisation header instead:
By default, Ankra issues a seven-day MCP-only token to the client. The flow uses OAuth 2.1 authorization code with PKCE. No client secret or refresh token is issued, so when the grant expires, reconnect: select Connect on the Ankra connector in Claude’s Connectors settings, or run /mcp and authenticate again in Claude Code.
The MCP Tool Reference lists the tools with the scope each requires and whether it needs a cluster_id.
tools/list only returns tools allowed by the token.
Cluster-scoped tools require a cluster_id. Call list_clusters to discover IDs.
Ankra verifies that the cluster belongs to the token’s organisation and project before dispatch. An MCP token minted while the organisation has projects is pinned to the project it was created in, and an older one is not pinned and does not follow switches (see Tokens and projects); list_projects and get_current_project say where it acts.
Draft-only chat tools are not available over MCP.
Parameters that look like they carry a literal secret are refused before a mutating tool runs.
Tool calls are rate limited per token: 120 read calls and 20 write calls per minute. Write calls also use a fail-closed platform write limit.
Every resolved tool call, including refused calls, is written to the organisation audit log.
MCP is stateless: each tools/call is one request with nothing parked between calls. Three consequences follow, and the server’s instructions field repeats them to the model on initialize.
Every call has a 55-second deadline. A call that outruns it answers isError with a timeout. A mutating call that had already started is not undone by that timeout, so read the target’s state before repeating a write.
Writes that start platform work do not wait for it. Tools such as apply_stack_changes, upgrade_cluster or update_node_group answer at once with an operation_id (or a live_status_hint naming the id to poll). Call wait_for_execution with that id to block for up to 50 seconds and receive the settled execution, or timed_out: true with the last observed step summary; call it again to keep waiting. get_execution_details reads the same document without waiting.
Confirmation cards do not exist over MCP. A tool that raises a confirmation card in the Ankra chat executes directly here when the token holds mcp:write: the token scope is the approval. apply_stack_changes applies the stack draft the token last edited, so keep one client per token while editing a draft and pass stack_name on every apply.
A call can act under a Launch Plan approval. Put the approval’s id in the call’s _meta as "ankra/launch_plan_approval_id". The write then runs only if it is one of the actions you approved, the approval is yours, it has not expired or been revoked, and the plan has not changed since you approved it. Each approved action runs once. Any other call naming the approval is refused, and nothing runs.
Everything the tools read and change is also visible in the Ankra portal, and the server’s instructions ask the model to give you a portal link when it reports on a resource, finishes a change, or asks you to review or approve something in the UI.
list_clusters and get_cluster_details return each cluster’s portal_url.
get_portal_url returns the link for any other page - a cluster’s stacks, add-ons, operations or nodes, one pod or Deployment, an application, a pipeline run, a stack profile, an AI ticket, an alert, a CVE, credentials, tokens or settings. It is read-only, so an mcp:read token can call it.
Links carry the organisation as ?org= and the project as ?project=, so one opened while another organisation or project is selected offers to switch.
Portal URLs lists every page and how its address is built, if you want to point your own agents or runbooks at them.
The token is missing, expired, revoked, or copied incorrectly. Create a new MCP token and update the client. For Claude clients connected with OAuth this usually means the seven-day grant expired - reconnect the Ankra connector in Claude’s settings, or run /mcp and authenticate again in Claude Code.
Claude reports “Couldn’t register with Ankra’s sign-in service”
Claude could not reach Ankra’s OAuth discovery endpoints, so it could not register itself as an OAuth client. This is a platform-side routing problem, not a mistake in your connector configuration - the server URL field only accepts the MCP endpoint, and no OAuth Client ID is needed. Ask your Ankra administrator to confirm that /oauth/ and the /.well-known/oauth-* discovery paths on the platform host route to the API service, then select Connect on the Ankra connector again.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ankra","colors":{"primary":"#5d64ff","light":"#5d64ff","dark":"#3f48b2"},"logo":{"light":"https://mintcdn.com/ankra/uW749bPYey14eJsU/logo/light.svg?fit=max\u0026auto=format\u0026n=uW749bPYey14eJsU\u0026q=85\u0026s=7f48236f76559638a5a154da424c91d6","dark":"https://mintcdn.com/ankra/uW749bPYey14eJsU/logo/dark.svg?fit=max\u0026auto=format\u0026n=uW749bPYey14eJsU\u0026q=85\u0026s=4e4b278d2d7c90f2c8ff4ac9cc95c78a","href":"https://ankra.ai"},"favicon":"https://mintcdn.com/ankra/uW749bPYey14eJsU/favicon.ico?fit=max\u0026auto=format\u0026n=uW749bPYey14eJsU\u0026q=85\u0026s=68fd8c280641a74d9a2171dfa7b39219","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["python","javascript","curl"]},"mdx":{"auth":{"method":"bearer"}}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Platform","href":"https://platform.ankra.app"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/ankra","github":"https://github.com/ankraio","slack":"https://join.slack.com/t/ankra-community/shared_invite/zt-3a5rem8f8-cUho4epX2MoLT83bFf~VSA"}},"seo":{"metatags":{"og:site_name":"Ankra"}},"integrations":{"posthog":{"apiKey":"phc_c1cRSlsPgqJH5IGiQYzk40R91jQxf2e3ZaZVwO5e6OM","apiHost":"https://eu.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/ankra-community/shared_invite/zt-3a5rem8f8-cUho4epX2MoLT83bFf~VSA"},{"anchor":"Youtube","icon":"youtube","href":"https://www.youtube.com/@ankraio"},{"anchor":"Blog","icon":"newspaper","href":"https://www.ankra.ai/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ankra","hasAudioNarration":false,"actualSubdomain":"ankra","customDomains":["docs.ankra.ai"],"gitSource":{"type":"github","owner":"ankraio","repo":"ankra-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aefbb8fb93b81b558ebda38","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1665},{"language":"default","tag":"Endpoints","count":1664},{"language":"default","tag":"Documentation","count":264},{"language":"default","tag":"Applications","count":158},{"language":"default","tag":"Security","count":125},{"language":"default","tag":"Scaleway Clusters","count":99},{"language":"default","tag":"Ankra Cloud Clusters","count":98},{"language":"default","tag":"AWS Clusters","count":97},{"language":"default","tag":"Services","count":72},{"language":"default","tag":"Stack Profiles","count":65}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"llms-txt-v2","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"platform/mcp-server","slug":"/platform/mcp-server","pageMetadata":{"title":"MCP Server","description":"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.","href":"/platform/mcp-server"},"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: \"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.\"\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];const CliVersion=({since,command,note})=>{const _components={a:`a`,..._provideComponents()};const latestStableCli=`0.72.0`;const parse=version=>String(version).split(`.`).map(part=>parseInt(part,10)||0);const requested=parse(since);const stable=parse(latestStableCli);let isPrerelease=false;for(let index=0;index\u003c3;index+=1){if(requested[index]>stable[index]){isPrerelease=true;break}if(requested[index]\u003cstable[index]){break}}const containerStyle={display:`flex`,alignItems:`baseline`,gap:`0.6rem`,margin:`1rem 0`,padding:`0.6rem 0.9rem`,border:`1px solid rgba(128, 128, 128, 0.35)`,borderRadius:`0.5rem`,fontSize:`0.9em`,lineHeight:1.5};const pillStyle={flex:`none`,padding:`0.1rem 0.5rem`,borderRadius:`999px`,background:`rgba(128, 128, 128, 0.18)`,fontFamily:`ui-monospace, SFMono-Regular, Menlo, monospace`,fontSize:`0.85em`,fontWeight:600,whiteSpace:`nowrap`};const keepTogether={whiteSpace:`nowrap`};return _jsxs(`div`,{style:containerStyle,\"data-cli-version\":since,children:[_jsxs(`span`,{style:pillStyle,children:[`CLI v`,since,`+`]}),_jsxs(`span`,{children:[command?_jsxs(`span`,{children:[_jsx(`span`,{style:keepTogether,children:_jsxs(`code`,{children:[`ankra `,command]})}),` `,`needs`]}):_jsx(`span`,{children:`The commands on this page need`}),` `,`the ankra CLI `,_jsxs(`strong`,{style:keepTogether,children:[`v`,since,` or later`]}),isPrerelease?_jsxs(`span`,{children:[` `,`- a pre-release today, so enable the`,` `,_jsx(_components.a,{href:`/integrations/ankra-cli#beta-pre-release-channel`,children:`beta channel`}),` before upgrading`]}):null,`. Check yours with`,` `,_jsx(`span`,{style:keepTogether,children:_jsx(`code`,{children:`ankra --version`})}),`; `,_jsx(_components.a,{href:`/integrations/ankra-cli#upgrading-the-cli`,children:`upgrade`}),` with`,` `,_jsx(`span`,{style:keepTogether,children:_jsx(`code`,{children:`ankra upgrade`})}),`.`,note?_jsxs(`span`,{children:[` `,note]}):null]})]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Tab,Table,Tabs,Tip,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Ankra exposes a remote `,_jsx(_components.a,{href:`https://modelcontextprotocol.io/`,children:`Model Context Protocol`}),` server at:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://platform.ankra.app/api/v1/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Use it to inspect clusters, workloads, logs, alerts, and related platform data from an MCP client. Write access can also apply changes through Ankra’s agent tools, and lets your client work `,_jsx(_components.a,{href:`/platform/ai-board`,children:`AI board`}),` tickets alongside Ankra’s own agents - see `,_jsx(_components.a,{href:`/guides/board-own-agent`,children:`Work the AI board with your own agent`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-an-access-scope`,children:`Choose an Access Scope`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Scope`}),_jsx(_components.th,{children:`Access`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mcp:read`})}),_jsx(_components.td,{children:`Read-only platform tools only: a read token changes nothing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mcp:write`})}),_jsx(_components.td,{children:`The read surface plus mutating tools such as apply, scale, delete, and pull request creation`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`mcp:write`}),` implies read access. When creating a write token in the portal, Ankra selects both scopes.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`MCP clients own the confirmation experience. Ankra does not show a second server-side confirmation prompt before a write tool runs. Only grant `,_jsx(_components.code,{children:`mcp:write`}),` to clients you trust.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`create-an-mcp-token`,children:`Create an MCP Token`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Ankra Platform`,id:`ankra-platform`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Open API Tokens`,children:_jsxs(_components.p,{children:[`Open your profile, select `,_jsx(_components.strong,{children:`API Tokens`}),`, then select `,_jsx(_components.strong,{children:`Add Token`}),`.`]})}),_jsx(Step,{title:`Choose MCP access`,children:_jsxs(_components.p,{children:[`Enter a descriptive name and select `,_jsx(_components.strong,{children:`mcp:read`}),`. Select `,_jsx(_components.strong,{children:`mcp:write`}),` only if the client needs to change resources.`]})}),_jsx(Step,{title:`Copy the token`,children:_jsx(_components.p,{children:`Copy the generated token immediately and store it securely. Ankra only shows it once.`})})]})}),_jsxs(Tab,{title:`Ankra CLI`,id:`ankra-cli`,children:[_jsx(_components.p,{children:`Create a read-only token:`}),_jsx(_MdxComponentBoundary,{name:`CliVersion`,children:_jsx(CliVersion,{since:`0.6.0`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ankra`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tokens`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --scopes`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp:read`})]}),`\n`]})})}),_jsx(_components.p,{children:`Create a token with read and write access:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ankra`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tokens`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --scopes`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp:read,mcp:write`})]}),`\n`]})})})]})]}),`\n`,_jsx(_components.p,{children:`MCP-scoped tokens work only with the MCP endpoint and stay bound to the organisation selected when the token was created. They cannot call Ankra’s REST API or override their organisation.`}),`\n`,_jsx(Heading,{level:`2`,id:`connect-cursor`,children:`Connect Cursor`}),`\n`,_jsx(_components.p,{children:`Add Ankra to your Cursor MCP configuration:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"mcpServers\"`}),_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:` \"ankra\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://platform.ankra.app/api/v1/mcp\"`}),_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:` \"headers\"`}),_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:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003cankra-token>\"`})]}),`\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`,_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:`Restart or refresh MCP servers in Cursor after saving the configuration. Ankra then appears as an available MCP server with tools filtered by the token’s scopes.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Keep personal tokens out of shared project configuration. Use a user-level MCP configuration or a local file that is excluded from version control.`})}),`\n`,_jsx(Heading,{level:`2`,id:`connect-claude-with-oauth`,children:`Connect Claude with OAuth`}),`\n`,_jsx(_components.p,{children:`Claude connects to Ankra over OAuth, so you do not need to create or copy a token first. Where you add the connection depends on which Claude you use:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Claude web and desktop apps`}),` - add Ankra as a custom connector in Settings.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Claude Code`}),` (the terminal client) - add Ankra with the `,_jsx(_components.code,{children:`claude mcp add`}),` command.`]}),`\n`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Claude web and desktop`,id:`claude-web-and-desktop`,children:[_jsx(_components.p,{children:`Custom connectors require a paid Claude plan. On Team and Enterprise plans an owner may need to add the connector for the organisation.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Open the Connectors settings`,children:_jsxs(_components.p,{children:[`In Claude, select your profile icon in the bottom left corner, then `,_jsx(_components.strong,{children:`Settings`}),`. In the settings sidebar, select `,_jsx(_components.strong,{children:`Connectors`}),` under the `,_jsx(_components.strong,{children:`Customize`}),` heading. You see a list of available connectors such as Slack and Gmail - Ankra is not in this list yet, which is why you add it as a custom connector.`]})}),_jsxs(Step,{title:`Add a custom connector`,children:[_jsxs(_components.p,{children:[`Select the `,_jsx(_components.strong,{children:`Add`}),` button in the top right of the Connectors page, then select `,_jsx(_components.strong,{children:`Add custom connector`}),` from the menu.`]}),_jsx(Frame,{caption:`The Add menu in the top right of Claude's Connectors settings`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-add-connector-menu.png?fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=95633216e834947a2405549e5255db77`,alt:`Claude Connectors settings with the Add menu open, showing Browse connectors and Add custom connector`,\"data-og-width\":`1031`,width:`1031`,\"data-og-height\":`775`,height:`775`,\"data-path\":`images/mcp-claude-add-connector-menu.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-add-connector-menu.png?w=280\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=f1fb84ed2ac1cc6025a726f90c643b51 280w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-add-connector-menu.png?w=560\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=d5e234b30ab14b31c8cd3fd18ef8a001 560w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-add-connector-menu.png?w=840\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=5b8ebd8121fc26db041b769dbab2898b 840w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-add-connector-menu.png?w=1100\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=34ade44fb3e1246e6de6496de1738238 1100w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-add-connector-menu.png?w=1650\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=18d50cc09e5777394a0efc5ab433f7c6 1650w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-add-connector-menu.png?w=2500\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=80d7b2a17649c8c4e0dd81cfbf968cf7 2500w`})})]}),_jsxs(Step,{title:`Enter the Ankra server details`,children:[_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Add custom connector`}),` dialog, enter `,_jsx(_components.code,{children:`Ankra`}),` as the name and this URL in the `,_jsx(_components.strong,{children:`Remote MCP server URL`}),` field:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://platform.ankra.app/api/v1/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Leave the `,_jsx(_components.strong,{children:`OAuth Client ID`}),` and `,_jsx(_components.strong,{children:`OAuth Client Secret`}),` fields under Advanced settings empty - Ankra does not need them. Then select `,_jsx(_components.strong,{children:`Add`}),`.`]}),_jsx(Frame,{caption:`The completed Add custom connector dialog`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-custom-connector-dialog.png?fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=59009613da3e8b6b709b95ca9b78dc01`,alt:`Claude Add custom connector dialog filled in with the name Ankra and the Ankra MCP server URL`,\"data-og-width\":`982`,width:`982`,\"data-og-height\":`737`,height:`737`,\"data-path\":`images/mcp-claude-custom-connector-dialog.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-custom-connector-dialog.png?w=280\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=12138ebcae14a716863fbb78f00383fa 280w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-custom-connector-dialog.png?w=560\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=e09232df9322030fc953821f950146b0 560w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-custom-connector-dialog.png?w=840\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=69e03272a46cdf3fb595e2c9c0263e7f 840w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-custom-connector-dialog.png?w=1100\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=1046fc6e351222f8ed4deff518986ae6 1100w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-custom-connector-dialog.png?w=1650\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=f857126c3d8e4bed462c03b711e51ce0 1650w, https://mintcdn.com/ankra/-eNKDu16kjR2YgJe/images/mcp-claude-custom-connector-dialog.png?w=2500\u0026fit=max\u0026auto=format\u0026n=-eNKDu16kjR2YgJe\u0026q=85\u0026s=2a6b758bfa67643ca7ee70cf6f8fbfe4 2500w`})})]}),_jsx(Step,{title:`Connect and sign in to Ankra`,children:_jsxs(_components.p,{children:[`Ankra now appears in your connector list with a `,_jsx(_components.strong,{children:`Connect`}),` button. Select it. Claude opens Ankra’s OAuth consent page in a new window - sign in to Ankra if you are not signed in already, select the organisation the connection should use, review the requested `,_jsx(_components.code,{children:`mcp:read`}),` or `,_jsx(_components.code,{children:`mcp:write`}),` access, then approve the connection. Claude then shows Ankra as connected.`]})}),_jsx(Step,{title:`Enable Ankra in a chat`,children:_jsxs(_components.p,{children:[`Open a new chat and select the tools menu (the sliders icon below the message box). Check that `,_jsx(_components.strong,{children:`Ankra`}),` is listed and enabled. To verify the connection works end to end, ask Claude to list your Ankra clusters - it should call the `,_jsx(_components.code,{children:`list_clusters`}),` tool and return the clusters in your organisation.`]})})]})]}),_jsxs(Tab,{title:`Claude Code`,id:`claude-code`,children:[_jsxs(Steps,{children:[_jsxs(Step,{title:`Add the server`,children:[_jsx(_components.p,{children:`Run this once from your terminal:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ankra`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://platform.ankra.app/api/v1/mcp`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`This registers the server for your user in the current project. Add `,_jsx(_components.code,{children:`--scope user`}),` to make it available in every project.`]})]}),_jsx(Step,{title:`Authenticate`,children:_jsxs(_components.p,{children:[`Start Claude Code and run the `,_jsx(_components.code,{children:`/mcp`}),` command. It lists every configured MCP server with its connection status - `,_jsx(_components.strong,{children:`ankra`}),` shows as needing authentication. Select it, then choose `,_jsx(_components.strong,{children:`Authenticate`}),`. Your browser opens Ankra’s OAuth consent page - sign in, select the organisation, review the requested access, then approve the connection and return to the terminal.`]})}),_jsx(Step,{title:`Verify the connection`,children:_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`/mcp`}),` again and confirm that `,_jsx(_components.strong,{children:`ankra`}),` shows as connected. Then ask Claude Code to list your Ankra clusters - it should call the `,_jsx(_components.code,{children:`list_clusters`}),` tool and return the clusters in your organisation.`]})})]}),_jsxs(_components.p,{children:[`If you prefer a long-lived token over OAuth, create an `,_jsx(_components.a,{href:`#create-an-mcp-token`,children:`MCP token`}),` and register the server with an authorisation header instead:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ankra`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://platform.ankra.app/api/v1/mcp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003cyour-token>\"`})]}),`\n`]})})})]})]}),`\n`,_jsxs(_components.p,{children:[`By default, Ankra issues a seven-day MCP-only token to the client. The flow uses OAuth 2.1 authorization code with PKCE. No client secret or refresh token is issued, so when the grant expires, reconnect: select `,_jsx(_components.strong,{children:`Connect`}),` on the Ankra connector in Claude’s Connectors settings, or run `,_jsx(_components.code,{children:`/mcp`}),` and authenticate again in Claude Code.`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-tool-access-works`,children:`How Tool Access Works`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/platform/mcp-tools`,children:`MCP Tool Reference`}),` lists the tools with the scope each requires and whether it needs a `,_jsx(_components.code,{children:`cluster_id`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tools/list`}),` only returns tools allowed by the token.`]}),`\n`,_jsxs(_components.li,{children:[`Cluster-scoped tools require a `,_jsx(_components.code,{children:`cluster_id`}),`. Call `,_jsx(_components.code,{children:`list_clusters`}),` to discover IDs.`]}),`\n`,_jsxs(_components.li,{children:[`Ankra verifies that the cluster belongs to the token’s organisation and `,_jsx(_components.a,{href:`/concepts/projects`,children:`project`}),` before dispatch. An MCP token minted while the organisation has projects is pinned to the project it was created in, and an older one is not pinned and does not follow switches (see `,_jsx(_components.a,{href:`/concepts/projects#tokens-and-projects`,children:`Tokens and projects`}),`); `,_jsx(_components.code,{children:`list_projects`}),` and `,_jsx(_components.code,{children:`get_current_project`}),` say where it acts.`]}),`\n`,_jsx(_components.li,{children:`Draft-only chat tools are not available over MCP.`}),`\n`,_jsx(_components.li,{children:`Parameters that look like they carry a literal secret are refused before a mutating tool runs.`}),`\n`,_jsx(_components.li,{children:`Tool calls are rate limited per token: 120 read calls and 20 write calls per minute. Write calls also use a fail-closed platform write limit.`}),`\n`,_jsx(_components.li,{children:`Every resolved tool call, including refused calls, is written to the organisation audit log.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-calls-behave`,children:`How Calls Behave`}),`\n`,_jsxs(_components.p,{children:[`MCP is stateless: each `,_jsx(_components.code,{children:`tools/call`}),` is one request with nothing parked between calls. Three consequences follow, and the server’s `,_jsx(_components.code,{children:`instructions`}),` field repeats them to the model on `,_jsx(_components.code,{children:`initialize`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Every call has a 55-second deadline.`}),` A call that outruns it answers `,_jsx(_components.code,{children:`isError`}),` with a timeout. A mutating call that had already started is not undone by that timeout, so read the target’s state before repeating a write.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Writes that start platform work do not wait for it.`}),` Tools such as `,_jsx(_components.code,{children:`apply_stack_changes`}),`, `,_jsx(_components.code,{children:`upgrade_cluster`}),` or `,_jsx(_components.code,{children:`update_node_group`}),` answer at once with an `,_jsx(_components.code,{children:`operation_id`}),` (or a `,_jsx(_components.code,{children:`live_status_hint`}),` naming the id to poll). Call `,_jsx(_components.code,{children:`wait_for_execution`}),` with that id to block for up to 50 seconds and receive the settled execution, or `,_jsx(_components.code,{children:`timed_out: true`}),` with the last observed step summary; call it again to keep waiting. `,_jsx(_components.code,{children:`get_execution_details`}),` reads the same document without waiting.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Confirmation cards do not exist over MCP.`}),` A tool that raises a confirmation card in the Ankra chat executes directly here when the token holds `,_jsx(_components.code,{children:`mcp:write`}),`: the token scope is the approval. `,_jsx(_components.code,{children:`apply_stack_changes`}),` applies the stack draft the token last edited, so keep one client per token while editing a draft and pass `,_jsx(_components.code,{children:`stack_name`}),` on every apply.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A call can act under a Launch Plan approval.`}),` Put the approval’s id in the call’s `,_jsx(_components.code,{children:`_meta`}),` as `,_jsx(_components.code,{children:`\"ankra/launch_plan_approval_id\"`}),`. The write then runs only if it is one of the actions you approved, the approval is yours, it has not expired or been revoked, and the plan has not changed since you approved it. Each approved action runs once. Any other call naming the approval is refused, and nothing runs.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`links-to-the-portal`,children:`Links to the Portal`}),`\n`,_jsxs(_components.p,{children:[`Everything the tools read and change is also visible in the Ankra portal, and the server’s `,_jsx(_components.code,{children:`instructions`}),` ask the model to give you a portal link when it reports on a resource, finishes a change, or asks you to review or approve something in the UI.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`list_clusters`}),` and `,_jsx(_components.code,{children:`get_cluster_details`}),` return each cluster’s `,_jsx(_components.code,{children:`portal_url`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`get_portal_url`}),` returns the link for any other page - a cluster’s stacks, add-ons, operations or nodes, one pod or Deployment, an application, a pipeline run, a stack profile, an AI ticket, an alert, a CVE, credentials, tokens or settings. It is read-only, so an `,_jsx(_components.code,{children:`mcp:read`}),` token can call it.`]}),`\n`,_jsxs(_components.li,{children:[`Links carry the organisation as `,_jsx(_components.code,{children:`?org=`}),` and the project as `,_jsx(_components.code,{children:`?project=`}),`, so one opened while another organisation or project is selected offers to switch.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/platform/portal-urls`,children:`Portal URLs`}),` lists every page and how its address is built, if you want to point your own agents or runbooks at them.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`401-invalid-or-missing-bearer-token`,children:`401 Invalid or missing bearer token`}),`\n`,_jsxs(_components.p,{children:[`The token is missing, expired, revoked, or copied incorrectly. Create a new MCP token and update the client. For Claude clients connected with OAuth this usually means the seven-day grant expired - reconnect the Ankra connector in Claude’s settings, or run `,_jsx(_components.code,{children:`/mcp`}),` and authenticate again in Claude Code.`]}),`\n`,_jsx(Heading,{level:`3`,id:`403-token-has-no-mcp-scope`,children:`403 Token has no MCP scope`}),`\n`,_jsxs(_components.p,{children:[`The token is REST-only. Recreate it with `,_jsx(_components.code,{children:`mcp:read`}),` or `,_jsx(_components.code,{children:`mcp:read,mcp:write`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`claude-reports-“couldn’t-register-with-ankra’s-sign-in-service”`,children:`Claude reports “Couldn’t register with Ankra’s sign-in service”`}),`\n`,_jsxs(_components.p,{children:[`Claude could not reach Ankra’s OAuth discovery endpoints, so it could not register itself as an OAuth client. This is a platform-side routing problem, not a mistake in your connector configuration - the server URL field only accepts the MCP endpoint, and no OAuth Client ID is needed. Ask your Ankra administrator to confirm that `,_jsx(_components.code,{children:`/oauth/`}),` and the `,_jsx(_components.code,{children:`/.well-known/oauth-*`}),` discovery paths on the platform host route to the API service, then select `,_jsx(_components.strong,{children:`Connect`}),` on the Ankra connector again.`]}),`\n`,_jsx(Heading,{level:`3`,id:`403-origin-not-allowed`,children:`403 Origin not allowed`}),`\n`,_jsx(_components.p,{children:`A browser-based client is calling from an origin that Ankra does not allow. Contact your Ankra administrator to review the configured origins.`}),`\n`,_jsx(Heading,{level:`3`,id:`a-tool-reports-that-it-needs-mcpwrite`,children:`A tool reports that it needs mcp:write`}),`\n`,_jsx(_components.p,{children:`The requested tool changes state and is outside the read surface. Use a write-scoped token only if the client should make that change.`}),`\n`,_jsx(Heading,{level:`3`,id:`a-tool-reports-a-rate-limit`,children:`A tool reports a rate limit`}),`\n`,_jsx(_components.p,{children:`Wait one minute and retry. If normal usage regularly reaches the limit, ask your Ankra administrator to review the MCP rate limits.`}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/reference/tokens`,children:`API Tokens`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/board-own-agent`,children:`Work the AI board with your own agent`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/platform/portal-urls`,children:`Portal URLs`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/platform/ai-provider`,children:`AI Provider`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/integrations/hermes`,children:`Hermes Integration`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{CliVersion,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":"MCP Server","description":"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.","href":"/platform/mcp-server"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[146,2060,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Choose an Access Scope","slug":"choose-an-access-scope","depth":2,"children":[]},{"title":"Create an MCP Token","slug":"create-an-mcp-token","depth":2,"children":[]},{"title":"Connect Cursor","slug":"connect-cursor","depth":2,"children":[]},{"title":"Connect Claude with OAuth","slug":"connect-claude-with-oauth","depth":2,"children":[]},{"title":"How Tool Access Works","slug":"how-tool-access-works","depth":2,"children":[]},{"title":"How Calls Behave","slug":"how-calls-behave","depth":2,"children":[]},{"title":"Links to the Portal","slug":"links-to-the-portal","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"401 Invalid or missing bearer token","slug":"401-invalid-or-missing-bearer-token","depth":3,"children":[]},{"title":"403 Token has no MCP scope","slug":"403-token-has-no-mcp-scope","depth":3,"children":[]},{"title":"Claude reports “Couldn’t register with Ankra’s sign-in service”","slug":"claude-reports-“couldn’t-register-with-ankra’s-sign-in-service”","depth":3,"children":[]},{"title":"403 Origin not allowed","slug":"403-origin-not-allowed","depth":3,"children":[]},{"title":"A tool reports that it needs mcp:write","slug":"a-tool-reports-that-it-needs-mcpwrite","depth":3,"children":[]},{"title":"A tool reports a rate limit","slug":"a-tool-reports-a-rate-limit","depth":3,"children":[]}]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ankra","siteName":"Ankra","title":"MCP Server - Ankra","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T00:01:01.605Z","originalFileLocation":"platform/mcp-server.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=\"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ankra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ankra/POmNwpWKiefNAN49/_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/ankra/POmNwpWKiefNAN49/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ankra/POmNwpWKiefNAN49/_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/ankra/POmNwpWKiefNAN49/_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/ankra/POmNwpWKiefNAN49/_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/ankra/POmNwpWKiefNAN49/_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/ankra/POmNwpWKiefNAN49/_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/ankra/POmNwpWKiefNAN49/_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/ankra/POmNwpWKiefNAN49/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"MCP Server - Ankra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ankra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ankra.ai/platform/mcp-server\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ankra.mintlify.site/_mintlify/api/og/v2?division=Connect+Tools\u0026amp;title=MCP+Server\u0026amp;description=Connect+Cursor%2C+Claude%2C+and+other+MCP+clients+to+Ankra+with+scoped+access+to+platform+tools.\u0026amp;theme=ef4c4736068bff3e3be2924d\u0026amp;signature=5c3c76386cfd7549afaf7e8f9eb947240017b70d6567d2e4c593374d5392f713\">\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=\"MCP Server - Ankra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ankra.mintlify.site/_mintlify/api/og/v2?division=Connect+Tools\u0026amp;title=MCP+Server\u0026amp;description=Connect+Cursor%2C+Claude%2C+and+other+MCP+clients+to+Ankra+with+scoped+access+to+platform+tools.\u0026amp;theme=ef4c4736068bff3e3be2924d\u0026amp;signature=5c3c76386cfd7549afaf7e8f9eb947240017b70d6567d2e4c593374d5392f713\">\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/ankra/POmNwpWKiefNAN49/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ankra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5d64ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ankra.ai/platform/mcp-server\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/platform/mcp-server.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ankra.ai/#organization\",\"name\":\"Ankra\",\"url\":\"https://docs.ankra.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ankra/uW749bPYey14eJsU/logo/light.svg?fit=max\u0026auto=format\u0026n=uW749bPYey14eJsU\u0026q=85\u0026s=7f48236f76559638a5a154da424c91d6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ankra.ai#website\",\"name\":\"Ankra\",\"url\":\"https://docs.ankra.ai\",\"publisher\":{\"@id\":\"https://docs.ankra.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ankra.ai/platform/mcp-server#webpage\",\"url\":\"https://docs.ankra.ai/platform/mcp-server\",\"name\":\"MCP Server\",\"description\":\"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.\",\"dateModified\":\"2026-11-08T00:01:01.605Z\",\"isPartOf\":{\"@id\":\"https://docs.ankra.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ankra.ai/platform/mcp-server#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ankra.ai/platform/mcp-server#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connect Tools\",\"item\":\"https://docs.ankra.ai/integrations/ankra-cli\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MCP Server\",\"item\":\"https://docs.ankra.ai/platform/mcp-server\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ankra.ai/platform/mcp-server#article\",\"headline\":\"MCP Server\",\"name\":\"MCP Server\",\"description\":\"Connect Cursor, Claude, and other MCP clients to Ankra with scoped access to platform tools.\",\"url\":\"https://docs.ankra.ai/platform/mcp-server\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ankra.ai/platform/mcp-server#webpage\"},\"dateModified\":\"2026-11-08T00:01:01.605Z\",\"publisher\":{\"@id\":\"https://docs.ankra.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ankra.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ankra\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ankra","nav":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/ankra-community/shared_invite/zt-3a5rem8f8-cUho4epX2MoLT83bFf~VSA"},{"anchor":"Youtube","icon":"youtube","href":"https://www.youtube.com/@ankraio"},{"anchor":"Blog","icon":"newspaper","href":"https://www.ankra.ai/blog"}]},"tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Guided Setup","href":"/get-started/guided-setup"},{"title":"Get started with Ankra CI","sidebarTitle":"Get started with Ankra CI","href":"/get-started/ankra-ci"},{"title":"Add a Cluster","href":"/guides/import-cluster"},{"title":"Playground","href":"/guides/cluster-sandbox"}]},{"group":"Use Cases","pages":[{"title":"Production Multi-Cluster Platform","href":"/use-cases/production-multi-cluster-platform"},{"title":"From Prompt and Code to Production","href":"/use-cases/from-prompt-and-code-to-production"},{"title":"Prompt to Production","href":"/use-cases/prompt-to-production"},{"title":"Lovable to Ankra","href":"/use-cases/lovable-to-ankra"},{"title":"Vercel to Ankra","href":"/use-cases/vercel-to-ankra"},{"title":"Claude Code to Two Clusters","href":"/use-cases/claude-code-to-two-clusters"},{"title":"Speed Up CI","href":"/use-cases/speed-up-ci"},{"title":"Self-host an AI agent observability backend on-prem","href":"/use-cases/self-host-ai-agent-observability"}]},{"group":"Concepts","pages":[{"title":"How Ankra Works","href":"/concepts/how-ankra-works"},{"title":"Organisations \u0026 User Management","href":"/concepts/organisations"},{"title":"Projects","href":"/concepts/projects"},{"title":"Ankra Agent","href":"/concepts/cluster-agent"},{"title":"GitOps","href":"/concepts/gitops"},{"title":"Stacks","href":"/concepts/stacks"},{"title":"Add-ons","href":"/concepts/addons"},{"title":"Variables","href":"/concepts/variables"},{"title":"Deployment Engines","href":"/concepts/deployment-engines"},{"title":"Stack Profiles, Reusable Kubernetes Stack Templates","sidebarTitle":"Stack Profiles","href":"/concepts/stack-profiles"},{"title":"Applications","href":"/concepts/applications"},{"title":"Backup Vaults","href":"/concepts/backup-vaults"}]},{"group":"Create and Run Clusters","pages":[{"group":"Ankra Managed","pages":[{"title":"Hetzner Clusters","href":"/guides/hetzner-clusters"},{"title":"OVH Clusters","href":"/guides/ovh-clusters"},{"title":"UpCloud Clusters","href":"/guides/upcloud-clusters"},{"title":"DigitalOcean Clusters","href":"/guides/digitalocean-clusters"},{"title":"Scaleway Clusters","tag":"Closed Beta","href":"/guides/scaleway-clusters"},{"title":"AWS Clusters","icon":"aws","href":"/guides/aws-clusters"},{"title":"Ankra Cloud Clusters","icon":"cloud","tag":"Closed Beta","href":"/guides/ankra-cloud-clusters"},{"title":"Proxmox VE Clusters","href":"/guides/proxmox-clusters"},{"title":"Persistent Volumes on Proxmox VE Clusters","icon":"hard-drive","href":"/guides/proxmox-persistent-volumes"},{"title":"Morpheus Clusters","tag":"Closed Beta","href":"/guides/morpheus-clusters"},{"title":"Operate an Ankra Managed Cluster","href":"/guides/operate-ankra-managed-clusters"},{"title":"Gateway API","href":"/guides/gateway-api"},{"title":"Cluster Autoscaling","href":"/guides/cluster-autoscaling"},{"title":"Node Group Cloud-init User Data","href":"/guides/node-group-user-data"}]},{"group":"Cloud Managed","pages":[{"title":"Managed Kubernetes","href":"/guides/managed-kubernetes"},{"title":"DigitalOcean Kubernetes (DOKS)","icon":"digital-ocean","href":"/guides/doks-clusters"},{"title":"UpCloud Kubernetes (UKS)","icon":"cloud","href":"/guides/uks-clusters"},{"title":"Google Kubernetes Engine (GKE)","icon":"google","href":"/guides/gke-clusters"},{"title":"OVHcloud Managed Kubernetes (MKS)","icon":"cloud","href":"/guides/ovh-mks-clusters"},{"title":"Azure Kubernetes Service (AKS)","icon":"microsoft","href":"/guides/aks-clusters"},{"title":"Amazon EKS","icon":"aws","href":"/guides/eks-clusters"},{"title":"Ankra Cloud Kubernetes","icon":"cloud","tag":"Closed Beta","href":"/guides/ankra-cloud-kubernetes"}]},{"group":"Operate","pages":[{"title":"Cluster Settings","href":"/platform/cluster-settings"},{"title":"Nodes","href":"/platform/cluster-nodes"},{"title":"Stop, Start and Power Schedules","href":"/platform/cluster-power-schedules"},{"title":"Upgrade Kubernetes on a Cluster","href":"/guides/kubernetes-upgrades"},{"title":"Clone a Cluster","href":"/guides/clone-cluster"},{"title":"Cluster Mesh","href":"/platform/cluster-mesh"},{"title":"Verify a Cluster Mesh","href":"/guides/cluster-mesh-verification"}]},{"title":"Run Kubernetes Locally","href":"/guides/minikube"},{"title":"Talos Linux Clusters","sidebarTitle":"Talos Linux","href":"/guides/talos-clusters"}]},{"group":"Ship Your App","pages":[{"title":"Ship Your App","sidebarTitle":"Pick a Route","href":"/guides/deliver-your-app"},{"group":"Applications","pages":[{"title":"Flow Parity Matrix","href":"/reference/flow-parity"},{"title":"Environments and Branch Rules","sidebarTitle":"Environments and Branch Rules","href":"/guides/application-environments"},{"title":"Application CI/CD","href":"/guides/cicd-pipeline"},{"title":"Harbor as your application registry","href":"/guides/harbor-registry"},{"title":"From Claude Design to a live application","href":"/guides/claude-design-to-ankra"}]},{"group":"Managed Services","pages":[{"title":"Managed Services","tag":"Closed Beta","href":"/concepts/managed-services"},{"title":"Set Up a Managed Service","tag":"Closed Beta","href":"/guides/set-up-a-managed-service"},{"title":"Connect to a Managed Service","tag":"Closed Beta","href":"/guides/connect-to-a-managed-service"},{"title":"Disconnect an Application from a Managed Service","tag":"Closed Beta","href":"/guides/disconnect-an-application-from-a-managed-service"},{"title":"Delete a Managed Service","tag":"Closed Beta","href":"/guides/delete-a-managed-service"},{"title":"Managed Service Settings","tag":"Closed Beta","href":"/reference/managed-services"}]},{"group":"Previews","pages":[{"title":"PR Preview Environments","href":"/guides/pr-preview-environments"},{"title":"Branch Demos","href":"/guides/branch-demos"},{"title":"Stack Profile Demos","href":"/guides/stack-profile-demos"}]},{"group":"Bring Your Own CI","pages":[{"title":"GitLab CI/CD Pipeline","href":"/guides/gitlab-cicd-pipeline"},{"title":"Use the ankra CLI in CI","href":"/guides/pipeline-agents"}]},{"group":"Move From Docker","pages":[{"title":"Move a Docker Deployment Into a Cluster","href":"/guides/migrate-from-docker"},{"title":"Write an ankra migrate Module","href":"/guides/migrate-modules"}]}]},{"group":"Ankra Pipelines","pages":[{"title":"Ankra Pipelines","sidebarTitle":"Overview","href":"/pipelines/overview"},{"title":"Why Ankra Pipelines","sidebarTitle":"Why Ankra Pipelines","href":"/pipelines/why-ankra-pipelines"},{"title":"How Ankra Pipelines works","sidebarTitle":"How it works","href":"/pipelines/how-it-works"},{"title":"Generated pipelines","sidebarTitle":"Generated pipelines","href":"/pipelines/generated-pipelines"},{"title":"Pipeline examples","sidebarTitle":"Examples","href":"/pipelines/examples"},{"group":"Speed","pages":[{"title":"Fast CI","sidebarTitle":"Fast CI","href":"/pipelines/fast-ci"},{"title":"Pipeline caching","sidebarTitle":"Caching","href":"/pipelines/caching"},{"title":"The merge train","sidebarTitle":"Merge train","href":"/pipelines/merge-train"}]},{"group":"AI","pages":[{"title":"AI in pull requests","sidebarTitle":"AI in pull requests","href":"/pipelines/ai-in-pull-requests"},{"title":"AI Gateway","sidebarTitle":"AI Gateway","href":"/pipelines/ai-gateway"},{"title":"Pipelines with Claude Code, Codex and the Claude app","sidebarTitle":"With coding agents","href":"/pipelines/coding-agents"}]},{"title":"Pipelines from the CLI and MCP","sidebarTitle":"CLI and MCP","href":"/pipelines/cli-and-mcp"},{"group":"Set Up and Operate","pages":[{"title":"Ankra Pipelines","href":"/guides/ankra-pipelines"},{"title":"Ankra CI starter pipelines","sidebarTitle":"Starter pipelines","href":"/guides/ankra-ci-starter-pipelines"},{"title":"Build a Bazel Repository with Ankra Pipelines","sidebarTitle":"Bazel","href":"/guides/bazel-pipelines"},{"title":"Move a team to Ankra CI","sidebarTitle":"Move a team to Ankra CI","href":"/guides/move-to-ankra-ci"},{"title":"Migrate from GitHub Actions","href":"/guides/migrate-from-github-actions"},{"title":"Run tests and lint in Ankra Workspaces","sidebarTitle":"Workspaces","href":"/guides/ankra-workspaces"},{"title":"Ankra CI troubleshooting","sidebarTitle":"Troubleshooting","href":"/guides/ankra-ci-troubleshooting"}]},{"title":"pipeline.yaml reference","href":"/guides/pipeline-reference"}]},{"group":"Stacks and Add-ons","pages":[{"title":"Build a Monitoring Stack","href":"/guides/monitoring-stack"},{"title":"Build a Cloudflare Stack","href":"/guides/cloudflare-tunnel"},{"title":"Use Avura domains with Ankra","href":"/guides/avura-domains"},{"title":"Clone Stacks Between Clusters \u0026 Organisations","href":"/guides/clone-stack"},{"title":"Protect Persistent Data Before Changing a Stack","href":"/guides/protect-persistent-data"},{"title":"Stack Profile Suggestions","href":"/guides/stack-profile-suggestions"},{"group":"Add-on Catalog","pages":[{"title":"Add-on Catalog","href":"/platform/addon-catalog"},{"title":"Helm Registries","sidebarTitle":"Connect a Helm Registry","href":"/guides/registries"},{"title":"Helm Registries","sidebarTitle":"Helm Registry Providers","href":"/integrations/helm-registries"},{"title":"Create a Registry","href":"/guides/create-a-registry"},{"title":"Publishing Add-ons","href":"/platform/addon-publishing"},{"title":"Publishing Applications as Add-ons","href":"/platform/application-addons"}]}]},{"group":"Observe and Troubleshoot","pages":[{"title":"Dashboard","href":"/platform/dashboard"},{"title":"Activity \u0026 Inbox","href":"/platform/activity-inbox"},{"title":"Find out why a deploy failed and retry it","sidebarTitle":"Operations","href":"/platform/operations"},{"title":"Cluster Metrics","href":"/platform/cluster-metrics"},{"title":"Prometheus","href":"/integrations/prometheus"},{"title":"Logs","href":"/platform/logs"},{"title":"Ankra Hosted Logs","href":"/guides/hosted-logs"},{"title":"Log Sources","href":"/integrations/log-sources"},{"group":"Kubernetes Resources","pages":[{"title":"Kubernetes Resources","sidebarTitle":"Overview","href":"/platform/kubernetes-insights"},{"title":"Kubernetes Nodes","href":"/platform/kubernetes-nodes"},{"title":"Pod Terminal for Kubernetes in Your Browser","sidebarTitle":"Pod Terminal","href":"/platform/pod-terminal"},{"title":"Debug Pods","href":"/platform/debug-pods"}]},{"group":"Alerts and Notifications","pages":[{"title":"Alerts","href":"/guides/alerts"},{"title":"Notification routing","href":"/guides/notification-routing"},{"title":"Webhooks","href":"/guides/webhooks"},{"title":"Alert on Manifest Failures","href":"/guides/webhook-integrations"},{"title":"Mobile push notifications","href":"/guides/mobile-push"}]}]},{"group":"Ankra AI","pages":[{"title":"Ankra AI","sidebarTitle":"Overview","href":"/platform/ai-overview"},{"group":"Use It","pages":[{"title":"Guided Setup","href":"/platform/ai-guided-setup"},{"title":"AI Assistant","href":"/platform/ai-assistant"},{"title":"AI Insights","href":"/platform/ai-insights"}]},{"group":"Agents and Board","pages":[{"title":"AI Agents","href":"/platform/ai-agents"},{"title":"AI Board","href":"/platform/ai-board"},{"title":"Work the AI Board with Your Own Agent","href":"/guides/board-own-agent"},{"title":"AI Automations","href":"/platform/ai-automations"},{"title":"AI Autonomy","href":"/platform/ai-autonomy"},{"title":"Sync Board Tickets to Jira, Linear, or a Webhook","href":"/guides/ticket-sync"},{"title":"AI Workspaces","href":"/platform/ai-workspaces"}]},{"group":"Code Review","pages":[{"title":"AI Code Review","href":"/platform/ai-code-review"},{"title":"Cross-Repository Review","href":"/platform/ai-code-review-cross-repo"},{"title":"Application AI Settings","href":"/platform/application-ai"},{"title":"Teach Your Agents with AGENTS.md","href":"/platform/agents-md"}]},{"group":"Configure","pages":[{"title":"Models and Cost","href":"/platform/ai-provider"},{"title":"Your Own AI Keys","href":"/platform/personal-ai-keys"},{"title":"Bring Your Own OpenRouter API Key","href":"/guides/openrouter-api-key"},{"title":"AI Connections","href":"/platform/ai-connections"},{"title":"AI Skills and Custom Tools","href":"/platform/ai-skills"},{"title":"AI Memory and Feedback","href":"/platform/ai-memory"}]}]},{"group":"Connect Tools","pages":[{"title":"Ankra CLI","description":"Comprehensive guide for installing, configuring, and using the Ankra CLI to manage clusters, chat with AI, browse charts, and automate platform operations.","href":"/integrations/ankra-cli"},{"title":"MCP Server","href":"/platform/mcp-server"},{"title":"MCP Tool Reference","description":"The tools the Ankra MCP server exposes, with the scope each one requires and whether it targets a specific cluster.","href":"/platform/mcp-tools"},{"title":"Agent Skills","href":"/integrations/agent-skills"},{"title":"Agent Skills Catalogue","href":"/integrations/agent-skills-catalogue"},{"title":"OpenClaw","href":"/integrations/openclaw"},{"title":"Ankra Terraform Provider","href":"/integrations/terraform"}]},{"group":"Source Control","pages":[{"title":"Git Providers","href":"/integrations/git-providers"},{"title":"GitHub Integration","href":"/integrations/github"},{"title":"GitLab Integration","href":"/integrations/gitlab"},{"title":"Bitbucket Cloud Integration","href":"/integrations/bitbucket-cloud"}]},{"group":"Security and Access","pages":[{"title":"What Ankra Can See and Do","sidebarTitle":"Security overview","href":"/security/overview"},{"title":"Cluster Security","href":"/guides/cluster-security"},{"title":"Security Reports","href":"/guides/security-reports"},{"group":"Access","pages":[{"title":"Identity \u0026 Access Controls","href":"/security/identity-and-access"},{"title":"Single Sign-On","href":"/guides/single-sign-on"},{"title":"Roles \u0026 Access","href":"/guides/roles-and-access"},{"title":"Private access for proxied domains","href":"/guides/private-proxied-domains"},{"title":"Protect a tunnel with Ankra sign-in","href":"/guides/protect-a-tunnel-with-ankra-sign-in"},{"title":"Account Security \u0026 2FA","href":"/platform/account-security"},{"title":"Service Tokens","href":"/guides/service-tokens"},{"title":"API Tokens","href":"/reference/tokens"},{"title":"Cluster Access","href":"/guides/cluster-access"},{"title":"Accessing Clusters with kubectl","href":"/guides/kubeconfig"},{"title":"Ankra Support Access","href":"/security/support-access"}]},{"group":"Hardening","pages":[{"title":"Cluster Hardening","href":"/security/hardening"},{"title":"Hardening the Agent","href":"/security/agent-hardening"},{"title":"Verified Provenance at Deploy","href":"/security/deploy-provenance"},{"title":"SOPS Encryption","href":"/guides/sops"}]},{"group":"Compliance and Audit","pages":[{"title":"Shared Responsibility","href":"/security/shared-responsibility"},{"title":"Compliance Management","href":"/security/compliance-management"},{"title":"Change Management","href":"/security/change-management"},{"title":"Audit Log","href":"/guides/audit-log"},{"title":"Audit Export","href":"/security/audit-export"},{"title":"Agent Compliance Posture","href":"/security/agent-compliance"}]}]},{"group":"Cost and Backups","pages":[{"title":"Cloud Cost","href":"/platform/cloud-cost"},{"title":"Backups and Restore Points","href":"/guides/backups"}]},{"group":"Organisation and Account","pages":[{"title":"Organisation Settings","href":"/platform/organisation-settings"},{"group":"Credentials","pages":[{"title":"Credentials","href":"/platform/credentials"},{"title":"Git Credentials","icon":"code-branch","href":"/platform/credentials/git"},{"title":"Registry Credentials","icon":"box","href":"/platform/credentials/registry"},{"title":"Hetzner API Credentials","icon":"cloud","href":"/platform/credentials/hetzner"},{"title":"OVH API Credentials","icon":"cloud","href":"/platform/credentials/ovh"},{"title":"UpCloud API Credentials","icon":"cloud","href":"/platform/credentials/upcloud"},{"title":"DigitalOcean API Credentials","icon":"digital-ocean","href":"/platform/credentials/digitalocean"},{"title":"Scaleway Credentials","icon":"cloud","tag":"Closed Beta","href":"/platform/credentials/scaleway"},{"title":"AWS Credentials","icon":"aws","href":"/platform/credentials/aws"},{"title":"Google Cloud (GCP) Credentials","icon":"google","href":"/platform/credentials/gcp"},{"title":"Azure Credentials","icon":"microsoft","href":"/platform/credentials/azure"},{"title":"Proxmox VE API Credentials","icon":"server","href":"/platform/credentials/proxmox"},{"title":"Morpheus API Credentials","icon":"server","tag":"Closed Beta","href":"/platform/credentials/morpheus"},{"title":"Ankra Cloud Credentials","icon":"cloud","tag":"Closed Beta","href":"/platform/credentials/ankra-cloud"},{"title":"SSH Key Credentials","icon":"lock","href":"/platform/credentials/ssh-key"}]},{"title":"Billing \u0026 Usage","href":"/platform/billing"},{"title":"Usage","href":"/platform/usage"},{"title":"User Profile","href":"/platform/user-profile"},{"title":"Command Palette","href":"/platform/command-palette"},{"title":"Keyboard Shortcuts","href":"/platform/keyboard-shortcuts"},{"title":"Support","href":"/platform/support"}]},{"group":"Reference","pages":[{"group":"CLI","pages":[{"title":"CLI Command Reference","href":"/reference/cli/index"},{"title":"ankra agents","href":"/reference/cli/agents"},{"title":"ankra ai","href":"/reference/cli/ai"},{"title":"ankra alerts","href":"/reference/cli/alerts"},{"title":"ankra application","href":"/reference/cli/application"},{"title":"ankra backup","href":"/reference/cli/backup"},{"title":"ankra bucket","href":"/reference/cli/bucket"},{"title":"ankra canvas","href":"/reference/cli/canvas"},{"title":"ankra charts","href":"/reference/cli/charts"},{"title":"ankra chat","href":"/reference/cli/chat"},{"title":"ankra cluster","href":"/reference/cli/cluster"},{"title":"ankra completion","href":"/reference/cli/completion"},{"title":"ankra config","href":"/reference/cli/config"},{"title":"ankra cost","href":"/reference/cli/cost"},{"title":"ankra credentials","href":"/reference/cli/credentials"},{"title":"ankra delete","href":"/reference/cli/delete"},{"title":"ankra deployments","href":"/reference/cli/deployments"},{"title":"ankra dev","href":"/reference/cli/dev"},{"title":"ankra exec","href":"/reference/cli/exec"},{"title":"ankra helm","href":"/reference/cli/helm"},{"title":"ankra login","href":"/reference/cli/login"},{"title":"ankra logout","href":"/reference/cli/logout"},{"title":"ankra mcp","href":"/reference/cli/mcp"},{"title":"ankra migrate","href":"/reference/cli/migrate"},{"title":"ankra openclaw","href":"/reference/cli/openclaw"},{"title":"ankra org","href":"/reference/cli/org"},{"title":"ankra pipeline","href":"/reference/cli/pipeline"},{"title":"ankra plugins","href":"/reference/cli/plugins"},{"title":"ankra profile","href":"/reference/cli/profile"},{"title":"ankra project","href":"/reference/cli/project"},{"title":"ankra registry","href":"/reference/cli/registry"},{"title":"ankra runs","href":"/reference/cli/runs"},{"title":"ankra secrets","href":"/reference/cli/secrets"},{"title":"ankra security","href":"/reference/cli/security"},{"title":"ankra services","href":"/reference/cli/services"},{"title":"ankra skills","href":"/reference/cli/skills"},{"title":"ankra slack","href":"/reference/cli/slack"},{"title":"ankra stack-profiles","href":"/reference/cli/stack-profiles"},{"title":"ankra support","href":"/reference/cli/support"},{"title":"ankra targets","href":"/reference/cli/targets"},{"title":"ankra tickets","href":"/reference/cli/tickets"},{"title":"ankra tokens","href":"/reference/cli/tokens"},{"title":"ankra upgrade","href":"/reference/cli/upgrade"},{"title":"ankra workspace","href":"/reference/cli/workspace"}]},{"title":"ImportCluster YAML Schema","href":"/reference/importcluster"},{"title":"ankra.yaml reference","href":"/reference/application-descriptor"},{"title":"Agent Helm Values","href":"/reference/agent-helm-values"},{"title":"Add-on Settings","href":"/concepts/addon-settings"},{"title":"Cost API fields","href":"/reference/cost-api"},{"title":"Portal URLs","href":"/platform/portal-urls"},{"title":"Portal Links","href":"/reference/portal-links"},{"group":"Providers","pages":[{"title":"Hetzner Reference","href":"/reference/hetzner"},{"title":"OVH Reference","href":"/reference/ovh"},{"title":"UpCloud Reference","href":"/reference/upcloud"},{"title":"DigitalOcean Reference","href":"/reference/digitalocean"},{"title":"AWS Reference","href":"/reference/aws"},{"title":"Proxmox VE Reference","href":"/reference/proxmox"},{"title":"Morpheus Reference","tag":"Closed Beta","href":"/reference/morpheus"},{"title":"Managed Kubernetes Reference","href":"/reference/managed-kubernetes"}]}]}]},{"tab":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"MCP Server - Ankra","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CXMGc493.js","DynamicMarkdown-D-2HDKEp.js","zoom-image-lightbox-CE4cYsJE.js","lightbox-handle-r17bVUz3.js"]}