ssh-client-mcp-server
v1.6.3MCP server for executing shell commands on remote hosts via SSH.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
info
Returns identity and build information for this server (name, version, build commit, runtime, capability counts)
exec
Execute a shell command on the remote SSH server and return the output.
| Parameter | Type | Description |
|---|---|---|
command * | string | Shell command to execute on the remote SSH server |
tmux_list
List live tmux sessions on the remote host. Returns a JSON array of session names.
tmux_send
Type text into a persistent tmux session on the remote host (creates the session if it does not exist). Use to dispatch work to a long-running interactive process such as a coding agent.
| Parameter | Type | Description |
|---|---|---|
input * | string | Text to type into the session |
session | string | tmux session name (defaults to --tmux-session) |
submit | boolean | Press Enter after the text (default true) |
tmux_read
Capture the recent output (pane transcript) of a tmux session on the remote host.
| Parameter | Type | Description |
|---|---|---|
lines | integer | Lines of scrollback to capture (default 200; capped at 2000) |
session | string | tmux session name (defaults to --tmux-session) |
tmux_keys
Send control/special keys to a tmux session (e.g. C-c to interrupt, Escape, Up). Use tmux_send for ordinary text.
| Parameter | Type | Description |
|---|---|---|
keys * | array | tmux key names, e.g. ['C-c'] or ['Escape'] |
session | string | tmux session name (defaults to --tmux-session) |