- Home
- Plugin
- Miglioramenti UI
- dsh-mcp-servers
dsh-mcp-servers
p33333333333333l/dsh-mcp-servers
Adds a /mcp command that opens a panel to view, add, edit and remove MCP servers, writing the profile patch for you instead of hand-editing cordis.patch.yml.
Installazione
dsh plugin --profile web add github:p33333333333333l/dsh-mcp-serversREADME
dsh-mcp-servers
Manage MCP servers in DSH with /mcp. View plugin status and available tools, import configurations, and add, edit or remove local stdio and remote HTTP servers.

Install
Add this plugin market index in DSH, then install MCP Servers:
https://raw.githubusercontent.com/p33333333333333l/dsh-mcp-servers/refs/heads/main/index.json
Or install directly through the plugin manager:
git+https://github.com/p33333333333333l/dsh-mcp-servers.git
Restart DSH or refresh the page after installation.
Use
Enter /mcp in the conversation input and select MCP Servers, or press Enter. The panel follows your interface language (English or Chinese).
- Add or edit a server in the form, or delete it after confirmation. Server names are fixed after creation.
- Paste JSON or choose a file, then click Import.
- Check the status dot beside each name: green means the MCP client plugin loaded, yellow means pending, red means loading failed, and gray means disabled or inactive. Check the tool list for tools currently registered.
Press Esc or enter /mcp again to close the panel.
Server settings
Server names allow letters, numbers, underscores and hyphens, up to 32 characters. Tools appear to the model as mcp__<server-name>__<tool-name>.
| Connection | Settings |
|---|---|
| Local process (stdio) | Command such as npx or /usr/bin/node; one argument per line; optional working directory; environment variables as KEY=VALUE, one per line |
| Remote HTTP | Server URL such as https://example.com/mcp; optional headers as NAME=VALUE, one per line |
Block startup when the connection fails makes the MCP client fail to activate if it cannot connect.
Environment variables and headers can reference environment values with !!js:
Authorization=!!js "Bearer " + process.env.MCP_TOKEN
DSH evaluates the expression when loading the configuration. Existing expressions are preserved when edited. For multiline values, start each continuation line with a Tab; the panel adds this marker when displaying existing values.
Import
Accepts a mcpServers object or a plain object keyed by server name:
{
"mcpServers": {
"local": { "command": "npx", "args": ["-y", "example-mcp"] },
"remote": { "type": "http", "url": "https://example.com/mcp" }
}
}
Local servers support command, args, env and cwd. Remote servers support url and headers; type may be omitted or set to "http" or "streamable-http".
Duplicate names, invalid data or unsupported fields (including SSE and disabled) reject the whole batch without overwriting existing servers. The import panel keeps your input so you can follow the error message and retry. Failed writes or reloads roll back the batch.
Imported environment variables and headers stay literal strings, including unchanged !!js text on later edits. The reserved dictionary key __jsExpr is not accepted.
Configuration changes and limits
- The panel manages the current DSH profile. Install the plugin separately in each profile you use.
- Changes update that profile's
cordis.patch.yml. Back up~/.dsh/profiles/<profile>/cordis.patch.ymlbefore first use. - Saving reconnects the MCP client and may interrupt active tool calls. Deleting a server removes all its tools.
- The panel can remove servers with a unique insertion in the current profile patch. Remove other servers where they are defined.
- If a server changed after you opened its form, reopen the panel before saving. Patch files reached through symbolic links and literal
__jsExprmaps that the host editor would rewrite must be edited directly. - The panel uses your authenticated DSH session. Set
manage: falsein the plugin configuration for read-only access:
- insert:
- id: mcp-manager
name: 'dsh-mcp-servers'
config:
manage: false
License
Plugin correlati
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-TUI
ccch1mneyyy/dsh-tui
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui