Open Cluster Management MCP Server
The OCM MCP Server provides a robust gateway for Generative AI (GenAI) systems to interact with multiple Kubernetes clusters through the Model Context Protocol (MCP). It facilitates comprehensive operations on Kubernetes resources, streamlined multi-cluster management, and delivered interactive cluster observability.
🚀 Features
🛠️ MCP Tools - Kubernetes Cluster Awareness
- ✅ Retrieve resources from the hub cluster (current context)
- ✅ Retrieve resources from the managed clusters
- ✅ Connect to a managed cluster using a specified
ClusterRole
- ✅ Access resources across multiple Kubernetes clusters(via Open Cluster Management)
- 🔄 Retrieve and analyze metrics, logs, and alerts from integrated clusters
- ❌ Interact with multi-cluster APIs, including Managed Clusters, Policies, Add-ons, and more
📦 Prompt Templates for Open Cluster Management (Planning)
- Provide reusable prompt templates tailored for OCM tasks, streamlining agent interaction and automation
📚 MCP Resources for Open Cluster Management (Planning)
- Reference official OCM documentation and related resources to support development and integration
📌 How to Use
Configure the server using the following snippet:
Note: Ensure kubectl
is installed. By default, the tool uses the KUBECONFIG
environment variable to access the cluster. In a multi-cluster setup, it treats the configured cluster as the hub cluster, accessing others through it.
License
This project is licensed under the MIT License.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Generative AI システムがモデル コンテキスト プロトコルを通じて複数の Kubernetes クラスターと対話するためのゲートウェイであり、包括的な Kubernetes リソース操作とマルチクラスター管理を可能にします。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.Last updated -704MIT License
- -securityFlicense-qualityAn auto-generated MCP server that enables interaction with Google Kubernetes Engine Hub API for multi-cluster management through natural language commands.Last updated -
- -securityFlicense-qualityA Model Control Protocol server that extends AI assistants with Kubernetes operations capabilities, allowing for managing deployments, pods, services and other K8s resources.Last updated -2
- -securityFlicense-qualityA Model Context Protocol server that gives Claude access to multiple AI models (Gemini, OpenAI, OpenRouter) for enhanced code analysis, problem-solving, and collaborative development through AI orchestration with conversations that continue across tasks.Last updated -6,882