Basic information
About Apollo 配置中心的 MCP (Model Context Protocol) 服务 Server
Apollo 配置中心的 MCP (Model Context Protocol) 服务,使大语言模型能够通过配置的 Apollo 地址和 Token 对 Apollo 进行查询和操作。支持 Cursor、Trae、Claude Desktop 等 MCP 客户端。
Apollo 配置中心的 MCP (Model Context Protocol) 服务 is a MCP server in the Other category listed in the AddMCP.net directory, published by iceycn. Supported transport: stdio. License: Apache-2.0. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"apollo": {
"command": "uvx",
"args": [
"apollo-mcp-server",
"--url",
"http://your-apollo-portal:8070",
"--token",
"your_open_api_token"
]
}
}
}
{
"mcpServers": {
"apollo": {
"command": "uvx",
"args": [
"apollo-mcp-server",
"--url",
"http://your-apollo-portal:8070",
"--token",
"your_open_api_token"
]
}
}
}
{
"servers": {
"apollo": {
"command": "uvx",
"args": [
"apollo-mcp-server",
"--url",
"http://your-apollo-portal:8070",
"--token",
"your_open_api_token"
]
}
}
}
Apollo 配置中心的 MCP (Model Context Protocol) 服务 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"
]
}
}
}
Apollo 配置中心的 MCP (Model Context Protocol) 服务 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
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命名空间
- 快速创建新应用及初始集群和命名空间
Frequently asked questions
1 Apollo 配置中心的 MCP 服务需要哪些前提条件?
需已部署且可访问的Apollo Portal,在Portal中创建第三方应用并获取Token,同时为Token绑定可操作的Namespace。
2 如何安装和运行?
可通过pip安装(pip install apollo-mcp-server)后运行apollo-mcp-server --url <url> --token <token>,或直接用uvx apollo-mcp-server --url <url> --token <token>无需安装。
3 支持哪些MCP客户端?
支持Cursor、Trae、Claude Desktop等标准MCP客户端,通过在对应配置文件中添加mcpServers节点。
4 有哪些可调用的工具?
包括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。
5 是否支持环境变量配置?
支持(版本≥1.0.0),可设置APOLLO_URL和APOLLO_TOKEN环境变量,在客户端配置中省略--url和--token参数。
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In