Skip to main content

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

🛠️ 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

    Mutiple Kubernetes Clusters Operations

    Watch the demo

📦 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

  • Use with MCP Inspector
mcp dev ./src/multicluster_mcp_server/__main__.py 

Configure the server using the following snippet:

{
  "mcpServers": {
    "multicluster-mcp-server": {
      "command": "uvx",
      "args": [
        "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.

Metadata

Release files for multicluster-mcp-server 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multicluster-mcp-server 0.1.6
File Size Uploaded Provenance
multicluster_mcp_server-0.1.6.tar.gz 9.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for multicluster-mcp-server 0.1.6
File Interpreter ABI Platform
multicluster_mcp_server-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / multicluster_mcp_server-0.1.6.tar.gz

Download URL multicluster_mcp_server-0.1.6.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d621b01693cad4c93ed79ed4c238db36530ff99fbabb370609b572e05f3e367b
BLAKE2b-256 checksum
How to use checksums
9d1aa2007795846d7e6fd03d75d133bfbd3dd51ed414c78c86aa1cc136c7d663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0

Release files / multicluster_mcp_server-0.1.6-py3-none-any.whl

Download URL multicluster_mcp_server-0.1.6-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a83ae34e06dc4dd62f3ff1f3fa7f464b04546d2f5437cecf37414067cbebe85f
BLAKE2b-256 checksum
How to use checksums
ca1b794c20a145b2eaa9dd5cc7442e8dc64386ed812d95f44d80b8732338050e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0

Security for multicluster-mcp-server 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page