multicluster-mcp-server

multicluster-mcp-server avatar

by yanmxa

Community Servers

The gateway for GenAI systems to interact with multiple Kubernetes clusters through the MCP

What is multicluster-mcp-server

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.

Leave a Comment

Comments section will be available soon. Stay tuned!

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.