Ocm MCP Server
by ocm-mcp-serverio.github.ocm-mcp-server/ocm-mcp-serverv0.6.0
Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy, approval, audit.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Ocm MCP server
Install in Claude Code
claude mcp add ocm -e KUBECONFIG='<kubeconfig>' -- uvx ocm-mcp-serverInstall in Cursor
{
"mcpServers": {
"ocm": {
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<kubeconfig>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"ocm": {
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<kubeconfig>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"ocm": {
"type": "stdio",
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<kubeconfig>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"ocm": {
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<kubeconfig>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| KUBECONFIG | yes | — | Path (inside the container) to the mounted kubeconfig with the OCM hub context. |
| OCM_MCP_HUB_CONTEXT | — | — | Kubeconfig context name of the OCM hub cluster (defaults to the current context). |
| OCM_MCP_READ_ONLY | — | — | Set to 'true' to disable the gated write path entirely (read-only fleet access). |
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 2d ago · GitHub
Latest release
2026-08-29 · 42d ago · GitHub · v0.6.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-29 · 42d ago · official registry · v0.6.0
FAQ
›How do I install the Ocm MCP server in Claude Code?
Run: claude mcp add ocm -e KUBECONFIG='<kubeconfig>' -- uvx ocm-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Ocm require an API key?
Yes. It expects KUBECONFIG.
›Can I use Ocm as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Ocm in the official MCP registry?
Yes, as io.github.ocm-mcp-server/ocm-mcp-server.
Alternatives to Ocm
Other devops & ci/cd MCP servers.