MCP Server Studio

Spoor MCP server

What changed across metrics, logs and traces, and where it started (Grafana, Victoria, New Relic).

Registry name: io.github.asinha07/spoor

Publisher
asinha07
Runs
Runs locally
Package
Docker
Version
0.3.1
Category
Cloud & DevOps
Updated
2026-10-23

Source code on GitHub

Set up Spoor (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "spoor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOOR_METRICS_TYPE",
        "-e",
        "SPOOR_LOGS_TYPE",
        "-e",
        "SPOOR_TRACES_TYPE",
        "-e",
        "SPOOR_METRICS_URL",
        "-e",
        "SPOOR_LOGS_URL",
        "-e",
        "SPOOR_TRACES_URL",
        "-e",
        "SPOOR_METRICS_TOKEN",
        "-e",
        "SPOOR_LOGS_TOKEN",
        "-e",
        "SPOOR_TRACES_TOKEN",
        "-e",
        "NEW_RELIC_ACCOUNT_ID",
        "-e",
        "NEW_RELIC_API_KEY",
        "ghcr.io/asinha07/spoor:0.3.1"
      ],
      "env": {
        "SPOOR_METRICS_TYPE": "<SPOOR_METRICS_TYPE>",
        "SPOOR_LOGS_TYPE": "<SPOOR_LOGS_TYPE>",
        "SPOOR_TRACES_TYPE": "<SPOOR_TRACES_TYPE>",
        "SPOOR_METRICS_URL": "<SPOOR_METRICS_URL>",
        "SPOOR_LOGS_URL": "<SPOOR_LOGS_URL>",
        "SPOOR_TRACES_URL": "<SPOOR_TRACES_URL>",
        "SPOOR_METRICS_TOKEN": "<SPOOR_METRICS_TOKEN>",
        "SPOOR_LOGS_TOKEN": "<SPOOR_LOGS_TOKEN>",
        "SPOOR_TRACES_TOKEN": "<SPOOR_TRACES_TOKEN>",
        "NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>",
        "NEW_RELIC_API_KEY": "<NEW_RELIC_API_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add spoor -e SPOOR_METRICS_TYPE='<SPOOR_METRICS_TYPE>' -e SPOOR_LOGS_TYPE='<SPOOR_LOGS_TYPE>' -e SPOOR_TRACES_TYPE='<SPOOR_TRACES_TYPE>' -e SPOOR_METRICS_URL='<SPOOR_METRICS_URL>' -e SPOOR_LOGS_URL='<SPOOR_LOGS_URL>' -e SPOOR_TRACES_URL='<SPOOR_TRACES_URL>' -e SPOOR_METRICS_TOKEN='<SPOOR_METRICS_TOKEN>' -e SPOOR_LOGS_TOKEN='<SPOOR_LOGS_TOKEN>' -e SPOOR_TRACES_TOKEN='<SPOOR_TRACES_TOKEN>' -e NEW_RELIC_ACCOUNT_ID='<NEW_RELIC_ACCOUNT_ID>' -e NEW_RELIC_API_KEY='<NEW_RELIC_API_KEY>' -- docker run -i --rm -e SPOOR_METRICS_TYPE -e SPOOR_LOGS_TYPE -e SPOOR_TRACES_TYPE -e SPOOR_METRICS_URL -e SPOOR_LOGS_URL -e SPOOR_TRACES_URL -e SPOOR_METRICS_TOKEN -e SPOOR_LOGS_TOKEN -e SPOOR_TRACES_TOKEN -e NEW_RELIC_ACCOUNT_ID -e NEW_RELIC_API_KEY ghcr.io/asinha07/spoor:0.3.1

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "spoor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOOR_METRICS_TYPE",
        "-e",
        "SPOOR_LOGS_TYPE",
        "-e",
        "SPOOR_TRACES_TYPE",
        "-e",
        "SPOOR_METRICS_URL",
        "-e",
        "SPOOR_LOGS_URL",
        "-e",
        "SPOOR_TRACES_URL",
        "-e",
        "SPOOR_METRICS_TOKEN",
        "-e",
        "SPOOR_LOGS_TOKEN",
        "-e",
        "SPOOR_TRACES_TOKEN",
        "-e",
        "NEW_RELIC_ACCOUNT_ID",
        "-e",
        "NEW_RELIC_API_KEY",
        "ghcr.io/asinha07/spoor:0.3.1"
      ],
      "env": {
        "SPOOR_METRICS_TYPE": "<SPOOR_METRICS_TYPE>",
        "SPOOR_LOGS_TYPE": "<SPOOR_LOGS_TYPE>",
        "SPOOR_TRACES_TYPE": "<SPOOR_TRACES_TYPE>",
        "SPOOR_METRICS_URL": "<SPOOR_METRICS_URL>",
        "SPOOR_LOGS_URL": "<SPOOR_LOGS_URL>",
        "SPOOR_TRACES_URL": "<SPOOR_TRACES_URL>",
        "SPOOR_METRICS_TOKEN": "<SPOOR_METRICS_TOKEN>",
        "SPOOR_LOGS_TOKEN": "<SPOOR_LOGS_TOKEN>",
        "SPOOR_TRACES_TOKEN": "<SPOOR_TRACES_TOKEN>",
        "NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>",
        "NEW_RELIC_API_KEY": "<NEW_RELIC_API_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "spoor": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOOR_METRICS_TYPE",
        "-e",
        "SPOOR_LOGS_TYPE",
        "-e",
        "SPOOR_TRACES_TYPE",
        "-e",
        "SPOOR_METRICS_URL",
        "-e",
        "SPOOR_LOGS_URL",
        "-e",
        "SPOOR_TRACES_URL",
        "-e",
        "SPOOR_METRICS_TOKEN",
        "-e",
        "SPOOR_LOGS_TOKEN",
        "-e",
        "SPOOR_TRACES_TOKEN",
        "-e",
        "NEW_RELIC_ACCOUNT_ID",
        "-e",
        "NEW_RELIC_API_KEY",
        "ghcr.io/asinha07/spoor:0.3.1"
      ],
      "env": {
        "SPOOR_METRICS_TYPE": "<SPOOR_METRICS_TYPE>",
        "SPOOR_LOGS_TYPE": "<SPOOR_LOGS_TYPE>",
        "SPOOR_TRACES_TYPE": "<SPOOR_TRACES_TYPE>",
        "SPOOR_METRICS_URL": "<SPOOR_METRICS_URL>",
        "SPOOR_LOGS_URL": "<SPOOR_LOGS_URL>",
        "SPOOR_TRACES_URL": "<SPOOR_TRACES_URL>",
        "SPOOR_METRICS_TOKEN": "<SPOOR_METRICS_TOKEN>",
        "SPOOR_LOGS_TOKEN": "<SPOOR_LOGS_TOKEN>",
        "SPOOR_TRACES_TOKEN": "<SPOOR_TRACES_TOKEN>",
        "NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>",
        "NEW_RELIC_API_KEY": "<NEW_RELIC_API_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "spoor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOOR_METRICS_TYPE",
        "-e",
        "SPOOR_LOGS_TYPE",
        "-e",
        "SPOOR_TRACES_TYPE",
        "-e",
        "SPOOR_METRICS_URL",
        "-e",
        "SPOOR_LOGS_URL",
        "-e",
        "SPOOR_TRACES_URL",
        "-e",
        "SPOOR_METRICS_TOKEN",
        "-e",
        "SPOOR_LOGS_TOKEN",
        "-e",
        "SPOOR_TRACES_TOKEN",
        "-e",
        "NEW_RELIC_ACCOUNT_ID",
        "-e",
        "NEW_RELIC_API_KEY",
        "ghcr.io/asinha07/spoor:0.3.1"
      ],
      "env": {
        "SPOOR_METRICS_TYPE": "<SPOOR_METRICS_TYPE>",
        "SPOOR_LOGS_TYPE": "<SPOOR_LOGS_TYPE>",
        "SPOOR_TRACES_TYPE": "<SPOOR_TRACES_TYPE>",
        "SPOOR_METRICS_URL": "<SPOOR_METRICS_URL>",
        "SPOOR_LOGS_URL": "<SPOOR_LOGS_URL>",
        "SPOOR_TRACES_URL": "<SPOOR_TRACES_URL>",
        "SPOOR_METRICS_TOKEN": "<SPOOR_METRICS_TOKEN>",
        "SPOOR_LOGS_TOKEN": "<SPOOR_LOGS_TOKEN>",
        "SPOOR_TRACES_TOKEN": "<SPOOR_TRACES_TOKEN>",
        "NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>",
        "NEW_RELIC_API_KEY": "<NEW_RELIC_API_KEY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
SPOOR_METRICS_TYPENoBackend for metrics: victoriametrics (default), prometheus or newrelic
SPOOR_LOGS_TYPENoBackend for logs: victorialogs (default), loki or newrelic
SPOOR_TRACES_TYPENoBackend for traces: victoriatraces (default), tempo or newrelic
SPOOR_METRICS_URLNoMetrics backend URL (VictoriaMetrics or Prometheus) as seen from the container, e.g. http://host.docker.internal:8428
SPOOR_LOGS_URLNoLogs backend URL (VictoriaLogs or Loki) as seen from the container, e.g. http://host.docker.internal:9428
SPOOR_TRACES_URLNoTraces backend URL (VictoriaTraces or Tempo) as seen from the container, e.g. http://host.docker.internal:10428
SPOOR_METRICS_TOKENNoBearer token for the metrics backend, if it requires one
SPOOR_LOGS_TOKENNoBearer token for the logs backend, if it requires one
SPOOR_TRACES_TOKENNoBearer token for the traces backend, if it requires one
NEW_RELIC_ACCOUNT_IDNoNew Relic account ID, for signals of type newrelic
NEW_RELIC_API_KEYNoNew Relic User API key (NRAK-...), for signals of type newrelic

More cloud & devops MCP servers