Replies: 4 comments 2 replies
|
你观察得对:当前 Web 设置页没有通用 MCP server 的添加表单。现有入口是组合配置,而不是 GUI。 官方已经提供 # my-mcp.cordis.yml
- insert:
- id: mcp-example
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: example
transport: stdio
command: npx
args: ['-y', '@example/mcp-server']
env:
EXAMPLE_TOKEN: !!js process.env.EXAMPLE_TOKEN启动时加载: dsh web --patch /absolute/path/to/my-mcp.cordis.yml远程 Streamable HTTP server 则改成: config:
serverName: example
transport: streamable-http
url: https://example.com/mcp
headers:
Authorization: !!js '`Bearer ${process.env.MCP_TOKEN}`'连接并完成 确认临时配置能工作后,再把同一条
不要覆盖已有 patch 文件,也不要把 token 明文写入 YAML;通过进程环境变量传入。 所以结论是:MCP runtime 能力已经存在,缺的是便捷的配置 UI、校验与连接状态展示。如果把它作为功能需求,我建议 GUI 至少覆盖 transport、command/args 或 URL、环境变量引用、连接测试、发现的工具数量、重连状态,以及删除前确认。 上游参考: |
|
这个反馈需要按 transport 分开看。当前 reconnect:
enabled: true
initialDelayMs: 500
maxDelayMs: 30000
maxAttempts: 10它由 2026-08-10 的 不过这里有一个关键边界:
所以“当时配置好能用,过期后不能用”更像第二条,不能笼统归为完全没有重连逻辑。为了形成可修复的复现,请补充:
若是 HTTP 401/403 或 session-id 失效且没有 |
|
https://github.com/yangfch3/dsh-mcp-mgr |
|
现在已经有不需要手写 YAML 的产品入口了。 dsh plugin --profile web add dsh-work-x dsh-better-sidebar
dsh web重启后有两层入口:
套件底层不是给官方 |
Uh oh!
There was an error while loading. Please reload this page.
没有mcp的添加入口,可以硬加上去,但是没有配置的入口方便
All reactions