observability mcp for VS Code
io.github.thotischner/observability-mcp
Unified observability gateway for AI agents — Prometheus, Loki & more, with anomaly detection.
client:VS Code
transport:stdio
runtime:npm
Install observability mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mcp-transport",
"description": "MCP_TRANSPORT",
"password": true
},
{
"type": "promptString",
"id": "prometheus-url",
"description": "PROMETHEUS_URL",
"password": true
},
{
"type": "promptString",
"id": "loki-url",
"description": "LOKI_URL",
"password": true
}
],
"servers": {
"observability-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@thotischner/observability-mcp"
],
"env": {
"MCP_TRANSPORT": "${input:mcp-transport}",
"PROMETHEUS_URL": "${input:prometheus-url}",
"LOKI_URL": "${input:loki-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs