Choose an Access Scope
mcp:write implies read access. When creating a write token in the portal, Ankra selects both scopes.
Create an MCP Token
- Ankra Platform
- Ankra CLI
1
Open API Tokens
Open your profile, select API Tokens, then select Add Token.
2
Choose MCP access
Enter a descriptive name and select mcp:read. Select mcp:write only if the client needs to change resources.
3
Copy the token
Copy the generated token immediately and store it securely. Ankra only shows it once.
Connect Cursor
Add Ankra to your Cursor MCP configuration:Connect Claude with OAuth
Claude clients that support remote MCP connectors can connect without a manually copied token.1
Add the connector
Add a custom MCP connector in Claude and use
https://platform.ankra.app/api/v1/mcp as the server URL.2
Sign in to Ankra
Claude opens Ankra’s OAuth consent flow. Sign in if needed.
3
Choose the organisation and scope
Select the organisation, review the requested
mcp:read or mcp:write access, then approve the connection.How Tool Access Works
tools/listonly returns tools allowed by the token.- Cluster-scoped tools require a
cluster_id. Calllist_clustersto discover IDs. - Ankra verifies that the cluster belongs to the token’s organisation before dispatch.
- Draft-only chat tools are not available over MCP.
- Parameters containing literal secrets are refused before a mutating tool runs.
- Tool calls are rate limited per token. Write calls also use a fail-closed platform write limit.
- Every resolved tool call, including refused calls, is written to the organisation audit log.
Troubleshooting
401 Invalid or missing bearer token
The token is missing, expired, revoked, or copied incorrectly. Create a new MCP token and update the client.403 Token has no MCP scope
The token is REST-only. Recreate it withmcp:read or mcp:read,mcp:write.