多集群 MCP 服务器
多集群 MCP 服务器为生成式人工智能 (GenAI) 系统提供了一个强大的网关,使其能够通过模型上下文协议 (MCP) 与多个 Kubernetes 集群进行交互。它有助于全面操作 Kubernetes 资源,简化多集群管理,并提供交互式集群可观察性。
🚀 功能
🛠️ MCP 工具 - Kubernetes 集群感知
✅ 从hub 集群中检索资源(当前上下文)
✅ 从托管集群中检索资源
✅ 使用指定的
ClusterRole连接到托管集群✅ 跨多个 Kubernetes 集群访问资源(通过开放集群管理)
❌ 从集成集群中检索和分析指标、日志和警报
❌ 与多集群 API 交互,包括托管集群、策略、附加组件等

📦 开放集群管理的提示模板*(规划中)*
提供针对 OCM 任务定制的可重复使用提示模板,简化代理交互和自动化
📚 开放集群管理的 MCP 资源*(规划中)*
参考OCM官方文档及相关资源,支持开发集成
📌 如何使用
与 MCP Inspector 一起使用
mcp dev ./src/multicluster_mcp_server/__main__.py
使用以下代码片段配置服务器:
{
"mcpServers": {
"multicluster-mcp-server": {
"command": "uvx",
"args": [
"multicluster-mcp-server@latest"
]
}
}
}
注意:,并通过该集群访问其他集群。
执照
该项目已获得MIT 许可。
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
生成式人工智能系统通过模型上下文协议 (MCP) 与多个 Kubernetes 集群交互的网关,实现全面的 Kubernetes 资源操作和多集群管理。
Related MCP Servers
- -security-license-qualityA Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.Last updated -723MIT License
- -security-license-qualityAn auto-generated MCP server that enables interaction with Google Kubernetes Engine Hub API for multi-cluster management through natural language commands.Last updated -
- -security-license-qualityA Model Control Protocol server that extends AI assistants with Kubernetes operations capabilities, allowing for managing deployments, pods, services and other K8s resources.Last updated -2
- -security-license-qualityA Model Context Protocol server that gives Claude access to multiple AI models (Gemini, OpenAI, OpenRouter) for enhanced code analysis, problem-solving, and collaborative development through AI orchestration with conversations that continue across tasks.Last updated -9,242