micln/dsh-mcp-autoload
Auto-mounts the MCP servers a project declares in .agents/mcp.json for any DSH session working inside that project, and only there.
Removes the per-project setup step for MCP servers: put a .agents/mcp.json at a project root and every DSH agent session whose working directory sits inside that project mounts the declared servers automatically, with no global list to maintain and no bleed between projects. The JSON is the familiar mcpServers shape, so an entry is a command plus optional args and env for stdio, or a URL plus optional headers for http, and a disabled entry is simply skipped. For stdio it scrubs the child environment and then merges the entry's own variables over it, so what the entry declares survives the scrub while the ambient environment does not leak in.
Install
dsh plugin --profile web add dsh-mcp-autoloadThe README's install line. The package declares dsh.bundle.patch, so the CLI registers it under the profile's bundle list for you; restart dsh web afterwards because the host half loads at startup, then hard-refresh the browser. Update with dsh plugin --profile web add dsh-mcp-autoload@latest, uninstall with dsh plugin --profile web remove dsh-mcp-autoload, and for a local clone add the checkout path instead, which records the dependency as a link:.
Compatibility
DSH >=0.2.1-0 <0.3.0 and Node ^22.19.0 || >=24.0.0. dsh plugin forwards its arguments to pnpm inside the profile directory. Project discovery walks up to the nearest ancestor with a .git marker, connections close when the session ends, and servers declared by other projects never leak into a session. Both stdio (command, args, env) and http (url, headers) transports are supported, with enabled and disabled spellings for turning an entry off, and args are passed through without shell interpolation.
Details
- Repo: micln/dsh-mcp-autoload
- Category: Tools & Capabilities
- Stars: 0
- Version: 0.4.0 (npm)
Alternatives
YanzuoLu/dsh-mcp-toggle · Nigheart/dsh-mcp-relay · klarkxy/dsh-plugin-autoevo