
Cyclops 模型上下文协议服务器
概览
Cyclops MCP 允许您喜爱的 AI 代理管理您的 Kubernetes 应用。Cyclops MCP 服务器为代理提供安全创建和更新现有应用的工具。 https://github.com/user-attachments/assets/0c675c33-1e36-4fdb-bf8c-2fd7fb491e6b 这意味着它可以检查你所有现有的模板及其架构,创建准确且适合生产的应用程序。你的代理现在减少了错误配置的空间,因为它创建了高级资源(Cyclops模块),而不是处理Kubernetes资源的每一行(部署、服务和入口)。 它让你能快速操作,确保没有未被发现的错误配置影响你的生产。 安装Cyclops MCP服务器最简单的方法是通过Cyclops界面。以下是通过二进制和kubectl安装的说明,但推荐的安装方式是通过界面。
概述(AI 翻译)
Cyclops MCP 允许您喜爱的 AI 代理管理您的 Kubernetes 应用。Cyclops MCP 服务器为代理提供安全创建和更新现有应用的工具。
https://github.com/user-attachments/assets/0c675c33-1e36-4fdb-bf8c-2fd7fb491e6b
这意味着它可以检查你所有现有的模板及其架构,创建准确且适合生产的应用程序。你的代理现在减少了错误配置的空间,因为它创建了高级资源(Cyclops模块),而不是处理Kubernetes资源的每一行(部署、服务和入口)。
它让你能快速操作,确保没有未被发现的错误配置影响你的生产。
借助Cyclops和我们的MCP,你现在可以将Kubernetes的复杂性从开发者和AI代理中抽象出来
通过界面安装
安装Cyclops MCP服务器最简单的方法是通过Cyclops界面。以下是通过二进制和kubectl安装的说明,但推荐的安装方式是通过界面。
⚠️ 要通过界面安装Cyclops MCP,你应该在
v0.20.1或更高版本上运行Cyclops
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Cyclops MCP (Model Context Protocol)
Cyclops MCP allows your favorite AI agent to manage your Kubernetes applications. Cyclops MCP servers provide tools for agents to create and update existing applications safely.
https://github.com/user-attachments/assets/0c675c33-1e36-4fdb-bf8c-2fd7fb491e6b
This means it can check all of your existing templates and the schema of those templates to create accurate and production-ready applications. Your agent now has much less room to make a misconfiguration since it creates high-level resources (Cyclops Modules) instead of touching every line of your Kubernetes resources (Deployments, Services, and Ingresses).
It allows you to move fast and ensure no uncaught misconfigurations are hitting your production.
With Cyclops and our MCP, you can now abstract Kubernetes complexity from your developers AND your AI agents
Install via UI
The easiest way to install the Cyclops MCP server is through the Cyclops UI. Below are instructions on how to install it via binary and kubectl, but the recommended way of installing it is via the UI.
⚠️ To install Cyclops MCP through the UI, you should run Cyclops on a version
v0.20.1or greater
-
Install the Cyclops MCP by going to sidebar
“Addon”>"MCP server". You can now click"Install Cyclops MCP server"and your Cyclops MCP server will be up and running in a few seconds. -
Now that your MCP server is up running, all thats left is exposing it outside of your cluster and connecting your AI agent to it.
To expose the MCP server on localhost you can simply port-forward it with the following command:
kubectl port-forward -n cyclops svc/cyclops-mcp 8000:8000Your server is now available on
localhost:8000. -
To connect it to an AI agent you will just have to provide the Cyclops MCP server in its configuration. For example, to add it to Cursor, you can simply add it with the following JSON:
{ "mcpServers": { "cyclops-kubernetes": { "url": "http://localhost:8000/sse" } } }
You can now start a fresh conversation with your AI companion. Above is an example of how we used it with Cursor.
1. Make sure Cyclops is installed in your Kubernetes cluster
Check our docs on how it install it with a single command - https://cyclops-ui.com/docs/installation/install/manifest
2. Download MCP server
You can download the Cyclops MCP server binary with the following command:
GOBIN="$HOME/go/bin" go install github.com/cyclops-ui/mcp-cyclops/cmd/mcp-cyclops@latest
3. Add server configuration
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"cyclops-kubernetes": {
"url": "http://localhost:8000/sse"
}
}
}