Basic information
About Jewei Mcp Nacos Server
Nacos MCP Server - 让 AI 助手能够查询和管理 Nacos 配置。
Jewei Mcp Nacos is a MCP server in the Other category listed in the AddMCP.net directory, published by jeweis. It exposes 2 tools, including nacos_get_config, nacos_publish_config. Supported transport: stdio. Runtime: Python. License: MIT License. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: nacos, nacos1, nacos2, nacos3.
Setup
{
"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"
}
}
}
}
{
"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"
}
}
}
}
{
"servers": {
"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 config
Add this server to your MCP-compatible client using the configuration below.
{
"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 tools
-
nacos_get_config
— 获取 Nacos 配置内容。
从 Nacos 配置中心获取指定的配置内容。
参数:
params: 包含以下内容的验证输入参数:
- data_id: 配置 ID
- group_name: 配置分组,默认 DEFAULT_GROUP
- namespace_id: 命名空间 ID,可选
- response_format: 输出格式,markdown 或 json
返回:
配置内容(Markdown 或 JSON 格式)
params* -
nacos_publish_config
— 发布 Nacos 配置。
创建新配置或更新已有配置。
参数:
params: 包含以下内容的验证输入参数:
- data_id: 配置 ID
- group_name: 配置分组,默认 DEFAULT_GROUP
- namespace_id: 命名空间 ID,可选
- content: 配置内容
- config_type: 配置类型,默认 yaml
- desc: 配置描述,可选
返回:
发布结果
params*
Overview
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
Frequently asked questions
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).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In