io.github.sandeepbazar/ocm-mcp-server
Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy, approval, audit.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «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>"
}
}
}
}
متغيرات البيئة
KUBECONFIGإلزامي 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>"
}
}
}
}
متغيرات البيئة
KUBECONFIGإلزامي 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).
الأسئلة الشائعة
ما هو io.github.sandeepbazar/ocm-mcp-server؟
Guardrailed fleet ops for AI agents: multi-cluster Kubernetes via OCM with policy, approval, audit.
كيف أثبّت io.github.sandeepbazar/ocm-mcp-server؟
يعمل على جهازك. في 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. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.sandeepbazar/ocm-mcp-server إلى مفتاح API؟
نعم. يتطلب KUBECONFIG، وتضبطها في إعداداته.
هل io.github.sandeepbazar/ocm-mcp-server مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.sandeepbazar/ocm-mcp-server؟
ينشره sandeepbazar. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.