Install guide · VS Code
Install tracehub-mcp for VS Code
Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.
Add to Cursor: tracehub-mcpInstall in VS Code: tracehub-mcpInstall in VS Code Insiders: tracehub-mcp
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "servers": { "mcpsmiths-tracehub-mcp": { "type": "stdio", "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
| System | Path |
|---|---|
| macOS | .vscode/mcp.json |
| Windows | .vscode/mcp.json |
| Linux | .vscode/mcp.json |