Skip to content

♻️ Mcp Tools Management Page Development#2771

Open
HelloWorldGitHub114 wants to merge 60 commits intoModelEngine-Group:developfrom
HelloWorldGitHub114:mcp_tools_develop
Open

♻️ Mcp Tools Management Page Development#2771
HelloWorldGitHub114 wants to merge 60 commits intoModelEngine-Group:developfrom
HelloWorldGitHub114:mcp_tools_develop

Conversation

@HelloWorldGitHub114
Copy link
Copy Markdown

Added the /mcp-tools management page, allowing centralized management of browsing, filtering, adding, deleting, enabling, stopping, and modifying MCPs;
Added remote marketplace and community marketplace, allowing users to browse and obtain MCPs, allowing users to upload MCPs to the community marketplace, and allowing users to manage their own published MCPs.
添加了/mcp-tools管理页面,允许集中管理mcp的浏览筛选添加删除启用停止修改;
新增远程市场和社区市场,允许用户浏览和获取mcp,允许用户上传mcp到社区市场,允许用户管理自己发布的mcp。
image
image
image
image
image
image

HelloWorldGitHub114 and others added 30 commits February 25, 2026 16:28
- Added new service enabling and disabling messages in English and Chinese localization files.
- Updated API endpoints for enabling and disabling MCP tools.
- Introduced new container service addition functionality in the MCP tools service.
- Refactored mcpToolsService to handle container services and improve error handling.
- Updated types for MCP tools to reflect new transport types and service details.
- Created a new SQL migration script to extend the mcp_record_t table for additional MCP tool attributes.
- Implemented a custom hook for managing MCP tools page state and interactions.

功能亮点:增强 MCP 工具的功能与用户界面

- 在英文和中文本地化文件中添加了启用和禁用服务的提示信息。
- 更新了用于启用和禁用 MCP 工具的 API 接口。
- 在 MCP 工具服务中引入了新增容器服务的功能。
- 重构了 mcpToolsService 以处理容器服务并改进错误处理机制。
- 更新了 MCP 工具的类型,以反映新的传输类型和服务详情。
- 创建了新的 SQL 迁移脚本,用于扩展 mcp_record_t 表以支持 MCP 工具的额外属性。
- 实现了自定义钩子,用于管理 MCP 工具页面的状态和交互。
Remove the “market_name” field from the mcp_record_t SQL extension and correct the spelling error in the source code

重构代码,将market命名转为registry
移除mcp_record_t扩展sql的market_name,修正拼写错误souce
…MCPs to the community marketplace for other users to browse and discover.

添加社区市场功能,用户可以上传自己的MCP到社区市场供其它用户浏览发现。
…uring quick addition in MCP Registry;

Removal of the old MCP Tools interface and uniform migration to the new interface;
Caching of the search bar in external marketplaces;
Update to the logic of the tool list on the Agent page, synchronized with the MCP Tools page

外部市场支持快速添加时的变量和请求头显示和填写;
去除mcp tools的旧接口,统一改为新接口;
外部市场搜索栏缓冲;
智能体页面工具列表逻辑更新,和mcp tools页面同步更新
增加来源和传输方式筛选
…s logic” to “only making calls and mapping exceptions.”

Aggregation of props for frontend detail pop-ups.
New MCP domain exceptions have been added; the service layer throws MCP exceptions, and the App layer uniformly maps them to HTTP status codes.

/container/add 由 App 层“做业务”改为“只做调用+异常映射”。
前端详情弹窗 props 聚合。
新增 MCP 领域异常,service 层抛出MCP异常,app 层统一映射 HTTP 状态。
将tags改为数组形式存储,新增用tag筛选mcp。
…ization header are allowed.增加请求头填写限制,只允许Authorization的Bearer Token填写
…ng and collapsing descriptions, and supports descriptions of unlimited length.

支持描述markdown形式展示,支持描述展开和收起,支持无限长的描述。
…methods and tags; add filtering by shipping methods and tags.

社区市场添加分页,添加传输方式和tag显示,添加传输方式和tag筛选.
… market details page;

Added a hyperlink entry point to the Modelscope MCP Plaza.
优化外部市场详情界面安装包变量显示;
新增魔搭mcp广场超链接入口。
微调描述样式
…rt features;

When quickly adding a container from the external market, a port needs to be filled in;
Refactored the code of mcp_management_app and service, moving a large amount of data validation handling to the app, using Pydantic for validation, simplifying the code.
添加了容器服务端口冲突校验和推荐端口功能;
外部市场快速添加容器需要填写端口;
重构了mcp_managemeny_app和service的代码,讲大量数据检验处理移动到app中,利用Pydantic校验,简化代码。
Fix the front-end and back-end integration errors of My Posts and Community Market;
Fix the display of description editing in My Posts editing and Community Market.
mcptools前端表单进行数据校验;
修复我的发布和社区市场前后端对接错误;
修复我的发布编辑和社区市场的描述编辑显示。
添加MCP.so超链接
Slightly optimized the backend code for OCI unsupported cases.
优化前端对oci的不支持显示。
稍微优化了后端对oci不支持的代码。
去除重复代码
Recommended ports are now random
Fixed container name duplication issue
Abstracted front-end code port handling to reduce duplicate code
Added a prompt for failed addition of services with duplicate names
Loading state between each MCP card is independent and does not interfere
优化
推荐端口现在改为随机
容器重名问题修复
前端代码端口处理问题抽象,减少重复代码
增加对重复命名服务添加失败的提示
每个mcp卡片之间加载状态独立不干扰
…he community market, and optimized redundant code

修复社区市场添加时附带registry_json错误的问题,并优化冗余代码
重新调整,把stdio改成容器
… adapt the Agent development page to the mcp service.
@YehongPan YehongPan requested a review from Dallas98 as a code owner April 27, 2026 12:36
HelloWorldGitHub114 and others added 13 commits April 27, 2026 23:33
删除mcp描述的markdown展示;
删除不必要的工具列表Model,改用统一Model Component。
…优化卡片列表支持动态布局,优化详情弹窗显示,优化查看server.json和容器配置弹窗样式,修改标签样式,增加发布到社区的确认和修改弹窗,去除连通性校验弹窗,优化添加弹窗显示避免大小抖动,去除common.json中部分过时字段

后端去除last_sync_time字段和少量冗余代码
调整部分Types和const的代码写法
… adapt the Agent development page to the mcp service.

[Specification Details]
1. Modify healthcheck method.
由于接口变化,修改tag筛选为前端筛选
修复删除Mcp不删除对应容器的问题
修复前端点击启用关闭不刷新的问题,并添加刷新工具中信息提示。
@xuyaqist xuyaqist changed the title Mcp Tools Management Page Development ♻️ Mcp Tools Management Page Development Apr 30, 2026
HelloWorldGitHub114 and others added 14 commits April 30, 2026 11:49
社区市场传输类型筛选改为后端实现;
去除原来的http和sse,统一改为url;
修复部分代码不必要的null和可选性问题;
修复部分翻译键问题;
修复添加容器化服务的部分前端逻辑代码错误。
支持发布时修改config_json和url
删除healthcheck详细显示
修改主界面布局
…rectly. (ModelEngine-Group#2928)

* 🐛 Bugfix: Fixed the issue of conversation history not being saved correctly.
[Specification Detail]
1. For Pydantic data types, directly use item.role to retrieve them.

* 🐛 Bugfix: Fixed the issue of conversation history not being saved correctly.
[Specification Detail]
1. Fix test cases.
tag筛选改为前端筛选,删除相关代码
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.

6 participants