io.github.sandeepbazar/ocm-mcp-server
Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy, approval, audit.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
ocm-mcp-serverclaude mcp add ocm-mcp-server -e 'KUBECONFIG=<KUBECONFIG>' -e 'OCM_MCP_HUB_CONTEXT=<OCM_MCP_HUB_CONTEXT>' -e 'OCM_MCP_READ_ONLY=<OCM_MCP_READ_ONLY>' -- uvx ocm-mcp-server==0.4.0
{
"mcpServers": {
"ocm-mcp-server": {
"command": "uvx",
"args": [
"ocm-mcp-server==0.4.0"
],
"env": {
"KUBECONFIG": "<KUBECONFIG>",
"OCM_MCP_HUB_CONTEXT": "<OCM_MCP_HUB_CONTEXT>",
"OCM_MCP_READ_ONLY": "<OCM_MCP_READ_ONLY>"
}
}
}
}
Variables d'environnement
KUBECONFIGobligatoire Path to the kubeconfig with the OCM hub context (and optional spoke contexts).OCM_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).
ghcr.io/sandeepbazar/ocm-mcp-server:0.4.0claude mcp add ocm-mcp-server -e 'KUBECONFIG=<KUBECONFIG>' -e 'OCM_MCP_HUB_CONTEXT=<OCM_MCP_HUB_CONTEXT>' -e 'OCM_MCP_READ_ONLY=<OCM_MCP_READ_ONLY>' -- docker run -i --rm ghcr.io/sandeepbazar/ocm-mcp-server:0.4.0
{
"mcpServers": {
"ocm-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/sandeepbazar/ocm-mcp-server:0.4.0"
],
"env": {
"KUBECONFIG": "<KUBECONFIG>",
"OCM_MCP_HUB_CONTEXT": "<OCM_MCP_HUB_CONTEXT>",
"OCM_MCP_READ_ONLY": "<OCM_MCP_READ_ONLY>"
}
}
}
}
Variables d'environnement
KUBECONFIGobligatoire Path (inside the container) to the mounted kubeconfig with the OCM hub context.OCM_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).
Questions fréquentes
Qu'est-ce que io.github.sandeepbazar/ocm-mcp-server ?
Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy, approval, audit.
Comment installer io.github.sandeepbazar/ocm-mcp-server ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add ocm-mcp-server -e 'KUBECONFIG=<KUBECONFIG>' -e 'OCM_MCP_HUB_CONTEXT=<OCM_MCP_HUB_CONTEXT>' -e 'OCM_MCP_READ_ONLY=<OCM_MCP_READ_ONLY>' -- uvx ocm-mcp-server==0.4.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.sandeepbazar/ocm-mcp-server ?
Oui. Il attend KUBECONFIG, à renseigner dans sa configuration.
io.github.sandeepbazar/ocm-mcp-server est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient io.github.sandeepbazar/ocm-mcp-server ?
Il est publié par sandeepbazar. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.