Stdio MCP server for SSH host storage and remote command execution with a connection-pool monitor.
MCPpedia last refreshed this data
io.github.xlbbb-cn/mcp-ssh-exec-cmd is an MCP server that stdio MCP server for SSH host storage and remote command execution with a connection-pool monitor. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 86/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-xlbbb-cn-mcp-ssh-exec-cmd": {
"args": [
"-y",
"@xlbbb-cn/mcp_ssh_exec_cmd"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Stdio MCP server for SSH host storage and remote command execution with a connection-pool monitor.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @xlbbb-cn/mcp_ssh_exec_cmd against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
A curated list of skills, tools, tutorials, and capabilities for AI coding agents (Claude, Codex, Antigravity, Copilot, VS Code)
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
MCP Security Weekly
Get CVE alerts and security updates for io.github.xlbbb-cn/mcp-ssh-exec-cmd and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A standalone stdio MCP server that turns SSH host management and remote command execution into MCP tools. It also ships an interactive / batch CLI (
remote-ssh-cli) for managing SSH hosts on the local machine.简体中文文档见 README.zh-CN.md。
This is a Node.js re-implementation of the SSH-host half of a FastAPI project
(app/services/llm_tools.py + app/utils/ssh_helper.py + app/models/host.py) —
without the backend, without the database, without a network service. Any MCP
client (Claude Desktop, Continue, a custom agent, …) can start it with npx
and talk to it over JSON-RPC.
~/.mcp-ssh-server/hosts.json); no FastAPI backend, no database.crypto for AES-256-GCM, pure-JS ssh2 for SSH; runs on Windows / macOS / Linux.npx.pool_status renders the live pool as a desensitized table: uid, name, connection state, executed / failed commands and the last command (secrets and IP addresses masked).remote-ssh-cli manages the very same store (interactive TUI, batch commands, CSV bulk import) and can monitor the connection pool live (one frame per second, q quits).Nine tools are published:
| Tool | Description |
|---|---|
cli_help | Installation / usage / troubleshooting notes for remote-ssh-cli, optionally narrowed down with topic |
host_list | List the known hosts — only sys_name and uid (no address, user name or credential); uid is the host_id every other tool expects |
host_create | Add a host (password / private key / passphrase are encrypted at rest) |
host_update | Patch host fields (omitted credential fields keep their current value) |
host_delete | Delete a host |
ssh_run_command | Run a single non-interactive command on a host |
ssh_run_interactive | Run a command that answers prompts (sudo, …) through expect/answer pairs |
ssh_run_playbook | Run a multi-step playbook (structured # @… directives or legacy expect:/answer: lines) |
pool_status | Monitor the live connection pool — one desensitized row per host (uid, name, state, executed / failed commands, last command) |
host_list is the entry point: every host comes back as exactly two fields — sys_name (the name) and uid (the unique identifier).host_id. Pass it back unchanged; never assemble or guess one.Host '<id>' not found. host_id must be the exact 'uid' value returned by host_list — call host_list to obtain the valid identifiers.
Call host_list again and retry with the value it returns.host_get is deliberately not published to MCP clients: the model only ever sees sys_name + uid, never one host's address, user name or credential. The CLI keeps its own get subcommand for human operators.| Tool | Arguments |
|---|---|
cli_help | topic? — one of install, list, get, create, update, delete, import, monitor, tui, windows |
host_list | enabled_only? (bool) |
host_create | ip_address (required), system_name?, ssh_port? (1-65535, default 22), ssh_username? (default root), ssh_auth_method? (password | pubkey), `ssh_passwo |