cloud-infrastructuredeveloper-tools

Kubernetes Multi-Cluster Manager

by yanmxa

Kubernetes Multi-Cluster Manager enables seamless kubectl management across multiple clusters, connecting distributed re

Provides a bridge to Kubernetes multi-cluster environments for managing distributed resources through kubectl commands, service account connections, and seamless cross-cluster operations without switching contexts.

github stars

4

No context switching between clustersWorks with Open Cluster ManagementRequires kubectl and KUBECONFIG setup

best for

  • / DevOps teams managing multi-cluster Kubernetes environments
  • / Platform engineers working with distributed applications
  • / Automating cross-cluster resource management

capabilities

  • / List available Kubernetes clusters
  • / Connect to managed clusters with specified roles
  • / Execute kubectl commands across multiple clusters
  • / Apply YAML configurations to any cluster
  • / Retrieve resources from hub and managed clusters

what it does

Manages multiple Kubernetes clusters through a single interface, allowing you to run kubectl commands and access resources across different clusters without manually switching contexts.

about

Kubernetes Multi-Cluster Manager is a community-built MCP server published by yanmxa that provides AI assistants with tools and capabilities via the Model Context Protocol. Kubernetes Multi-Cluster Manager enables seamless kubectl management across multiple clusters, connecting distributed re It is categorized under cloud infrastructure, developer tools. This server exposes 3 tools that AI clients can invoke during conversations and coding sessions.

how to install

You can install Kubernetes Multi-Cluster Manager in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Kubernetes Multi-Cluster Manager is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Open Cluster Management MCP Server

The OCM 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

🛠️ MCP Tools - Kubernetes Cluster Awareness

  • ✅ Retrieve resources from the hub cluster (current context)

  • ✅ Retrieve resources from the 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, Add-ons, and more

    alt text

    <details> <summary>Mutiple Kubernetes Clusters Operations</summary>

    Watch the demo

    </details>

📦 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

📌 How to Use

Configure the server using the following snippet:

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

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.

License

This project is licensed under the MIT License.