feat(mcp): 完整落地 MCP 服务管理

- Dockerfile 后端 stage 加 nodejs/npm,支持 stdio MCP server
- 新增前端 MCP 服务管理 UI(MCPSettings.tsx),支持 stdio/sse/http 三种 transport
- PluginLayout 改双 tab(技能 / MCP 服务)
- i18n 补 MCP 相关 zh/en 文案
- send_file 工具的 trace_id 改可选,聊天场景退化为返回内容
- system_workflow 工具集纳入 send_file

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 04:43:08 +00:00
parent b15eeb9e74
commit c0fcbe2849
7 changed files with 480 additions and 12 deletions
@@ -97,8 +97,8 @@ class GlobalStateMachine:
{
"toolset_id": "system_workflow",
"name": "系统工作流工具集",
"description": "工作流场景专用工具(审批等)",
"tools": ["approval"],
"description": "工作流场景专用工具(审批、发送文件等)",
"tools": ["approval", "send_file"],
"is_system": True,
"category": "system_workflow",
},