
Multi-Cluster MCP server
โ 4from yanmxa
A gateway for GenAI systems to interact with multiple Kubernetes clusters through the MCP.
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:
{
"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 tool doesn't publish a standard install command โ the repository README on GitHub covers its setup.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
License
This project is licensed under the MIT License.