Multi-Cluster MCP server

by yanmxa

4 stars
162 downloads
Not rated
GitHub

About

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

Details

Author
yanmxa
GitHub stars
4
Downloads
162
Categories
Cloud Service, Infrastructure, Other

- Retrieve resources from the hub cluster (current context)
- Retrieve resources from 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, and Add-ons

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Multi-Cluster MCP server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure the server in your MCP client using the JSON snippet with npx -y multicluster-mcp-server@latest. Ensure kubectl is installed and that the KUBECONFIG environment variable points to the hub cluster. The server accesses managed clusters through the hub cluster.

clusters

Retrieves a list of Kubernetes clusters (also known as managed clusters or spoke clusters).

connect_cluster

Generates the KUBECONFIG for the managed cluster and binds it to the specified ClusterRole (default: cluster-admin).

kubectl

Securely run a kubectl command or apply YAML. Provide either 'command' or 'yaml'.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "multi-cluster mcp server": {
            "multicluster-mcp-server": {
                "command": "npx",
                "args": [
                    "-y",
                    "multicluster-mcp-server@latest"
                ]
            }
        }
    }
}

McpServers

{
    "multicluster-mcp-server": {
        "command": "npx",
        "args": [
            "-y",
            "multicluster-mcp-server@latest"
        ]
    }
}

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

TheOCM MCP Serverprovides 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.

🛠️ MCP Tools - Kubernetes Cluster Awareness

-

✅ Retrieve resources from thehub cluster(current context)

✅ Retrieve resources from themanaged clusters

✅ Connect to amanaged clusterusing a specifiedClusterRole

✅ Access resources across multiple Kubernetes clusters(via Open Cluster Management)

🔄 Retrieve and analyzemetrics, logs, and alertsfrom 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

Configure the server using the following snippet:

{ "mcpServers": { "multicluster-mcp-server": { "command": "npx", "args": [ "-y", "multicluster-mcp-server@latest" ] } } }

Note:Ensurekubectlis installed. By default, the tool uses theKUBECONFIGenvironment variable to access the cluster. In a multi-cluster setup, it treats the configured cluster as thehub cluster, accessing others through it.

This project is licensed under theMIT License.

Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services

Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform.

Get prescriptive CDK advice, explain CDK Nag rules, check suppressions, generate Bedrock Agent schemas, and discover AWS Solutions Constructs patterns.

This AWS Labs Model Context Protocol (MCP) server for CloudTrail enables your AI agents to query AWS account activity for security investigations, compliance auditing, and operational troubleshooting.

Core AWS MCP server providing prompt understanding and server management capabilities.

Analyze CDK projects to identify AWS services used and get pricing information from AWS pricing webpages and API.

Query and analyze your Axiom logs, traces, and all other event data in natural language

Manage and interact with Microsoft Azure services.

Bastion: External Attack Surface Monitoring

Ask your AI assistant about your attack surface: run scans, catch expiring certificates and domains, triage findings, and generate reports.

Agent-ready global image CDN that AI agents can install and operate through MCP.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.