NestDaddy

SSH Host Storage & Remote Exec

io.github.xlbbb-cn/mcp-ssh-exec-cmd · v0.1.3

Stdio MCP server for SSH host storage and remote command execution with a connection-pool monitor.

Connect Runs on your machine

Terminal
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]
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
MCP_SSH_CONFIG_DIR
Optional
Directory holding hosts.json and master.key (default: ~/.mcp-ssh-server).
MCP_SSH_MASTER_KEY
Optional, secret
64-hex-character AES-256-GCM master key; auto-generated into <config dir>/master.key when unset.
MCP_SSH_POOL_IDLE_MS
Optional
Idle SSH connections are closed after this many milliseconds (default: 60000, 0 disables pooling).
MCP_SSH_POOL_MAX_HOSTS
Optional
Maximum number of pooled SSH connections (default: 32).

Details

Package@xlbbb-cn/[email protected] (NPM, stdio)
First published23 Oct 2026
Last updated23 Oct 2026
Registry nameio.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.