The gateway for GenAI systems to interact with multiple Kubernetes clusters through the MCP
Project description
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
📦 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
npx @modelcontextprotocol/inspector uvx multicluster-mcp-server
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multicluster_mcp_server-0.1.3.tar.gz.
File metadata
- Download URL: multicluster_mcp_server-0.1.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19961f338d959bc1500cdedb672c8260f6f803cefb42bce1faf2950913c1ac3e
|
|
| MD5 |
d6eb14d8634f70955ae0aef0de98606f
|
|
| BLAKE2b-256 |
0ab49168a3800cca09bcb25cc945861f6e1f9cae76b37519fd046b718db1f283
|
File details
Details for the file multicluster_mcp_server-0.1.3-py3-none-any.whl.
File metadata
- Download URL: multicluster_mcp_server-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bddca9855337822e207fdbea2b1ef82da987663c3a1d91b19039a3ae261d39b
|
|
| MD5 |
5a2c598123afbb5a2e07c863527ef531
|
|
| BLAKE2b-256 |
d45de34fb7edc7285dc066976218cad75fa9d4be3b6f4e6cd958bfaef4d46ebd
|