Ocm MCP Server
Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.6.0
- Listing updated
- 6 days ago
About Ocm MCP Server
Ocm MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy, approval, audit.
Install
Run in a terminal
claude mcp add ocm-mcp-server --env KUBECONFIG='<KUBECONFIG>' -- uvx ocm-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"ocm-mcp-server": {
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<KUBECONFIG>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ocm-mcp-server": {
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<KUBECONFIG>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"ocm-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<KUBECONFIG>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ocm-mcp-server": {
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<KUBECONFIG>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ocm-mcp-server": {
"command": "uvx",
"args": [
"ocm-mcp-server"
],
"env": {
"KUBECONFIG": "<KUBECONFIG>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
KUBECONFIGPath to the kubeconfig with the OCM hub context (and optional spoke contexts).RequiredOCM_MCP_HUB_CONTEXTKubeconfig context name of the OCM hub cluster (defaults to the current context).OCM_MCP_READ_ONLYSet to 'true' to disable the gated write path entirely (read-only fleet access).KUBECONFIGPath (inside the container) to the mounted kubeconfig with the OCM hub context.RequiredOCM_MCP_HUB_CONTEXTKubeconfig context name of the OCM hub cluster (defaults to the current context).OCM_MCP_READ_ONLYSet to 'true' to disable the gated write path entirely (read-only fleet access).
Pricing
Open source
Ocm MCP Server FAQ
Is Ocm MCP Server free?
Yes. Ocm MCP Server is open source, so you can use and self-host it for free.
How do I add Ocm MCP Server to Claude Code?
Run this command in your terminal: claude mcp add ocm-mcp-server --env KUBECONFIG='<KUBECONFIG>' -- uvx ocm-mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.