Downtrace

v0.4.0
io.github.RadW2020/downtrace Checked 5 hours ago Published 22 days ago

Downtrace tells you when a change breaks the performance of your Node.js backend.

Values you need

VariableWhat it is
DOWNTRACE_URLrequired The address of your Downtrace
DOWNTRACE_TOKENoptional secret An access credential of the project, of level operate; without it the server is read-only

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add downtrace -e 'DOWNTRACE_URL=<DOWNTRACE_URL>' -- npx -y --package=@downtrace/mcp@0.4.0 downtrace-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "downtrace": {
      "args": [
        "-y",
        "--package=@downtrace/mcp@0.4.0",
        "downtrace-mcp"
      ],
      "command": "npx",
      "env": {
        "DOWNTRACE_URL": "<DOWNTRACE_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "downtrace": {
      "args": [
        "-y",
        "--package=@downtrace/mcp@0.4.0",
        "downtrace-mcp"
      ],
      "command": "npx",
      "env": {
        "DOWNTRACE_URL": "<DOWNTRACE_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DOWNTRACE_URL",
      "id": "downtrace-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "downtrace": {
      "args": [
        "-y",
        "--package=@downtrace/mcp@0.4.0",
        "downtrace-mcp"
      ],
      "command": "npx",
      "env": {
        "DOWNTRACE_URL": "${input:downtrace-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.downtrace]
command = "npx"
args = ["-y", "--package=@downtrace/mcp@0.4.0", "downtrace-mcp"]
env = { "DOWNTRACE_URL" = "<DOWNTRACE_URL>" }

For AI agents

  1. Ask the user for: DOWNTRACE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: project_brief, read_credential, list_projects, project_status, changes_since, list_findings, read_finding, read_report, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json