Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jewei-mcp-nacosShow me the user-service.yml configuration from the dev namespace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
jewei-mcp-nacos
Nacos MCP Server - 让 AI 助手能够查询和管理 Nacos 配置。
支持 Nacos 3.x 版本。
快速开始
Claude Code
在项目 .mcp.json 或全局 ~/.claude.json 中添加:
Cursor
在 ~/.cursor/mcp.json 中添加:
Windsurf
在 ~/.codeium/windsurf/mcp_config.json 中添加:
Claude Desktop
在 claude_desktop_config.json 中添加:
环境变量
变量 | 说明 | 默认值 |
| Nacos 服务地址 |
|
| API 端口(用于登录) |
|
| Console 端口(用于配置操作) |
|
| 用户名(可选) | - |
| 密码(可选) | - |
| 默认命名空间 ID |
|
| 只读模式,禁用发布功能 |
|
可用工具
工具 | 说明 |
| 获取配置内容 |
| 发布/更新配置(只读模式下不可用) |
提示示例
配置好后,你可以这样和 AI 对话:
查询配置:
发布配置:
只读模式
设置 NACOS_READ_ONLY=true 可以禁用发布功能,只允许查询配置。适合生产环境使用。
License
MIT