by yanmxa
Provides a gateway for Generative AI systems to interact with multiple Kubernetes clusters via the Model Context Protocol, enabling resource retrieval, multi‑cluster operations, and observability.
Enables Generative AI agents to query, retrieve, and analyze resources across a hub cluster and its managed clusters, leveraging Open Cluster Management to handle multi‑cluster environments.
Add the server to your MCP configuration:
{
"mcpServers": {
"multicluster-mcp-server": {
"command": "npx",
"args": ["-y", "multicluster-mcp-server@latest"]
}
}
}
Ensure kubectl
is installed and the KUBECONFIG
environment variable points to the hub cluster. The tool will use this hub context to reach managed clusters.
ClusterRole
.Q: What are the prerequisites?
A: kubectl
must be installed and KUBECONFIG
set to the hub cluster.
Q: Can the server modify resources? A: Current focus is on read‑only operations and observability; write capabilities are planned.
Q: How do I specify a managed cluster?
A: Use the provided CLI options or configure a ClusterRole
for the target cluster as described in the documentation.
Q: Is the project open source? A: Yes, it is released under the MIT License.
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.
✅ 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
Configure 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.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "multicluster-mcp-server": { "command": "npx", "args": [ "-y", "multicluster-mcp-server@latest" ], "env": {} } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.