Skip to content
Discussion options

You must be logged in to vote

需要装,而且这里有个坑,我刚在干净环境里实测了两遍。

直接装会拿到一个很老的版本。

dsh plugin --profile web add @deepseek-ai/dsh-mcp-client

装出来是 0.0.1-rc.1,因为这个包的 npm dist-tag 还停在旧版:

{ latest: '0.0.1-rc.1', next: '0.1.0-rc.7' }

所以要跟宿主 dsh 版本对齐着装。 先看自己的版本,再按这个版本号 pin:

dsh --version                                              # 比如 0.1.0-rc.7
dsh plugin --profile web add @deepseek-ai/dsh-mcp-client@0.1.0-rc.7

这样装出来就是 0.1.0-rc.7,我这边验证过。

另外会看到一条 warning,那是正常的,不用管:

dsh: warning: @deepseek-ai/dsh-mcp-client declares no dsh.bundle
  — installed as a plain dependency, not a profile layer

因为 mcp-client 本身不是 bundle,它不会自己往 profile 里插行。激活方式就是你手动在 cordis.patch.yml 里写那条 insert(也就是上一条回复里的 YAML),一个服务器一行。装包 + 写行,两步都做完再重启 dsh web 就能用了。

顺序建议是先…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@MaoJianwei
Comment options

@MaoJianwei
Comment options

@MaoJianwei
Comment options

@MaoJianwei
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by MaoJianwei
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants