Skip to main content
Glama
yanmxa

Multi-Cluster MCP Server

by yanmxa

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

    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

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.

Related MCP server: GKE Hub API MCP Server

License

This project is licensed under the MIT License.

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yanmxa/multicluster-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server