用于将Rancher与GenAI应用程序集成的模型上下文协议(MCP)服务器。
Kubernetes管理与部署平台
pip install rancher-mcp-server
或者从源代码安装:
git clone https://github.com/asklokesh/rancher-mcp-server.git
cd rancher-mcp-server
pip install -e .
创建一个.env文件或根据Rancher API需求设置环境变量。
from rancher_mcp import RancherMCPServer
# 初始化服务器
server = RancherMCPServer()
# 启动服务器
server.start()
MIT许可证 - 详情见LICENSE文件