Apollo 配置中心的 MCP (Model Context Protocol) 服务
@iceycn
About Apollo 配置中心的 MCP (Model Context Protocol) 服务
Apollo 配置中心的 MCP (Model Context Protocol) 服务,使大语言模型能够通过配置的 Apollo 地址和 Token 对 Apollo 进行查询和操作。支持 Cursor、Trae、Claude Desktop 等 MCP 客户端。
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"apollo": {
"command": "uvx",
"args": [
"apollo-mcp-server",
"--url",
"http://your-apollo-portal:8070",
"--token",
"your_open_api_token"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
什么是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参数。
Frequently asked questions
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`参数。
More Other MCP servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Awesome Mlops
visengerA curated list of references for MLOps
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments