Skip to content
MCP server

Devops MCP

Unified MCP server for Kubernetes, ArgoCD, Prometheus, PagerDuty, and Loki

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
2.1.1
Listing updated
4 days ago

About Devops MCP

Devops MCP is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add devops-mcp --env ARGOCD_TOKEN='<ARGOCD_TOKEN>' --env PROMETHEUS_BEARER_TOKEN='<PROMETHEUS_BEARER_TOKEN>' --env PAGERDUTY_TOKEN='<PAGERDUTY_TOKEN>' --env LOKI_TOKEN='<LOKI_TOKEN>' -- npx -y @notharshhaa/devops-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "devops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "PROMETHEUS_BEARER_TOKEN": "<PROMETHEUS_BEARER_TOKEN>",
        "PAGERDUTY_TOKEN": "<PAGERDUTY_TOKEN>",
        "LOKI_TOKEN": "<LOKI_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "devops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "PROMETHEUS_BEARER_TOKEN": "<PROMETHEUS_BEARER_TOKEN>",
        "PAGERDUTY_TOKEN": "<PAGERDUTY_TOKEN>",
        "LOKI_TOKEN": "<LOKI_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "devops-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "PROMETHEUS_BEARER_TOKEN": "<PROMETHEUS_BEARER_TOKEN>",
        "PAGERDUTY_TOKEN": "<PAGERDUTY_TOKEN>",
        "LOKI_TOKEN": "<LOKI_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "devops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "PROMETHEUS_BEARER_TOKEN": "<PROMETHEUS_BEARER_TOKEN>",
        "PAGERDUTY_TOKEN": "<PAGERDUTY_TOKEN>",
        "LOKI_TOKEN": "<LOKI_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "devops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "PROMETHEUS_BEARER_TOKEN": "<PROMETHEUS_BEARER_TOKEN>",
        "PAGERDUTY_TOKEN": "<PAGERDUTY_TOKEN>",
        "LOKI_TOKEN": "<LOKI_TOKEN>"
      }
    }
  }
}

Configuration

  • KUBECONFIGPath to Kubernetes kubeconfig file
  • K8S_CONTEXTKubernetes context to use
  • ARGOCD_SERVERArgoCD server URL
  • ARGOCD_TOKENArgoCD authentication token
  • PROMETHEUS_URLPrometheus server URL
  • PROMETHEUS_BEARER_TOKENPrometheus bearer token
  • PAGERDUTY_TOKENPagerDuty API token
  • PAGERDUTY_USER_EMAILPagerDuty user email for mutations requiring From header
  • LOKI_URLLoki server URL
  • LOKI_TOKENLoki authentication token

Pricing

Open source

Devops MCP FAQ

Is Devops MCP free?

Yes. Devops MCP is open source, so you can use and self-host it for free.

How do I add Devops MCP to Claude Code?

Run this command in your terminal: claude mcp add devops-mcp --env ARGOCD_TOKEN='<ARGOCD_TOKEN>' --env PROMETHEUS_BEARER_TOKEN='<PROMETHEUS_BEARER_TOKEN>' --env PAGERDUTY_TOKEN='<PAGERDUTY_TOKEN>' --env LOKI_TOKEN='<LOKI_TOKEN>' -- npx -y @notharshhaa/devops-mcp

What are the best alternatives to Devops MCP?

The closest alternatives to Devops MCP are Agent Yurt, Proofline, filex, MagicWP MCP and Kubana Cloud Domains.

Alternatives to Devops MCP

  1. Agent Yurt

    MCP server

    Back up agent memory, files and dashboards, then recover from a reviewed snapshot

    Not checked yet
    • Remote
    • Free
    • Knowledge and memory
  2. Proofline

    MCP server

    Production-aware review of changes against your AWS or Google Cloud setup, via MCP

    • Remote
    • Freemium
    • Developer tools
  3. filex

    MCP server

    Self-hosted file manager in one Go binary with a built-in MCP server for agents

    Not checked yet
    • Remote
    • Open source
    • Files and documents
  4. MagicWP MCP

    MCP server

    Run WordPress hosting from an assistant: backups, staging, updates, PHP and domains

    • Remote
    • Free trial
    • Cloud and infrastructure
  5. Search, register and renew domains and set nameservers at Kubana Cloud from an assistant

    Not checked yet
    • 3 tools
    • Remote
    • Paid
    • Cloud and infrastructure
  6. Create DNS zones, edit records and check nameserver delegation on Kubana Cloud

    Not checked yet
    • 5 tools
    • Remote
    • Free
    • Cloud and infrastructure