Skip to content
tracehub-mcp
Install guide · Cursor

Install tracehub-mcp for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "mcpsmiths-tracehub-mcp": {      "command": "uvx",      "args": [        "tracehub-mcp"      ],      "env": {        "BACKEND_TYPE": "jaeger",        "BACKEND_URL": "",        "BACKEND_API_KEY": "YOUR_BACKEND_API_KEY",        "BACKEND_AWS_REGION": "",        "BACKEND_NEWRELIC_ACCOUNT_ID": "",        "BACKEND_HONEYCOMB_DATASET": "",        "BACKEND_APP_KEY": "YOUR_BACKEND_APP_KEY",        "BACKEND_TEMPO_INSTANCE_ID": "",        "BACKEND_SENTRY_ORG": "",        "BACKEND_SENTRY_PROJECT": "",        "BACKEND_ENVIRONMENTS": "prd",        "BACKEND_TIMEOUT": "30",        "BACKEND_MAX_RESPONSE_BYTES": "67108864",        "LOG_LEVEL": "INFO",        "MAX_TRACES_PER_QUERY": "500",        "SLOW_REQUEST_THRESHOLD_MS": "",        "QUERY_CACHE_TTL_SECONDS": "",        "QUERY_CACHE_MAX_ENTRIES": "1024",        "OTEL_EXPORTER_OTLP_ENDPOINT": "",        "OTEL_SERVICE_NAME": "tracehub-mcp",        "MCP_INCLUDE_ARGS_IN_SPANS": "false"      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json