# agentrace

> agentrace is an MCP server. Structured observability for AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** io.github.ura-tools/agentrace
- **Listing updated:** 2026-11-13

## About

Structured observability for AI agents. Trace steps, decisions, and errors. MCP server + CLI viewer.

## Install

### Claude Code (Terminal)

```sh
claude mcp add agentrace -- npx -y @ura-dev/agentrace
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agentrace": {
      "command": "npx",
      "args": [
        "-y",
        "@ura-dev/agentrace"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agentrace": {
      "command": "npx",
      "args": [
        "-y",
        "@ura-dev/agentrace"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agentrace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ura-dev/agentrace"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agentrace": {
      "command": "npx",
      "args": [
        "-y",
        "@ura-dev/agentrace"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agentrace": {
      "command": "npx",
      "args": [
        "-y",
        "@ura-dev/agentrace"
      ]
    }
  }
}
```

## FAQ

### How do I add agentrace to Claude Code?

Run this command in your terminal: claude mcp add agentrace -- npx -y @ura-dev/agentrace

---
Source: https://ai-powered.com/mcp/agentrace
