Skip to content

Conversation

@jujiale
Copy link

@jujiale jujiale commented Oct 14, 2025

What is the purpose of the change

nacos目前针对于mcp的api进行了更新,目前官方文档的api说明已落后,具体见如下的两个nacos的pr
alibaba/nacos#13874
alibaba/nacos#13561

Brief changelog

1.添加了创建mcpserver后,返回值data中会返回mcpserver id的说明
2.添加了更新mcpserver时参数overrideExisting的使用说明

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Test your code locally by running npm run build, and make sure it works as expected.
  • Make sure no files under build directory is added.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@CLAassistant
Copy link

CLAassistant commented Oct 14, 2025

CLA assistant check
All committers have signed the CLA.

@lingma-agents
Copy link

lingma-agents bot commented Oct 14, 2025

文档更新:MCP API说明补充

变更概述
  • 文档
    • 更新了MCP相关API的文档说明,包括管理端和控制台端的API文档
    • 补充了创建MCP服务后返回值中包含服务ID的说明
    • 添加了更新MCP服务时overrideExisting参数的使用说明
    • 更新了API响应示例,展示了实际返回的MCP服务ID格式
    • 涉及中英文两个版本的文档更新,确保文档同步
变更文件
文件路径 变更说明
src/​content/​docs/​next/​en/​manual/​admin/​admin-api.​md 在MCP API文档中添加了overrideExisting参数说明,并更新了创建MCP服务的响应参数说明和示例。
src/​content/​docs/​next/​en/​manual/​admin/​console-api.​md 在控制台MCP API文档中补充了overrideExisting参数说明,更新了响应参数和示例。
src/​content/​docs/​next/​zh-cn/​manual/​admin/​admin-api.​md 在中文MCP管理API文档中添加了overrideExisting参数说明,更新了创建服务的响应说明。
src/​content/​docs/​next/​zh-cn/​manual/​admin/​console-api.​md 在中文控制台MCP API文档中补充了overrideExisting参数说明,完善了响应参数描述和示例。

💡 小贴士

与 lingma-agents 交流的方式

📜 直接回复评论
直接回复本条评论,lingma-agents 将自动处理您的请求。例如:

  • 在当前代码中添加详细的注释说明。

  • 请详细介绍一下你说的 LRU 改造方案,并使用伪代码加以说明。

📜 在代码行处标记
在文件的特定位置创建评论并 @lingma-agents。例如:

  • @lingma-agents 分析这个方法的性能瓶颈并提供优化建议。

  • @lingma-agents 对这个方法生成优化代码。

📜 在讨论中提问
在任何讨论中 @lingma-agents 来获取帮助。例如:

  • @lingma-agents 请总结上述讨论并提出解决方案。

  • @lingma-agents 请根据讨论内容生成优化代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants