feat(mcp): add MCP runtime configuration#252
Conversation
9d759e2 to
225ab73
Compare
225ab73 to
0637e30
Compare
ee54079 to
2600e4a
Compare
2600e4a to
a357e9c
Compare
8753608 to
fc7cd27
Compare
fc7cd27 to
41b2037
Compare
…tart-plan # Conflicts: # web/app/src/pages/WorkspacePage/components/WorkspaceSidebar/WorkspaceSidebar.tsx
|
MCP 相关命名现在有点分散:agent 状态里叫 建议统一成“agent 拥有 MCP servers,Hub 管理 MCP servers”的模型。 Agent 字段 / API payload
也就是 agent payload 从: {
"mcp_config": {
"mcpServers": {
"context7": { "command": "npx" }
}
}
}收敛成: {
"mcpServers": {
"context7": { "command": "npx" }
}
}如果 runtime adapter 内部仍需要 URL path
这样 path 上可以区分:
Handler / service 命名
Runtime / internal helper 命名 如果 runtime 层还想保留“配置对象”的抽象,可以保留
这样可以减少 agent API 暴露内部 config wrapper 的感觉。 前端命名
整体目标是让文档和代码都能用一句话解释清楚:Hub 管理 MCP servers,agent 保存 MCP servers, |




Summary
Validation
Notes