devops-mcp
MCP server by NotHarshhaa Community
Gives AI assistants live read and write access to Kubernetes, ArgoCD, Prometheus, PagerDuty and Loki through one MCP server. Built for DevOps engineers and SREs who debug incidents from chat. Point it at your existing clusters and tools.
Install devops-mcp
Built from the published package, never by AI.
claude mcp add devops-mcp -- npx -y @notharshhaa/devops-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"devops-mcp": {
"args": [
"-y",
"@notharshhaa/devops-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"devops-mcp": {
"args": [
"-y",
"@notharshhaa/devops-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"devops-mcp": {
"args": [
"-y",
"@notharshhaa/devops-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add devops-mcp -- npx -y @notharshhaa/devops-mcp{
"mcpServers": {
"devops-mcp": {
"args": [
"-y",
"@notharshhaa/devops-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add devops-mcp npx -y @notharshhaa/devops-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the devops-mcp block.
About
devops-mcp is an open source Model Context Protocol server for DevOps engineers. It lets AI agents read and manage Kubernetes, ArgoCD, Prometheus, PagerDuty and Loki from one install. Tools are grouped by prefix, such as k8s__, argo__, prom__, pd__ and logs__, and a devops__ prefix aggregates across providers for incident debugging.
Each provider is configured with environment variables, and providers with missing config are skipped. Tools follow a three-tier safety model: read tools have no side effects, mutate tools default to dry run, and destructive tools need explicit confirmation. The server runs over stdio by default, with an optional Streamable HTTP mode. It suits SREs and platform engineers who want live cluster and incident data inside an AI assistant such as Claude.
Written from the project's README and checked against it.
Tools it gives your assistant
k8s__list_podsLists pods with status, restarts, node and age.k8s__get_pod_logsTails or streams logs from a pod container.argo__list_appsLists ArgoCD apps with health, sync status and source repo.argo__sync_appTriggers an ArgoCD sync with dry-run, prune or force options.prom__queryRuns an instant PromQL query with label and value output.prom__get_firing_alertsShows currently firing Prometheus alerts with their duration.prom__summarize_service_healthSummarizes service latency, error rate against SLO and traffic in plain language.logs__searchSearches Loki logs with a custom LogQL query.pd__who_is_oncallShows the current on-call per schedule or escalation policy.pd__summarize_incidentSummarizes a PagerDuty incident, including affected services and status.
What you need
- Node.js 20 or newer
- Kubeconfig file or in-cluster service account
- ArgoCD server URL and token
- Prometheus URL
- PagerDuty API v2 token
- Loki URL and token
| Setting | Needed | What it is |
|---|---|---|
KUBECONFIGEnvironment variable | Optional | Path to Kubernetes kubeconfig file |
K8S_Environment variable | Optional | Kubernetes context to use |
ARGOCD_Environment variable | Optional | ArgoCD server URL |
ARGOCD_Environment variable, secret | Optional | ArgoCD authentication token |
PROMETHEUS_Environment variable | Optional | Prometheus server URL |
PROMETHEUS_Environment variable, secret | Optional | Prometheus bearer token |
PAGERDUTY_Environment variable, secret | Optional | PagerDuty API token |
PAGERDUTY_Environment variable | Optional | PagerDuty user email for mutations requiring From header |
LOKI_Environment variable | Optional | Loki server URL |
LOKI_Environment variable, secret | Optional | Loki authentication token |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Why is the payments deployment in CrashLoopBackOff?
- What changed in the last ArgoCD sync for the auth app?
- Who is on call right now and what incidents are open?
Good to know
- Mutate tools default to dry_run true and must be set to false to run.
- Destructive tools require confirm true or an interactive confirmation.
- Providers with missing configuration are silently skipped.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to devops-mcp
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
devops-mcp: common questions
Which systems does devops-mcp connect to?
The source lists Kubernetes, ArgoCD, Prometheus, PagerDuty, Helm and Loki. Helm is available through the helm binary.
Can devops-mcp change my cluster?
Yes, some tools mutate resources, such as scaling deployments and applying manifests. Mutations default to a dry run, and deletes need confirmation.
How is access to secrets handled?
The describe tool auto-redacts secret values. Access can also be limited to specific namespaces with K8S_ALLOWED_NAMESPACES.
How do I install devops-mcp?
In Claude Code run claude mcp add devops-mcp -- npx -y @notharshhaa/devops-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is devops-mcp the official server?
devops-mcp is a community project by NotHarshhaa, not verified by a company domain.
Is devops-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is devops-mcp safe to use?
It scores 62 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to devops-mcp?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does devops-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
