mcp-server-nacos
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_PORT | No | Listening port in container or network mode | 3000 |
| MCP_TRANSPORT | No | Transport layer mode: stdio (default desktop) or sse (remote network mode) | stdio |
| MCP_NACOS_PASSWORD | No | Nacos access password (required when authentication is enabled) | |
| MCP_NACOS_USERNAME | No | Nacos access username (required when authentication is enabled) | |
| MCP_NACOS_SERVER_URL | No | Nacos core OpenAPI address (NAT: http://<IP>:58848/nacos) | http://127.0.0.1:8848/nacos |
| MCP_NACOS_CONSOLE_URL | No | Web console address (NAT: http://<IP>:57206) | http://127.0.0.1:8080 |
| MCP_NACOS_SERVER_ADDR | No | Shorthand Host:Port format (for local minimal inference) | 127.0.0.1:8848 |
| MCP_NACOS_NAMESPACE_ID | No | Default namespace Tenant ID | |
| MCP_NACOS_REQUEST_TIMEOUT | No | HTTP request timeout (milliseconds) | 15000 |
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": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| nacos_list_namespacesA | 查询 Nacos 集群所有命名空间列表及隔离元数据 |
| nacos_create_namespaceC | 在 Nacos 中创建新的命名空间隔离环境(支持指定命名空间 ID、名称与描述) |
| nacos_delete_namespaceA | 删除 Nacos 中指定的命名空间(公共命名空间 public 受保护不可删除) |
| nacos_get_configB | 获取 Nacos 配置项全文内容,支持超长文本智能截断与按行切片精准读取 |
| nacos_publish_configB | 发布或更新 Nacos 配置项内容(内置 JSON/YAML 语法格式合法性前置拦截校验) |
| nacos_delete_configC | 删除 Nacos 中指定的配置项 |
| nacos_list_configsC | 分页模糊搜索配置集列表(支持按 Data ID 或 Group 模糊匹配) |
| nacos_get_config_historyA | 分页查询特定配置项的历史修改版本清单与审计快照元数据 |
| nacos_rollback_configB | 依据历史快照 ID (historyId) 原子化回滚配置至指定历史版本(自动提取历史快照全文覆盖发布,免去模型长文本搬运风险) |
| nacos_list_servicesC | 分页查询 Nacos 微服务列表及服务名称 |
| nacos_get_serviceB | 查询指定微服务的元数据配置、保护阈值 (protectThreshold) 及集群元数据 |
| nacos_list_instancesB | 查询微服务下注册的实例列表,支持按健康状态过滤 |
| nacos_register_instanceB | 向微服务注册新实例(遵循 ADR-0002 规范,默认采用持久化模式 ephemeral=false,可显式声明为临时节点) |
| nacos_deregister_instanceC | 从微服务中手动注销下线指定的实例节点 |
| nacos_update_instanceB | 动态更新微服务实例状态(调整流量权重 0.0~1.0、在线/隔离下线开关 enabled、元数据) |
| nacos_get_server_statusB | 探测 Nacos 集群各节点运行状态、版本与探针健康度 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| nacos_service_inspection | 自动采集并汇总 Nacos 微服务列表与实例状态,生成微服务架构拓扑与异常节点体检诊断报告 |
| nacos_config_drift_check | 拉取当前线上配置与历史版本快照,自动生成 Unified Git Diff 并引导模型评估配置漂移风险 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Each tool targets a distinct resource and action within Nacos config or service discovery. There is no overlap between similar-sounding tools like get_service (metadata for one service) and list_services (all services), or between get_config (current content) and get_config_history (past versions). The boundaries are clear from the names and descriptions.
All tools follow a strict nacos_<verb>_<noun> pattern in snake_case. Verbs like get, list, create, delete, publish, register, deregister, and update are used consistently, and plural nouns are used for list operations while singular nouns are used for single-resource operations.
16 tools across two major Nacos subdomains (config management and service discovery) is slightly above the typical 3–15 range but each tool earns its place. No redundant or filler tools are present, though the set could be marginally trimmed if some rarely used operations were merged.
Config lifecycle (get, publish/update, delete, list, history, rollback) and instance lifecycle (register, deregister, update, list) are well covered. Minor gaps exist, such as no explicit update_namespace tool and no way to delete a service directly, but these are workaroundable in typical Nacos usage.