What it can do
It offers 24 tools: list and read traces, sessions, findings, detectors, alerts, dashboards (and their widgets), datasets and their versions, and evaluation runs, and run read-only SQL against your project’s data. Large fields, such as a trace’s input and output, are left out unless the assistant asks for them.Connect
TraceRoot Cloud’s MCP server is at:MCP_RESOURCE_URL instead; see Self-hosting.
Connecting asks you to sign in to TraceRoot, pick the project the assistant may read, and approve. No API key is needed.
- Claude
- ChatGPT
- Cursor
- Gemini
Claude on the web and Claude DesktopThen run
- Open Settings → Connectors and choose Add custom connector.
- Enter
https://mcp.traceroot.ai/mcpand add it. - Connect, then sign in to TraceRoot, pick a project and approve.
/mcp inside Claude Code and follow the browser sign-in. From a shell, claude mcp login traceroot does the same.Use an API key instead
Where sign-in is not possible (a script, CI, or a server with no browser), send a project API key as a bearer token. A key is tied to its project, so there is no project to pick.- Claude Code
- Cursor
- Gemini CLI
Try it
Ask the assistant:- “What were my slowest traces in the last hour?”
- “Show me the findings from the last day and what triggered them.”
- “Which alert rules do I have, and what are their thresholds?”
- “What tables can I query with SQL? Then count my errors by model this week.”
Disconnect
Account settings → Connected assistants lists every assistant you have connected and the project each can read. Choose Disconnect and it loses access on its next request. Removing someone from a workspace also ends their assistants’ access to its projects.Self-hosting
The MCP server is one more container in the production compose file. To turn on sign-in:
Leave
MCP_RESOURCE_URL blank to run key-only. To list the server in ChatGPT’s app directory, set MCP_OPENAI_APPS_CHALLENGE on mcp to the domain-verification token OpenAI gives you; the server then serves it at /.well-known/openai-apps-challenge. For Gemini’s connected apps, set MCP_GOOGLE_CONNECTED_APPS_TOKENS to the token from the Google Connected Console; it is served at /.well-known/google-connected-apps. The MCP server’s URL must be reachable by whoever connects: from the internet for Claude’s and ChatGPT’s web apps, or just your machine for Claude Code, Cursor and the Gemini CLI.
Behind a proxy or load balancer, also set AUTH_TRUSTED_PROXY_CIDRS on web to the proxy’s address range. Assistants register themselves when they connect, and registration is rate limited per caller; without the setting, the caller’s address is taken from an X-Forwarded-For header the caller can write itself, so the limit cannot tell callers apart.
The web container also needs outbound HTTPS. Claude, Claude Code and ChatGPT identify themselves by the URL of a small public document that names them and their sign-in callback, and web fetches it when they connect. If web cannot reach it, the connection fails with invalid_client.
The MCP server never holds your data or a login of its own. It forwards the assistant’s credential to the TraceRoot API, which checks the token, the project it was granted for, and that the connection is still allowed on every request.