Apollo 配置中心的 MCP (Model Context Protocol) 服务
@iceycn
关于 Apollo 配置中心的 MCP (Model Context Protocol) 服务
Apollo 配置中心的 MCP (Model Context Protocol) 服务,使大语言模型能够通过配置的 Apollo 地址和 Token 对 Apollo 进行查询和操作。支持 Cursor、Trae、Claude Desktop 等 MCP 客户端。
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"apollo": {
"command": "uvx",
"args": [
"apollo-mcp-server",
"--url",
"http://your-apollo-portal:8070",
"--token",
"your_open_api_token"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
什么是Apollo 配置中心的 MCP (Model Context Protocol) 服务?
一个基于Apollo开放平台接口的MCP服务,使大语言模型能够通过配置的Apollo地址和Token查询和操作Apollo配置。适用于Cursor、Trae、Claude Desktop等MCP客户端。
如何使用Apollo 配置中心的 MCP (Model Context Protocol) 服务?
通过pip安装(pip install apollo-mcp-server)或直接使用uvx apollo-mcp-server运行。启动时需指定--url(Apollo Portal根地址)和--token(Open API Token),也可通过环境变量APOLLO_URL和APOLLO_TOKEN配置。
主要功能
- 应用与集群:列出应用、获取环境集群、创建集群
- 命名空间:列出、获取、创建命名空间及锁定状态
- 配置项:CRUD操作(增删改查)
- 发布与回滚:获取最新发布、发布配置、回滚发布
- 应用创建:调用开放平台接口创建新应用
使用场景
- AI助手通过对话查询Apollo配置项,无需手动登录Portal
- 自动化修改配置后触发发布,集成到持续部署流程
- 在Cursor/Trae/Claude Desktop中让AI直接管理Apollo命名空间
- 快速创建新应用及初始集群和命名空间
FAQ
Apollo 配置中心的 MCP 服务需要哪些前提条件?
需已部署且可访问的Apollo Portal,在Portal中创建第三方应用并获取Token,同时为Token绑定可操作的Namespace。
如何安装和运行?
可通过pip安装(pip install apollo-mcp-server)后运行apollo-mcp-server --url <url> --token <token>,或直接用uvx apollo-mcp-server --url <url> --token <token>无需安装。
支持哪些MCP客户端?
支持Cursor、Trae、Claude Desktop等标准MCP客户端,通过在对应配置文件中添加mcpServers节点。
有哪些可调用的工具?
包括list_apps、get_app_env_clusters、create_cluster、list_namespaces、get_namespace、create_namespace、get_namespace_lock、list_items、get_item、create_item、update_item、delete_item、get_latest_release、publish_release、rollback_release和create_app。
是否支持环境变量配置?
支持(版本≥1.0.0),可设置APOLLO_URL和APOLLO_TOKEN环境变量,在客户端配置中省略--url和--token参数。
常见问题
Apollo 配置中心的 MCP 服务需要哪些前提条件?
需已部署且可访问的Apollo Portal,在Portal中创建第三方应用并获取Token,同时为Token绑定可操作的Namespace。
如何安装和运行?
可通过pip安装(`pip install apollo-mcp-server`)后运行`apollo-mcp-server --url <url> --token <token>`,或直接用`uvx apollo-mcp-server --url <url> --token <token>`无需安装。
支持哪些MCP客户端?
支持Cursor、Trae、Claude Desktop等标准MCP客户端,通过在对应配置文件中添加`mcpServers`节点。
有哪些可调用的工具?
包括`list_apps`、`get_app_env_clusters`、`create_cluster`、`list_namespaces`、`get_namespace`、`create_namespace`、`get_namespace_lock`、`list_items`、`get_item`、`create_item`、`update_item`、`delete_item`、`get_latest_release`、`publish_release`、`rollback_release`和`create_app`。
是否支持环境变量配置?
支持(版本≥1.0.0),可设置`APOLLO_URL`和`APOLLO_TOKEN`环境变量,在客户端配置中省略`--url`和`--token`参数。
其他 分类下的更多 MCP 服务器
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Nginx UI
0xJackyYet another WebUI for Nginx
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
评论