MCP server for managing persistent SSH sessions
The server provides 10 tools with reasonable naming conventions and generally good parameter schemas. However, there are significant issues with consistency in description quality, missing output schema documentation, and lack of error handling guidance. Most tools follow verb_noun naming (execute_command, list_sessions, read_file) which is good. Parameter descriptions are present and mostly detailed, with types explicitly declared. However, several tools lack actionable error recovery guidance, and output schemas are not formally documented. The server exposes passwords as optional parameters (critical security issue), and descriptions vary wildly in length and quality. This puts the server in the 'fair to poor' range, acceptable foundations but notable gaps that would prevent confident production deployment.
Close all active SSH sessions.
Close a specific SSH session. The host parameter can be either a hostname/IP or an SSH config alias.
Execute a command on an SSH host using a persistent session. Starts synchronously and waits for completion. If the command doesn't complete within the timeout, it automatically transitions to async mode and returns a command ID for tracking. The host parameter can be either a hostname/IP or an SSH config alias. If an SSH config alias is provided, configuration will be read from ~/.ssh/config. For network devices (routers, switches), use enable_password to automatically enter privileged/enable mode before executing commands. For Unix/Linux hosts requiring sudo, use sudo_password to automatically handle the sudo password prompt. The command will be automatically prefixed with 'sudo' if not already present.
Execute a command with enhanced features for better UX. This tool provides advanced features for long-running commands and improved error handling with automatic troubleshooting suggestions. Enhanced Features: - auto_extend_timeout: Automatically extends timeout for long-running commands - streaming_mode: Returns output as it streams (ideal for very long operations) - progress_callback: Provides progress updates during execution The host parameter can be either a hostname/IP or an SSH config alias.
Credentials exposed as optional parameters: password, key_filename, enable_password, sudo_password all appear as direct tool parameters across execute_command, read_file, write_file, and execute_command_enhanced. These MUST be injected server-side via environment variables or vault. Agent traces log all parameters, causing credential leakage into logs and prompt history.
Output schemas not documented: No tool provides a formal description of its return value structure. The descriptions mention 'returns a command ID' or 'returns output as it streams' but do not specify field names, types, or presence guarantees. LLMs cannot plan downstream calls or extract data reliably without documented schemas.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-21 | D | 58 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 27 | - | v1 |
Get health report for all active SSH connections. Provides an overview of all active sessions, their health status, and any connections that may need attention.
Get comprehensive diagnostics for an SSH session. Provides detailed information about session health, shell state, prompt detection, and performance metrics for troubleshooting and optimization.
List all active SSH sessions.
Read a remote file over SSH. Attempts to read using SFTP first. If permission is denied and use_sudo is True or sudo_password is provided, falls back to using 'sudo cat' via shell command.
Reset and recapture prompt detection for a session. Useful when prompt detection is failing or behaving incorrectly. This will clear existing prompt data and recapture the current prompt.
Write content to a remote file over SSH. If use_sudo is True or sudo_password is provided, uses sudo via shell commands
Inconsistent description length and detail: list_sessions has a 29-char description ('List all active SSH sessions.'), while execute_command has 380+ chars. Per the rubric baseline (average 194 chars, p90=392), very short descriptions (under 50 chars) lack context for tool selection. list_sessions, close_all_sessions, reset_session_prompt, and get_connection_health_report all fall below 50 chars.
No error handling guidance: None of the tool descriptions state what can go wrong, how to recognize errors, or what the LLM should do next. Descriptions mention 'automatically transitions to async mode' (execute_command) or 'falls back to using sudo cat' (read_file) but do not explain failure conditions or recovery steps. Per the rubric, error responses must tell the LLM what to do: 'SSH key not found. Provide key_filename or add the key to ~/.ssh/id_rsa.'
Missing permission gates and audit logging declarations: Tools like close_all_sessions and write_file are destructive but do not declare required permissions (e.g. 'write:ssh-config', 'admin:session-management'). No description of audit trail (who called, when, with what parameters). Per the rubric, destructive tools must declare permissions and support audit trails.
Parameter relationships undocumented: enable_password and enable_command are mutually dependent (enable_command is only relevant if enable_password is provided), but this is not stated in either parameter description. Similarly, sudo_password and use_sudo in read_file have an unstated relationship. LLMs will pass both or neither, causing silent misuse.
No idempotency or retry guidance: execute_command mentions 'automatically transitions to async mode' but does not state whether calling it twice with the same command runs twice or is deduplicated. write_file accepts append=true/false and overwrite semantics but does not guarantee idempotency. Per the rubric, agents retry on ambiguous failures, non-idempotent tools risk duplicate side effects.
Vague parameter names and missing natural identifiers: The 'host' parameter is overloaded, it accepts 'hostname/IP or SSH config alias' but the description does not explain how the tool disambiguates (does it try SSH config first? Treat it as hostname if not found?). Per the rubric, overloaded parameters force LLMs to reason about field mappings, increasing errors.
No batch operations: Tools like execute_command and read_file operate on single hosts. If an agent needs to run the same command on 5 servers, it must call execute_command 5 times sequentially, wasteful and error-prone. Per the rubric, batch variants reduce tokens and latency.