SSH MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ssh_connectA | Establish an SSH connection to a remote server. Reads ~/.ssh/config on every call for host aliases, identity files, ports, and usernames. Supports password, private key, and SSH agent authentication. Host keys are accepted on first use (TOFU) — no strict checking. |
| ssh_executeA | Execute a command on a connected remote server via SSH. Returns stdout, stderr, and exit code. The connection must have been established first with ssh_connect. Output is capped at 1MB per stream to prevent memory issues. |
| ssh_disconnectC | Close an active SSH connection and free its resources. |
| ssh_list_connectionsA | List all SSH connections and their status (connected or dead). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool maps to a distinct lifecycle action: establish (ssh_connect), run (ssh_execute), close (ssh_disconnect), and inspect (ssh_list_connections). There is no overlap; an agent can unambiguously pick the right tool.
All tools share a consistent ssh_ prefix followed by a clear verb or verb_noun (connect, execute, disconnect, list_connections). The pattern is predictable and readable throughout.
Four tools is a well-scoped surface for SSH connection management, and each earns its place as a distinct lifecycle step. Nothing is redundant or missing at this granularity.
The full connect/execute/disconnect/list lifecycle is covered, so core command execution over SSH is complete. File transfer (SFTP/SCP) and port forwarding are absent, but these are workable gaps given the command-execution focus.