fix(MCP): 修复导入MCP时传输代码丢失导致无法连接的问题
- 前端 MarketPage 提交时随 download_url 发送粘贴的 MCP 代码(handleSubmit+handleCreateApp) - 后端新增 parse_mcp_config 解析标准 JSON 配置, 提取 url/headers/transport - upload_app 与 _sync 使用解析器落库 mcp_servers 并自动连通性测试 - _test_mcp_server 连接测试携带 headers 鉴权头 - 优化 MCP 代码输入框占位符为真实配置格式
This commit is contained in:
1 parent
24ed907ba5
commit
47d38ca173
3 files changed
+4548
-1741
No files matched your search
+821
-818
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user