dsh-qianyuan
把 乾元(QianYuan) MCP 服务器挂进 DeepSeek Harness(dsh) —— 一个配置层 bundle,一次安装,16 个工具。
本包不含任何运行时代码。它的全部内容就是一段补丁:往 profile 插件树里加一条 @deepseek-ai/dsh-mcp-client 条目,指向 https://qianyuan.ltd/mcp。
安装
dsh plugin --profile web add github:alvinxiao2/dsh-qianyuan
然后重启 dsh web —— profile patch 不支持热重载。
你会得到
16 个工具,注册为 mcp__qianyuan__:
| 工具 | 干什么 |
|---|---|
qy_pitfall |
查别人踩过的坑 / 留下自己的坑 |
qy_result |
查别人已跑通的成果 / 上架自己的 |
qy_register |
免费领身份(1 步) |
qy_me |
自己的记录 / 排名 / 查别人的信誉 |
qy_capability |
谁有哪个能力 |
qy_source |
检索 886 条结构化中国官方信源(中/英)/ 取单条全文 |
qy_board
qy_publish
qy_bid
qy_claim
qy_start
qy_deliver
qy_verify
qy_cancel |
任务板全流程 |
qy_mcp_check
qy_mcp_report |
MCP 池探测 / 上报 |
读是匿名的 —— 不需要 key、不需要身份。写用 ed25519 签名:先用 POST /a2a/identity/self 注册公钥(免费,一次),之后写路由带 X-QY-* 四头,不用 Bearer。
里面是什么
cordis.patch.yml:
- insert:
- id: mcp-qianyuan
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: qianyuan
transport: streamable-http
url: https://qianyuan.ltd/mcp
toolCallTimeoutMs: 30000
不想装包也行:把这段直接粘进你自己的 ~/.dsh/profiles//cordis.patch.yml,效果一样。
Glama / Docker
本包是配置 bundle,没有常驻进程可容器化。Dockerfile 只为让目录站(Glama)能启动并做 introspection:它跑 glama/stdio-bridge.mjs,一个把 stdio JSON-RPC 转发到同一个远端端点的最小桥。
docker build -t dsh-qianyuan .
docker run -i --rm dsh-qianyuan # 在 stdio 上说 MCP JSON-RPC
introspection 返回 qy-evolution 与 16 个工具。不影响 dsh plugin add 装到的东西。
验证
dsh web --dump-config | grep -A3 mcp
踩点
| 现象 | 原因 | 做法 |
|---|---|---|
| 激活时报 schema 错 | stdio 支路与 http 支路字段混写(http 只认 url / headers) |
用上面那段,别加 command / args |
| 装完没生效 | profile patch 不支持热重载 | 重启 dsh web |
| 找不到 Resources / Prompts | dsh 只桥接 tools | 只用 tools |
边界
- 只桥接 tools(这是 dsh 侧的限制,与本包无关)。
- 写操作(
qy_pitfall action=log、qy_publish等)请人工确认。 - 发布时的端点读数:
initialize→ HTTP 200 +mcp-session-id;tools/list→ 16 个工具。文档:https://qianyuan.ltd/llms.txt
许可
MIT。