Ocm MCP Server logo

Ocm MCP Server

Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy, approval, audit.

Install Ocm MCP Server

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ocm-mcp-server": {
      "command": "uvx",
      "args": [
        "ocm-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 35 tools correctly ().

Overview

Tools35

What Ocm MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~3.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 77d

What it can do

From the 35 tools this server returned when we ran it; 35 declare their own safety hints.

Can delete or modify data · 5Handles credentials · 8Makes network requests · 35Read-only tools · 30
Network at startup2 connections
Files written at startup12

Observed 2026-10-25 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · ocm-mcp-server (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars15Stargazers on the source repository.
Last commit29d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed35Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

ocm-mcp-server: an agent's tool calls pass through a guardrailed control plane where reads are free, consequential writes need a human signature, and everything is recorded.

ocm-mcp-server

📖 Read the docs site → ocm-mcp-server.github.io

Star us ❤️ →  Star this repository on GitHub

AgentOps for Kubernetes fleets, done safely.

An MCP server that lets AI agents operate a multi-cluster Kubernetes fleet through an Open Cluster Management hub, with policy, approval, and audit between the model and your clusters.

The agent never holds a kubeconfig. Every write is policy-checked, human-approved, and traced.

License Python MCP OCM Kyverno CI e2e Coverage OpenSSF Scorecard PyPI Release

LinkedIn YouTube

📦 Get it  ·  ✨ Why  ·  🔌 Connect your agent  ·  🧭 Architecture  ·  🧰 Toolsets  ·  🛠️ Tools  ·  💬 Prompts  ·  🔭 Observability  ·  🚀 Quickstart  ·  📖 Wiki  ·  📚 Docs

An agent diagnoses a degraded workload across the fleet, proposes a fix as a ManifestWork, is rejected once by the guardrails, corrects it, waits for a human approval token, applies the fix, verifies recovery, and writes the incident report from the audit log

The whole safe-remediation loop: investigate with free reads, propose a change, get rejected by the guardrails and correct it, wait for a human-signed token, apply, verify, and report from the audit log.


Where to get it, and how it's vetted

  • 📦 PyPI - ocm-mcp-server - pip install ocm-mcp-server (or run directly with uvx ocm-mcp-server). Every release is published straight from CI via OIDC trusted publishing - no long-lived tokens anywhere.
  • 🗂️ Official MCP Registry - listed as io.github.ocm-mcp-server/ocm-mcp-server, so any MCP client or platform that browses the registry can discover and auto-configure this server (package, transport, and required env vars are all in the listing); the registry validates the listing against this repo and the PyPI package.
  • 🐳 Container image on GHCR - docker run ghcr.io/ocm-mcp-server/ocm-mcp-server (kubeconfig mount shown in the deployment guide); built in CI with an SBOM and SLSA provenance attached, vulnerability-gated with Trivy, and signed keyless with Cosign so you can verify what you run.
  • 🛡️ OpenSSF Scorecard - the repo's supply-chain security posture (pinned dependencies, branch protection, signed releases, ...) is scored automatically every week and published for anyone to inspect.

Why this exists

Your team runs many Kubernetes clusters. Sooner or later somebody asks the question: can an AI agent take the 2 a.m. page?

The quickest way to find out is to hand a model kubectl with cluster-admin and watch. In production that experiment ends badly, for three separate reasons:

  • The model is non-deterministic. The same alert can produce a careful diagnosis one run and a kubectl delete the next.
  • The credentials are real. There is no dry run between the model's decision and your production cluster.
  • There is no record. When something breaks, you cannot reconstruct what the agent did, in what order, or on whose authority.

This project starts from a different observation: fleets already have a control point that humans trust every day, the multi-cluster hub. Open Cluster Management (a CNCF project) gives every fleet an inventory (ManagedCluster), a scheduler (Placement), and a delivery channel (ManifestWork). ocm-mcp-server exposes that hub to agents as a small set of typed MCP tools, and puts four independent layers between the model and your clusters:

#LayerEnforced byWhat it stops
1Static checksthis server, before anything elseprivileged pods, host access, system namespaces, unpinned images, disallowed kinds
2Policy admissionKyverno dry-run on the hubanything your org's policies reject, evaluated inside the ManifestWork envelope
3Human approvalEd25519 token signed by ocm-mcp approve on a trusted terminal; the server needs only the public verifier keyany change reaching a cluster without a person consenting to that exact content and operation (one-time token, bound to content + operation + issuer/audience + expiry)
4Least-privilege RBACKuberneteseverything else; no Secrets, no exec, no deletes outside its own ManifestWorks

None of these layers live in the system prompt, so none of them can be talked out of.

A write is two calls with a person between them: propose returns a content hash, a human signs that exact hash on their own terminal with an Ed25519 key, apply spends the one-time token, and a replay of the same token is rejected.

A write is two calls with a person between them. The token is bound to one content hash and one operation, it expires on its own, and offered a second time it is refused.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ocm MCP Server

ocm-mcp-server is an MCP server that lets AI agents operate a multi-cluster Kubernetes fleet through an Open Cluster Management hub. It places policy, human approval, and audit controls between agents and clusters. Reads are free, while consequential writes are policy-checked, require a human signature, and are traced; agents never hold a kubeconfig.

ocm-mcp-server manages a multi-cluster Kubernetes fleet through an Open Cluster Management hub. The server provides the control plane between AI agents and managed clusters, with policy, approval, and audit controls applied to operations.

No, AI agents do not hold a kubeconfig when using ocm-mcp-server. Agent tool calls pass through the guardrailed control plane, which mediates access to the Kubernetes fleet.

Yes, consequential writes are policy-checked and require human approval before execution. ocm-mcp-server also records operations for audit, while reads are free.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOcm MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ocm-mcp-server?style=directory)](https://allmcps.com/mcp/ocm-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/ocm-mcp-server"><img src="https://allmcps.com/api/badge/ocm-mcp-server?style=directory" alt="Ocm MCP Server on AllMCPs" /></a>