MCP.so
ログイン

Multi-Cluster MCP server

@yanmxa

基本情報

カテゴリ

その他

トランスポート

stdio

作者

yanmxa

Multi-Cluster MCP server について

The gateway for GenAI systems to interact with open-cluster-management through the MCP

Multi-Cluster MCP server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Multi-Cluster MCP server のツール

3

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

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

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

概要

What is Multi-Cluster MCP server?

Multi-Cluster MCP server is a Model Context Protocol (MCP) gateway that lets Generative AI systems interact with multiple Kubernetes clusters. It uses Open Cluster Management to perform operations on Kubernetes resources, manage multi-cluster environments, and deliver cluster observability.

How to use Multi-Cluster MCP server?

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.

Key features of Multi-Cluster MCP server

  • 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

Use cases of Multi-Cluster MCP server

  • AI-driven troubleshooting across a fleet of Kubernetes clusters
  • Automated multi-cluster resource inspection and reporting
  • Centralized observability data retrieval for GenAI analysis
  • Policy and compliance checks across managed clusters

よくある質問

1

What prerequisites are needed to run the server?

You must have `kubectl` installed and the `KUBECONFIG` environment variable set to access the hub cluster.

2

How does the server access managed clusters?

It treats the configured cluster as the hub cluster and accesses managed clusters through it, optionally using a specified `ClusterRole` for connection.

3

Does the server support prompt templates or MCP resources?

Prompt templates and MCP resources for Open Cluster Management are currently in the planning stage and not yet available.

4

How do I configure the server in my MCP client?

Use the following JSON snippet: ```json { "mcpServers": { "multicluster-mcp-server": { "command": "npx", "args": ["-y", "multicluster-mcp-server@latest"] } } } ```

5

What license is the server distributed under?

This project is licensed under the MIT License.

コメント

「その他」の他のコンテンツ