
Nacos
STDIOModel Context Protocol server for managing Nacos registry resources via natural language commands.
Model Context Protocol server for managing Nacos registry resources via natural language commands.
Nacos MCP Server 是一个模型上下文协议(Model Context Protocol)服务器,为MCP客户端(如Claude Desktop)提供与火山引擎MSE服务交互的能力。可以基于自然语言对Nacos注册中心实例资源进行全链路管理,支持实例的查询、创建、更新操作,实现Nacos资源的高效管理。
版本 | v0.1.0 |
---|---|
描述 | 基于 MCP 管理 Nacos 资源,智能化注册中心管理 |
分类 | 容器与中间件 |
标签 | 注册中心 Nacos |
本 MCP Server 产品提供以下 Tools (工具/能力):
SaaS
该工具允许您便捷查看火山引擎Nacos注册中心的详情。
输入:
{ "inputSchema": { "type": "object", "properties": { "id": { "description": "The ID of the nacos registry to query.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ "id" ] }, "name": "get_nacos_registry", "description": "查询您账号下拥有的Nacos实例的详情。" }
输出:
查询火山引擎 Nacos 的实例详情。
SaaS
该工具允许您便捷创建火山引擎Nacos注册中心实例。
输入:
{ "inputSchema": { "type": "object", "properties": { "name": { "description": "The name of the Nacos registry. If not provided, a random name will be generated.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" }, "VpcId": { "description": "The ID of the VPC where the Nacos registry will be deployed. It cannot be empty.", "type": "string" }, "SubnetId1": { "description": "The first subnet ID. At least two non-empty SubnetIds are required.", "type": "string" }, "SubnetId2": { "description": "The second subnet ID.", "type": "string" }, "SubnetId3": { "description": "The third subnet ID.", "type": "string" } }, "required": ["VpcId"] }, "name": "create_nacos_registry", "description": "创建Nacos注册中心实例。"}
输出:
创建火山引擎 Nacos 注册中心实例。
SaaS
该工具允许您便捷更新Nacos注册中心元数据。
输入:
{ "inputSchema": { "type": "object", "properties": { "name": { "description": "The new name of the Nacos registry that needs to update its name.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" }, "id": { "description": "The ID of the nacos registry to rename.", "type": "string" }, }, "required": [ "id", "name" ] }, "name": "update_registry_info", "description": "更新Nacos注册中心元数据。" }
输出:
更新火山引擎 Nacos 注册中心实例的元数据。
SaaS
该工具允许您便捷查看火山引擎Nacos注册中心实例列表。
输入:
{ "inputSchema": { "type": "object", "properties": { "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [] }, "name": "list_nacos_registries", "description": "查询您账号下拥有的所有Nacos注册中心实例的列表。" }
输出:
列举火山引擎 Nacos 的实例列表。
方舟,python,cursor
https://console.volcengine.com/nacos
火山引擎,从 volcengine 管理控制台获取 volcengine 访问密钥 ID、秘密访问密钥和区域,请在.env文件中设置相关环境变量
以下环境变量可用于配置MCP服务器:
环境变量 | 描述 | 默认值 |
---|---|---|
VOLCENGINE_ACCESS_KEY | 火山引擎账号 ACCESS KEY | - |
VOLCENGINE_SECRET_KEY | 火山引擎账号 SECRET KEY | - |
VOLCENGINE_REGION | 火山引擎 MSE region | - |
VOLCENGINE_ENDPOINT | Volcengine endpoint | - |
MCP_SERVER_PORT | MCP server listening port | 8000 |
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
uv sync
uv build
When using uv
no specific installation is needed. We will
use uvx
to directly run mcp-server-nacos.
添加以下配置到你的 mcp settings 文件中
{ "mcpServers": { "mcp-server-nacos": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src/mcp_server_nacos", "run", "mcp-server-nacos" ] } } }
[示例如下]
[示例如下]
{ "mcpServers": { "mcp-server-nacos": { "command": "uvx", "args": [ "--from", "git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_nacos", "mcp-server-nacos" ], "env": { "VOLCENGINE_ACCESS_KEY": "your access-key-id", "VOLCENGINE_SECRET_KEY": "your access-key-secret" } } } }
volcengine/mcp-server is licensed under the MIT License.