Back to Browse

Traceroot MCP Server

Developer Tools5.2Moderate riskMCP RegistryRemote
Free

Server data from the Official MCP Registry

Search and read the traceroot documentation: setup guides, SDK and CLI reference, and API reference.

About

Search and read the traceroot documentation: setup guides, SDK and CLI reference, and API reference.

Remote endpoints: streamable-http: https://traceroot.ai/docs/mcp

At a glance

Runs
On a server the publisher hosts. You connect to its URL, nothing to install.
Works with
Claude Desktop, Claude Code, Grok Build (formerly Cursor), Windsurf, VS Code, Codex, Antigravity CLI, Gemini app, Gemini CLI, ChatGPT.
Can access
  • Reads files on the server that hosts it
  • Writes files on the server that hosts it

Security report

How we score
5.2out of 10Moderate riskMCP Marketplace security score

Critical: Uses an outdated component (claude-agent-sdk) with a known security hole

This is a large observability/agent platform (traceroot) whose visible code shows consistent authentication (internal secret middleware, x-user-id ownership checks on session routes), input validation, and deliberate sandbox lifecycle management. No exfiltration or malicious patterns were visible in the provided excerpts; the code is truncated, so full review of the tools, executors, and remaining backend was not possible. Permissions such as network access, Docker/sandbox process spawning, and database access are consistent with an agent-service and developer-tools purpose, though the Docker sandbox process spawning and the agent's tool execution capabilities warrant ongoing review. Supply chain analysis found 5 known vulnerabilities in dependencies (1 critical, 3 high severity).

15 files analyzed · 8 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

database

Applies to the server that hosts this plugin, not to your machine.

process_spawn

Applies to the server that hosts this plugin, not to your machine.

env_vars

Applies to the server that hosts this plugin, not to your machine.

File System Read

Reads files on the server that hosts it, not on your machine.

File System Write

Writes files on the server that hosts it, not on your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-traceroot-ai-traceroot-docs": {
      "url": "https://traceroot.ai/docs/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

traceroot: the open-source platform that continuously improves your ai agents.

Y Combinator License X (Twitter) Discord Documentation PyPI SDK Downloads Ask DeepWiki

traceroot

Open source Braintrust alternative. Find the patterns in your agent's production issues. Ship verified fixes with your coding agent.

https://github.com/user-attachments/assets/e6e4bcb9-8415-4dc8-a534-3ed257c98552

Core Features

Turn production failures into tested improvements

Trace production runs, use detectors to evaluate behavior, and surface recurring patterns as improvement signals. Your coding agent uses the traceroot CLI to investigate those signals and make local changes, then verifies them with offline evals. After you ship, new production traces feed the next round of detection, signals, and verification—closing a continuous improvement loop.

StepDescription
TraceSee each model call, tool call, and response, with inputs, outputs, latency, and cost.
DetectDefine what good behavior looks like. Automatically flag production runs that miss the mark.
SignalsCluster judge outputs into signals. A background coding agent investigates traces and connected GitHub code in a sandbox to suggest fixes.
VerifyRun evals against your datasets and compare versions to measure improvements and catch regressions.

⭐ Star the Repository

If you like what we’re building, give traceroot a star ⭐ to help more developers discover it.

Setting up traceroot

Send your first trace to traceroot Cloud or your own traceroot instance: run one command and let your coding agent add the instrumentation, or configure an SDK manually.

With your coding agent

Run this from the root of the repository you want to trace:

npx -y traceroot-cli@latest setup

Works with Claude Code, Codex, Cursor, OpenCode, Pi, Antigravity, and more.

The traceroot CLI signs you in through your browser (where you can create a free account), writes a project API key into your application's env file, has Claude Code or Codex add the SDK, and waits for your first trace. It needs Node.js 20.12 or later.

  • Using another coding agent? Setup can write the change out as a task for it to run.
  • Self-hosting? Point setup at your instance with --host (the API origin) and --auth-host (the web app origin).

See the setup guide for each step, self-hosting, and troubleshooting.

Manually with an SDK

Prefer to configure instrumentation yourself? Use the Python SDK or TypeScript SDK. The example below sends one traced model call from a TypeScript application.

You need Node.js and npm, a traceroot project API key, and an OpenAI API key. For self-hosting, replace the host URL below with your instance's API origin (for example http://localhost:8000).

1. Install the SDK in your TypeScript project:

npm install @traceroot-ai/traceroot openai

2. Set your API keys:

export TRACEROOT_API_KEY="your-project-api-key"
export TRACEROOT_HOST_URL="https://app.traceroot.ai"
export OPENAI_API_KEY="your-openai-api-key"

3. Trace an agent call. Save this as example.ts:

import OpenAI from 'openai';
import { TraceRoot, observe } from '@traceroot-ai/traceroot';

TraceRoot.initialize({ instrumentModules: { openAI: OpenAI } });
const openai = new OpenAI();

const myAgent = observe({ name: 'my_agent', type: 'agent' }, async (query: string) => {
  const response = await openai.chat.completions.create({
    model: 'gpt-4o',
    messages: [{ role: 'user', content: query }],
  });
  return response.choices[0].message.content;
});

async function main() {
  try {
    await myAgent("What's the weather in SF?");
  } finally {
    await TraceRoot.shutdown();
  }
}

main().catch(console.error);

4. Run it with npx tsx example.ts, then open your project's Traces page to inspect the agent run. This example makes one OpenAI API call.

Getting Started With traceroot

traceroot Cloud

Create an account to get started without running the platform yourself.

Self-Hosting

With Git, Docker Compose, and Make installed, run locally:

git clone https://github.com/traceroot-ai/traceroot.git
cd traceroot
cp .env.example .env
make prod-lite

make prod-lite generates your own credentials in .env; keep a backup of that file. Upgrading an existing install is covered in the guide below.

Open localhost:3000. See the self-hosting guide for configuration and deployment details.

For production, deploy on Kubernetes with the Helm chart, or on AWS with the Terraform module, which provisions the infrastructure and installs the chart.

Integrations

Native SDKs

LanguageRepository
Pythontraceroot-py
TypeScripttraceroot-ts

Agent Frameworks

IntegrationSupportsDescription
AgnoPythonAutomated instrumentation of agent runs, tool calls, and multi-step reasoning.
AutoGenPythonAutomated instrumentation of multi-agent conversations, agent loops, and tool calls.
Claude Agent SDKPython, JS/TSAutomated instrumentation of agent invocations, subagent delegations, tool calls, and token usage.
CrewAIPythonAutomated instrumentation of multi-agent collaborative workflows and task executions.
DSPyPythonAutomated instrumentation of module executions, signature predictions, and underlying LLM calls.
Google ADKPythonAutomated instrumentation of agent runs, tool executions, and the multi-turn agent loop.
LangChain & LangGraphPython, JS/TSAutomated instrumentation by passing callback handler to LangChain application.
LangChain DeepAgentsPython, JS/TSAutomated instrumentation by passing callback handler to DeepAgents pipeline.
LlamaIndexPythonAutomated instrumentation of RAG pipelines, document ingestion, retrieval, and LLM synthesis.
Microsoft Agent FrameworkPythonAutomated instrumentation of agent runs, model calls, and tool executions via Agent Framework's built-in OpenTelemetry emission.
MastraJS/TSAutomated instrumentation via the traceroot OTLP exporter.
OpenAI Agents SDKPython, JS/TSAutomated instrumentation of agent runs, tool executions, and handoff transitions.
Pydantic AIPythonAutomated instrumentation of agent runs, LLM calls, and tool invocations via pydantic-ai's native OpenTelemetry support.
Vercel AI SDKJS/TSNative OpenTelemetry tracing — no instrumentModules config required. AI SDK 7 needs @ai-sdk/otel; AI SDK 6 (legacy) uses experimental_telemetry.

Model Providers

IntegrationSupportsDescription
AnthropicPython, JS/TSAutomated instrumentation of the Messages API.
Google GeminiPythonAutomated instrumentation via the Google GenAI SDK.
MistralPythonAutomated instrumentation of Mistral chat completions, tool calls, and streaming responses.
OpenAIPython, JS/TSAutomated instrumentation of Chat Completions and Responses API.
OpenRouterPython, JS/TSOpenAI-compatible tracing via the OpenAI SDK base URL; see the Python and TypeScript examples.

Coding Agents

IntegrationSupportsDescription
Claude CodePluginTrace Claude Code requests, tool calls, sub-agents, and token usage with the traceroot plugin.
CodexPluginTrace Codex turns, tool calls, sub-agents, and token usage live with the traceroot plugin.
pi CLIExtensionTrace interactive pi CLI sessions, turns, tool calls, and token usage with the traceroot extension.

Don't see your framework or provider? Request an integration.

Security & Privacy

Your data security and privacy are our top priorities. Learn more in our Security and Privacy documentation.

Community

Special thanks to pi-mono, which powers our agent runtime.

Contributing 🤝: Help with code, documentation, integrations, or runnable examples. Start with the contribution guide and unassigned beginner issues that do not need approval.

Support 💬: If you need any type of support, we're typically most responsive on our Discord channel, but feel free to email us founders@traceroot.ai too!

License

traceroot uses Apache 2.0 for code outside directories named ee. Those directories are covered by the Enterprise License.

Star History

Contributors

Reviews

No reviews yet

Be the first to review this server!