MCP server giving AI agents SSH, SFTP, persistent PTY shells, host-to-host copies and remote desktop screenshots. One Rust binary, no runtime.
Fast-mcp-ssh demonstrates solid tool design with 17 well-named, action-verb tools (exec, sh, ping, ls, etc.) and comprehensive parameter schemas. Most tools have descriptions and typed inputs. However, descriptions are often terse (10-40 chars), parameter descriptions lack detail on constraints/formats, and output schemas are not documented. Error handling guidance is minimal. The server follows composition patterns well (single responsibility per tool, proper chaining via host parameters) but falls short of production-grade LLM-optimization standards.
Copy files between hosts
Close SSH session to a host
Download a file from remote host via SFTP
Execute a stateless one-shot command on a remote host
Fan-out parallel commands on one host
Probe host for system facts and capabilities
Set up local-to-remote port forwarding
List targets and session state
Tool descriptions are too brief (10-50 chars). LLMs need 50-200 char descriptions explaining WHAT, WHEN, and WHY. E.g., 'dn' is 'Download a file from remote host via SFTP', lacks guidance on when to use it vs other file access methods.
Parameter descriptions lack constraint details. E.g., 'timeout' params say 'Timeout in seconds' but don't specify min/max bounds, default, or what happens on timeout. 'shell' param lacks enum of valid shells or format guidance.
Output schemas are not documented in tool definitions. Callers cannot predict response structure (e.g., does 'hosts' return {hosts: [...]} or {targets: [...]}?). This forces LLMs to guess and wastes tokens on trial-and-error.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | 2026-07-28+ | v2 |
List files in a remote directory via SFTP
Check reachability to a host
Reload configuration from disk
Execute a command in a stateful PTY shell where cd/export/source persist
List active PTY shells or close a specific shell
Capture and download a remote desktop screenshot
Stream file contents with optional follow mode
Upload a file to remote host via SFTP
Write content to a file on remote host via SFTP
Error handling lacks recovery guidance. No tool description explains what to do if a host is unreachable, a file doesn't exist, or a command times out. LLMs need actionable error messages, not raw failures.
Abbreviated tool names ('dn', 'up', 'wr', 'sh') reduce clarity. 'dn' could mean download, deny, or daemon. 'wr' is ambiguous (write? wrap?). Spell out: 'download_file', 'upload_file', 'write_file', 'shell_exec' for LLM clarity.