devops mcp for VS Code
io.github.notharshhaa/devops-mcp
Unified MCP server for Kubernetes, ArgoCD, Prometheus, PagerDuty, and Loki
client:VS Code
transport:stdio
runtime:npm
Install devops mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "kubeconfig",
"description": "KUBECONFIG",
"password": true
},
{
"type": "promptString",
"id": "k8s-context",
"description": "K8S_CONTEXT",
"password": true
},
{
"type": "promptString",
"id": "argocd-server",
"description": "ARGOCD_SERVER",
"password": true
},
{
"type": "promptString",
"id": "argocd-token",
"description": "ARGOCD_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "prometheus-url",
"description": "PROMETHEUS_URL",
"password": true
},
{
"type": "promptString",
"id": "prometheus-bearer-token",
"description": "PROMETHEUS_BEARER_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "pagerduty-token",
"description": "PAGERDUTY_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "loki-url",
"description": "LOKI_URL",
"password": true
},
{
"type": "promptString",
"id": "loki-token",
"description": "LOKI_TOKEN",
"password": true
}
],
"servers": {
"devops-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@notharshhaa/devops-mcp"
],
"env": {
"KUBECONFIG": "${input:kubeconfig}",
"K8S_CONTEXT": "${input:k8s-context}",
"ARGOCD_SERVER": "${input:argocd-server}",
"ARGOCD_TOKEN": "${input:argocd-token}",
"PROMETHEUS_URL": "${input:prometheus-url}",
"PROMETHEUS_BEARER_TOKEN": "${input:prometheus-bearer-token}",
"PAGERDUTY_TOKEN": "${input:pagerduty-token}",
"LOKI_URL": "${input:loki-url}",
"LOKI_TOKEN": "${input:loki-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs