# TraceRoot

Source: https://docs.paradev.com/plugins/available/traceroot

Debug AI agents with production traces from TraceRoot

Debug AI agents with production traces: search traces and sessions, read spans, run SQL over trace data, and review findings, detectors and alerts in TraceRoot.

## Skills

| Skill                       | What it does                                                                                                                                                           |
| :-------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `debug-with-traceroot`      | Finds why a run failed, looped, gave a wrong answer, or ran slow or expensive by locating the first span that went wrong and the code behind it                        |
| `query-traceroot-metrics`   | Answers how many, how much, latency, cost and error-rate questions from dashboards, widget queries or read-only SQL, and states what was counted and over which window |
| `triage-traceroot-findings` | Ranks what the detectors flagged in a stated window, groups findings one fix would remove, and ties each problem to code                                               |

Skills are named `traceroot-<skill>`. In Claude Code they appear as `paradev:traceroot-<skill>`.

## MCP Server

Tools come from TraceRoot's own MCP server at `https://mcp.traceroot.ai/mcp`. Paradev proxies each call and adds your credentials. TraceRoot decides which tools the server offers. The tools read your project's data and change nothing in it. One feedback tool sends a message to the TraceRoot team when you ask the agent to. See [TraceRoot's MCP docs](https://traceroot.ai/docs/mcp/get-started) for the current list.

## Authentication

| Method    | Details                                                                                                                                                                                                                                                                  |
| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| OAuth 2.0 | You sign in to TraceRoot in your browser and pick one project on the consent screen. Each connection covers that one project; connect again to reach another. TraceRoot reads Paradev's client details from a URL Paradev publishes, so there is no app to set up first. |
| API key   | Paste a key (`tr-…`) from **Settings → API keys** inside a TraceRoot project. Use it when you cannot sign in through a browser. A key belongs to one project, so the agent reads that project only.                                                                      |

Connect from the plugin's page in **Plugins**. Paradev keeps the credentials. The agent and your machine never see them. You can revoke an OAuth connection in TraceRoot under **Account settings → Connected assistants**, or delete the API key.