Skip to content
MCP server

opsgate

Kubernetes MCP server where every change needs a passkey approval from your phone

Runs locallyStatus and history
Pricing
Open source
Platforms
self-hosted, CLI
Runs
Locally
Version
0.8.0
Listing updated
3 days ago

About opsgate

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

The catalogue of changes is small on purpose: restart, scale, image restore and replacing a pod its controller recreates. Nothing that deletes data becomes an approval card. There is no shell tool and no Kubernetes Secrets tool, and providers, write actions and allowlists are all off until you enable them.

Alerts come from an opsgate watch process that follows the Kubernetes API and notifies Discord, webhooks or email, and can place the alert in the approval inbox with a phone notification. Before running, the server plans again and stops if anything changed since you approved, then reports whether the service recovered.

The README says it is not 1.0 yet, third-party security review is pending, and notes, the host provider and the analyzer are experimental. It is written in Go and runs as a container image.

Install

Run in a terminal

claude mcp add opsgate -- docker run -i --rm ghcr.io/gkdis6/opsgate:v0.8.0

Add to claude_desktop_config.json

{
  "mcpServers": {
    "opsgate": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gkdis6/opsgate:v0.8.0"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "opsgate": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gkdis6/opsgate:v0.8.0"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "opsgate": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gkdis6/opsgate:v0.8.0"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "opsgate": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gkdis6/opsgate:v0.8.0"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "opsgate": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gkdis6/opsgate:v0.8.0"
      ]
    }
  }
}

What it does

Approval cards
Each change shows the exact plan, who suggested it and whether it can be undone.
Passkey approval
Approve from a phone or computer with a passkey.
Re-plan before running
Stops if the cluster changed since approval.
Alert watching
Sends alerts to Discord, webhooks or email.
No shell, no Secrets tool
Only purpose-built tools exist.

Good for

  • Restart a failing deployment from your phone during an outage
  • Let an AI propose a fix but keep a human gate
  • Scale a service after an alert
  • Keep runbooks as Markdown notes for assistants

Pricing

Open source

Open source, self-hosted

Prices change. Check gkdis6.github.io before you buy.

opsgate FAQ

Can the AI run any command?

No. There is no shell tool, and only restart, scale, image restore and pod replacement are offered.

What is it written in?

Go, shipped as a container image.

Is it production ready?

The README says it is not 1.0 yet and that a third-party security review is pending.

Which AI clients work?

Claude, ChatGPT, Claude Code, Cursor and others that speak MCP.

Is opsgate free?

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

How do I add opsgate to Claude Code?

Run this command in your terminal: claude mcp add opsgate -- docker run -i --rm ghcr.io/gkdis6/opsgate:v0.8.0

What are the best alternatives to opsgate?

The closest alternatives to opsgate are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

Alternatives to opsgate

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  3. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  4. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  5. SecureCloud

    MCP server

    SentinelOne and IT security catalog, prices, quotes and checkout links for Israel

    • 7 tools
    • Remote
    • Free
    • Security