MCP.so
登录

Jewei MCP Nacos

@jeweis

基本信息

分类

其他

传输方式

stdio

作者

jeweis

提交者

jewei

关于 Jewei MCP Nacos

Nacos MCP Server - 让 AI 助手能够查询和管理 Nacos 配置。

#nacos#nacos3#nacos2#nacos1

Jewei MCP Nacos 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "nacos": {
      "command": "uvx",
      "args": [
        "jewei-mcp-nacos"
      ],
      "env": {
        "NACOS_HOST": "localhost",
        "NACOS_API_PORT": "8848",
        "NACOS_CONSOLE_PORT": "8080",
        "NACOS_USERNAME": "nacos",
        "NACOS_PASSWORD": "your-password",
        "NACOS_NAMESPACE": "dev",
        "NACOS_VERSION": "3",
        "NACOS_READ_ONLY": "false"
      }
    }
  }
}

Jewei MCP Nacos 工具

2

获取 Nacos 配置内容。 从 Nacos 配置中心获取指定的配置内容。 参数: params: 包含以下内容的验证输入参数: - data_id: 配置 ID - group_name: 配置分组,默认 DEFAULT_GROUP - namespace_id: 命名空间 ID,可选 - response_format: 输出格式,markdown 或 json 返回: 配置内容(Markdown 或 JSON 格式)

发布 Nacos 配置。 创建新配置或更新已有配置。 参数: params: 包含以下内容的验证输入参数: - data_id: 配置 ID - group_name: 配置分组,默认 DEFAULT_GROUP - namespace_id: 命名空间 ID,可选 - content: 配置内容 - config_type: 配置类型,默认 yaml - desc: 配置描述,可选 返回: 发布结果

概览

What is Jewei Mcp Nacos?

It is an MCP server that allows AI assistants to query and manage Nacos configurations. It supports Nacos versions 1.x, 2.x, and 3.x.

How to use Jewei Mcp Nacos?

Install via uvx jewei-mcp-nacos and configure with environment variables (NACOS_HOST, NACOS_API_PORT, NACOS_CONSOLE_PORT, NACOS_USERNAME, NACOS_PASSWORD, NACOS_NAMESPACE, NACOS_VERSION, NACOS_READ_ONLY) in the appropriate JSON config file for your client (Claude, Cursor, OpenCode, etc.).

Key features of Jewei Mcp Nacos

  • Query and manage Nacos configurations via AI
  • Supports Nacos 1.x, 2.x, and 3.x
  • Provides get and publish config tools
  • Read-only mode for production safety
  • Configurable via environment variables

Use cases of Jewei Mcp Nacos

  • Retrieve configuration values for microservices
  • Publish or update configuration entries
  • Integrate with AI assistants for automated config management
  • Securely manage configs in production with read-only mode

常见问题

1

What Nacos versions are supported?

Supported Nacos versions 1.x, 2.x, and 3.x.

2

How do I enable read-only mode?

Set `NACOS_READ_ONLY` environment variable to `"true"`.

3

What is the difference between NACOS_API_PORT and NACOS_CONSOLE_PORT?

NACOS_API_PORT is used for login (v3 only); NACOS_CONSOLE_PORT is used for configuration operations (v3 only). For v1/v2, use NACOS_PORT.

4

Do I need to provide username and password?

Username and password are optional; if not provided the server uses default authentication.

5

What tools are available?

Two tools: `nacos_get_config` to get configuration content, and `nacos_publish_config` to publish or update configuration (disabled in read-only mode).

评论

其他 分类下的更多 MCP 服务器