The Multi-Cluster MCP Server acts as a gateway for GenAI systems to interact with multiple Kubernetes clusters via MCP, enabling resource management, cluster observability, and multi-cluster operations. The Multi-Cluster MCP
The Multi-Cluster MCP Server acts as a gateway, enabling Generative AI (GenAI) systems to interact with multiple Kubernetes clusters using the Model Context Protocol (MCP). It streamlines Kubernetes resource operations, multi-cluster management, and provides interactive cluster observability.
Supports kubectl
for cluster interaction, enabling the creation, updating, and listing of resources like Deployments, Pods, and Services. It can also create, update, and retrieve resources based on CRDs, compressing them to reduce token usage for LLMs.
Retrieves and analyzes metrics, logs, and alerts from integrated clusters, providing comprehensive insights.
Facilitates access and management of resources across multiple Kubernetes clusters. It allows interaction with multi-cluster APIs, including Managed Clusters, Policies, and Add-ons.
Note: Requires kubectl
. It uses the KUBECONFIG
environment variable for cluster access. In multi-cluster setups, the configured cluster is treated as the hub, accessing others through it. To use with Claude Desktop, add the server configuration to the claude_desktop_config.json
file.
This project is licensed under the MIT License.
yanmxa/multicluster-mcp-server
February 28, 2025
March 13, 2025
TypeScript