mcp-nacos
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP 传输监听地址 | 0.0.0.0 |
| MCP_PORT | No | HTTP 传输监听端口 | 8000 |
| NACOS_HOST | No | Nacos 服务地址 | localhost |
| NACOS_PORT | No | API 端口(仅 v1/v2 使用) | 8848 |
| MCP_LOG_LEVEL | No | 日志级别:debug/info/warning/error | info |
| MCP_TRANSPORT | No | 传输协议:stdio / sse / streamable-http | stdio |
| NACOS_VERSION | No | Nacos 版本(1/2/3) | 3 |
| MCP_AUTH_TOKEN | No | 设置后启用 Bearer Token 认证,保护 HTTP 接口 | |
| NACOS_API_PORT | No | API 端口(用于登录,仅 v3 使用) | 8848 |
| NACOS_BASE_URL | No | 覆盖基础 URL(如 https://nacos.example.com),设置后 NACOS_HOST / NACOS_PORT / NACOS_API_PORT / NACOS_CONSOLE_PORT 不再生效 | |
| NACOS_INSECURE | No | 跳过 TLS 证书验证 | false |
| NACOS_PASSWORD | No | 密码 | |
| NACOS_USERNAME | No | 用户名 | |
| NACOS_NAMESPACE | No | 默认命名空间 ID | public |
| NACOS_READ_ONLY | No | 只读模式,禁用发布功能 | false |
| MCP_STATELESS_HTTP | No | 启用无状态 HTTP 模式,适合 Serverless 部署 | false |
| NACOS_CONSOLE_PORT | No | Console 端口(用于配置操作,仅 v3 使用) | 8080 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| nacos_get_configA | 获取 Nacos 配置内容。 对应 Nacos OpenAPI:
按 dataId + group + namespace 唯一定位配置,返回配置内容。 |
| nacos_list_config_historyA | 查询配置历史版本列表。 对应 Nacos OpenAPI:
返回分页的历史版本列表(id、opType、操作人、时间等)。 |
| nacos_get_config_historyA | 查询某次历史变更记录。 对应 Nacos OpenAPI:
按历史记录 ID(nid)返回该次变更的完整配置内容。 |
| nacos_get_config_previousA | 查询配置最新状态的前一次变更历史。 对应 Nacos OpenAPI:
按配置存储 ID(id)返回上一版本的完整配置内容。 |
| nacos_list_namespacesA | 查询命名空间列表。 对应 Nacos OpenAPI:
返回当前 Nacos 实例下的所有命名空间(含 public,及每个命名空间的配额与使用量)。 |
| nacos_get_namespaceA | 查询单个命名空间详情。 对应 Nacos OpenAPI:
按 namespace_id 返回该命名空间的配额、使用量等详情。public 命名空间已自动归一化 (传 'public' 或空串都可查到,底层统一用空串 "",三版本行为一致)。 |
| nacos_list_configsA | 查询命名空间下的配置列表。 对应 Nacos OpenAPI:
匹配语义(本地 1.x/2.x/3.x 实测一致):search=blur 不会自动为 dataId/group 补通配符, 传子串不命中;需模糊匹配时显式传 '关键词'。传完整 dataId 精确命中一条。 返回该命名空间下配置的 data_id + group_name 等元数据列表(不含配置内容),并附 total 总数。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| resource_namespaces | 列出所有 Nacos 命名空间(只读资源) |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhouweico/mcp-nacos'
If you have feedback or need assistance with the MCP directory API, please join our Discord server