relay-remotify-mcp

v0.6.4
io.github.onlsol/relay-remotify-mcp Checked 8 hours ago Published 15 days ago

Run shell commands on remote computers with optional per-command approval, using only curl and bash.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

remote_exec

Execute a shell command on the PROJECT'S REMOTE SERVER via the remotify relay (the deployed/production/staging box, NOT the developer's local machine). Examples: 'check disk usage', 'restart the service', 'tail the app log', 'query the prod DB', 'is port 443 open in prod', 'what version is running in staging'. Chain this tool freely for iterative work - log analysis with grep/awk/sed/head/tail, narrowing a search, cross-checking outputs, diagnosing slow services with ps/vmstat/netstat/iostat. Each call saves a manual copy-paste roundtrip; only surface the meaningful result or synthesis to the…

ParameterTypeDescription
command *stringShell command to execute on the remote machine

remote_session_info

Return the current relay session: key, URLs, and the exact one-liners to paste on the remote machine to start the listener (remote_quickstart = supervised, y/N per command; remote_quickstart_auto = unattended). When you show them to the user, show BOTH verbatim in a fenced code block and make them the final message of your turn.

remote_session_reset

Recover a wedged remotify session. Default (no arguments): clear stuck relay state in place - drops any queued command/result and the in-flight marker; the session key and a connected listener keep working. With {"rotate": true}: abandon the current session and mint a brand-new key - the old key dies, the remote listener disconnects, and the user must paste the NEW runner one-liner (returned by this tool) on the remote. Normally NOT needed: remote_exec auto-recovers from stale state by itself. Use it only when remote_exec stays wedged (repeated [busy] for a command you never issued) despite sa…

ParameterTypeDescription
rotatebooleanMint a brand-new session key instead of clearing the current one in place (requires the user to reconnect the remote listener)