multicluster-mcp-server

A robust gateway for Generative AI systems to interact with multiple Kubernetes clusters through the Model Context Protocol (MCP).

Visit Server
Added on 3/28/2025

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).

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

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

{
  "mcpServers": {
    "y": {
      "command": "/path/to/multicluster-mcp-server/build/index.js"
    }
  }
}

License

This project is licensed under the MIT License.