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.
🛠️ 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
Mutiple Kubernetes Clusters OperationsConfigure the server using the following snippet:
{ "mcpServers": { "multicluster-mcp-server": { "command": "npx", "args": [ "-y", "multicluster-mcp-server@latest" ] } } }
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.
This project is licensed under the MIT License.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4