Connect an MCP server
Last updated 2026-11-09
DSH ships no built-in tools; MCP servers arrive through the @deepseek-ai/dsh-mcp-client row, usually configured in the profile patch.
Configuration
- insert:
- id: my-mcp
name: "@deepseek-ai/dsh-mcp-client"
config:
serverName: my-mcp
transport: stdio
command: /usr/local/bin/my-mcp
args: ["mcp"]
env:
MY_TOKEN: "..."
Three pitfalls
- Absolute paths:
commandmust be absolute; the host does not expand~or shell aliases. - Startup blocking: a stdio server that never prints its handshake looks like a hang. Run the command manually first.
- Secrets: put credentials in
env, notargs, or they show up in process listings.
Verify
After a reload the server's tools should appear in the session; otherwise read the host log for that serverName.