MCP Now
Multicluster-MCP-Sever

Multicluster-MCP-Sever

by yanmxa
GitHub

The gateway for GenAI systems to interact with multiple Kubernetes clusters.

cluster
kubernetes
operation
server
interact

Multicluster MCP server

The Multi-Cluster 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

๐Ÿ›  Kubernetes Cluster Operations

โœ… Fully supports kubectl to interact with your cluster

โœ… Create, update, and list resources (Deployments, Pods, Services, etc.)

โŒ Create, update, and retrieve resources based on the CRD (the tool retrieves and compresses the CRD, preserving all information while reducing tokens for the LLM).

Kubernetes Operations

alt text

๐Ÿ“Š Cluster Observability

โŒ Retrieve and analyze metrics, logs, and alerts from integrated clusters

๐ŸŒ Multi-Cluster Management (via Open Cluster Management)

โœ… Access and manage resources across multiple Kubernetes clusters

Mutiple Kubernetes Operations

Watch the demo

โŒ Interact with multi-cluster APIs, including Managed Clusters, Policies, Add-ons, and more

๐Ÿ›  Installation

๐Ÿ“Œ 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.

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

1{ 2 "mcpServers": { 3 "y": { 4 "command": "/path/to/multicluster-mcp-server/build/index.js" 5 } 6 } 7}

License

This project is licensed under the MIT License.