Stdio MCP server for SSH host storage and remote command execution with a connection-pool monitor.
Connect Runs on your machine
claude mcp add mcp-ssh-exec-cmd -e MCP_SSH_CONFIG_DIR=<MCP_SSH_CONFIG_DIR> -e MCP_SSH_MASTER_KEY=<MCP_SSH_MASTER_KEY> -e MCP_SSH_POOL_IDLE_MS=<MCP_SSH_POOL_IDLE_MS> -e MCP_SSH_POOL_MAX_HOSTS=<MCP_SSH_POOL_MAX_HOSTS> -- npx -y @xlbbb-cn/[email protected]
{
"mcpServers": {
"mcp-ssh-exec-cmd": {
"command": "npx",
"args": [
"-y",
"@xlbbb-cn/[email protected]"
],
"env": {
"MCP_SSH_CONFIG_DIR": "<MCP_SSH_CONFIG_DIR>",
"MCP_SSH_MASTER_KEY": "<MCP_SSH_MASTER_KEY>",
"MCP_SSH_POOL_IDLE_MS": "<MCP_SSH_POOL_IDLE_MS>",
"MCP_SSH_POOL_MAX_HOSTS": "<MCP_SSH_POOL_MAX_HOSTS>"
}
}
}
}
{
"mcpServers": {
"mcp-ssh-exec-cmd": {
"command": "npx",
"args": [
"-y",
"@xlbbb-cn/[email protected]"
],
"env": {
"MCP_SSH_CONFIG_DIR": "<MCP_SSH_CONFIG_DIR>",
"MCP_SSH_MASTER_KEY": "<MCP_SSH_MASTER_KEY>",
"MCP_SSH_POOL_IDLE_MS": "<MCP_SSH_POOL_IDLE_MS>",
"MCP_SSH_POOL_MAX_HOSTS": "<MCP_SSH_POOL_MAX_HOSTS>"
}
}
}
}
{
"servers": {
"mcp-ssh-exec-cmd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xlbbb-cn/[email protected]"
],
"env": {
"MCP_SSH_CONFIG_DIR": "<MCP_SSH_CONFIG_DIR>",
"MCP_SSH_MASTER_KEY": "<MCP_SSH_MASTER_KEY>",
"MCP_SSH_POOL_IDLE_MS": "<MCP_SSH_POOL_IDLE_MS>",
"MCP_SSH_POOL_MAX_HOSTS": "<MCP_SSH_POOL_MAX_HOSTS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
MCP_SSH_CONFIG_DIROptional | Directory holding hosts.json and master.key (default: ~/.mcp-ssh-server). |
MCP_SSH_MASTER_KEYOptional, secret | 64-hex-character AES-256-GCM master key; auto-generated into <config dir>/master.key when unset. |
MCP_SSH_POOL_IDLE_MSOptional | Idle SSH connections are closed after this many milliseconds (default: 60000, 0 disables pooling). |
MCP_SSH_POOL_MAX_HOSTSOptional | Maximum number of pooled SSH connections (default: 32). |
Details
| Package | @xlbbb-cn/[email protected] (NPM, stdio) |
| First published | 23 Oct 2026 |
| Last updated | 23 Oct 2026 |
| Registry name | io.github.xlbbb-cn/mcp-ssh-exec-cmd |
More files and documents servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
