Before you start
- An Operata account with admin permissions to mint API tokens.
- An Operata API token scoped to the account you want Claude to query. See Authentication.
- A Claude client — Claude Desktop, Claude Code, or the Claude API — installed and signed in.
Steps
1. Mint an MCP-dedicated API token
Sign in to the Operata console, open Settings → Config → API, and create a new token. Name it after the client — for exampleMCP — Claude Desktop — so you can revoke it independently of other tokens. Copy the value; the console does not show it again.
2. Add the Operata MCP server to your Claude client
Claude Desktop Open the Claude Desktop configuration file:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
mcpServers object:
$OPERATA_API_TOKEN with the token from step 1. Restart Claude Desktop.
Claude Code
From the project root, register the server with the Claude Code CLI:
mcp_servers field of the request body. See Anthropic’s MCP connector documentation for the request shape.
3. Ask Claude a question that uses Operata data
Start a new conversation in Claude and ask something that requires Operata data. For example:How many traces have been recorded in my Operata account in the last 30 days?Claude calls the appropriate Operata MCP tool —
traces_query for an aggregate like this, or knowledge for a concept question — and cites the tool invocation in the response.
Result
The Claude client listsoperata under available tools. A question that requires Operata data triggers a call to one of the Operata tools — for example traces_query or knowledge — and the response contains a real number from your account, not a placeholder. A 401 in the tool-call trace means the API token is wrong or revoked.
For the full tool surface — get_schema, traces_list, traces_query, traces_get, traces_span_insights, traces_span_logs, and knowledge — see Operata MCP server tools.
Related
- Connect Cursor to the Operata MCP server — the same MCP server, configured for Cursor.
- Connect ChatGPT to the Operata MCP server — the ChatGPT integration roadmap.
- Operata MCP server tools — the full tool reference with parameters and examples.
- Authentication — the same Operata API tokens authenticate the MCP server.
- Rate limits — the MCP server is subject to the standard 100 requests per minute per token.