About Relay Shell
Relay Shell is an MCP server published by rmednitzer in the Security category: model Context Protocol server for full shell and SSH fleet operation, with audit, tiered authority, and resource bounds. Conduid read 22 tools from its source: audit_tail, operation_confirm, server_info, session_kill, session_list, session_recv and 16 more. No package is published for it, so it installs from a source checkout.
The repository has 2 stars and 1 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include asyncssh, automation, devops, shell, ssh and sysadmin.
Install
git clone https://github.com/rmednitzer/relay-shellTools (22)
audit_tailReturn recent audit-log records as JSONL (oldest first), optionally filtered.| Parameter | Type | Description |
|---|---|---|
| denied | boolean | |
| lines | integer | |
| tier | integer | |
| tool | string |
operation_confirmArm a Tier-3 confirmation token, then re-issue the original call.| Parameter | Type | Description |
|---|---|---|
| signature | string | |
| token * | string |
server_infoReport version, effective limits, policy mode, and audit status.session_killSignal a session and (by default) close and reap it.| Parameter | Type | Description |
|---|---|---|
| close | boolean | |
| session_id * | string | |
| signal_name | string |
session_listList active sessions with size, age, idle, and byte counters.session_recvRead buffered/new output from a session, waiting up to ``timeout`` seconds.| Parameter | Type | Description |
|---|---|---|
| max_bytes | integer | |
| session_id * | string | |
| timeout | number |
session_resizeResize a session's PTY.| Parameter | Type | Description |
|---|---|---|
| cols * | integer | |
| rows * | integer | |
| session_id * | string |
session_sendSend input to a session (local or SSH). ``enter`` appends a newline.| Parameter | Type | Description |
|---|---|---|
| data * | string | |
| enter | boolean | |
| session_id * | string |
shell_execRun one non-interactive shell command on the local host; returns its combined output.| Parameter | Type | Description |
|---|---|---|
| command * | string | |
| cwd | string | |
| env_json | string | |
| max_output | integer | |
| merge_stderr | boolean | |
| stdin | string | |
| timeout | integer | |
| use_shell | boolean |
shell_scriptRun a multi-line script (bash/sh/python) fed on stdin; returns its output.| Parameter | Type | Description |
|---|---|---|
| cwd | string | |
| env_json | string | |
| interpreter | string | |
| script * | string | |
| strict | boolean | |
| timeout | integer |
shell_spawnStart a persistent local PTY session; returns a session id.| Parameter | Type | Description |
|---|---|---|
| cols | integer | |
| command | string | |
| cwd | string | |
| env_json | string | |
| rows | integer |
ssh_checkProbe connectivity to the given hosts (or the whole inventory).| Parameter | Type | Description |
|---|---|---|
| hosts | string | |
| timeout | integer |
ssh_downloadDownload a file or tree from a remote host via SFTP.| Parameter | Type | Description |
|---|---|---|
| host * | string | |
| jump | string | |
| key_path | string | |
| known_hosts | string | |
| local_path * | string | |
| port | integer | |
| recursive | boolean | |
| remote_path * | string | |
| timeout | integer | |
| user | string |
ssh_execRun one non-interactive command on a remote host over SSH; returns its output.| Parameter | Type | Description |
|---|---|---|
| command * | string | |
| host * | string | |
| jump | string | |
| key_path | string | |
| known_hosts | string | |
| port | integer | |
| timeout | integer | |
| user | string |
ssh_fanoutRun ``command`` in parallel across hosts; per-host exit codes in one JSON.| Parameter | Type | Description |
|---|---|---|
| command * | string | |
| concurrency | integer | |
| hosts | string | |
| timeout | integer |
ssh_forwardCreate a port forward.| Parameter | Type | Description |
|---|---|---|
| host * | string | |
| jump | string | |
| key_path | string | |
| known_hosts | string | |
| port | integer | |
| spec * | string | |
| user | string |
ssh_forward_closeClose an SSH port forward by id.| Parameter | Type | Description |
|---|---|---|
| forward_id * | string |
ssh_forward_listList active SSH port forwards.ssh_hostsShow the resolved host inventory (ssh_config + inventory file).ssh_keyscanFetch host public keys via ssh-keyscan (Tier 1, reversible).| Parameter | Type | Description |
|---|---|---|
| hosts * | string | |
| key_types | string | |
| port | integer | |
| timeout | integer |
ssh_spawnOpen a persistent interactive PTY on a remote host; returns a session id.| Parameter | Type | Description |
|---|---|---|
| cols | integer | |
| command | string | |
| host * | string | |
| jump | string | |
| key_path | string | |
| known_hosts | string | |
| port | integer | |
| rows | integer | |
| user | string |
ssh_uploadUpload a file or tree to a remote host via SFTP.| Parameter | Type | Description |
|---|---|---|
| host * | string | |
| jump | string | |
| key_path | string | |
| known_hosts | string | |
| local_path * | string | |
| port | integer | |
| recursive | boolean | |
| remote_path * | string | |
| timeout | integer | |
| user | string |
Security checks
6 checks have not been run yet.