SSH MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SSH_PRIVATE_KEY | No | Path to SSH private key file. If not set, auto-discovery searches for keys in ~/.ssh/id_rsa, ~/.ssh/id_ed25519, ~/.ssh/id_ecdsa. |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| remote-sshB | Execute SSH commands on remote servers with private key authentication |
| ssh-edit-blockB | Edit specific text blocks in remote files (token-efficient alternative to full rewrites) |
| ssh-read-linesA | Read specific lines from remote files (token-efficient for large files) |
| ssh-search-codeA | Search for patterns in remote files without reading full content (token-efficient) |
| ssh-write-chunkB | Write content to remote files with append/rewrite modes (token-efficient for large content) |
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 5 tools
Each tool has a clearly distinct purpose: remote-ssh for general command execution, and the four ssh-* tools for specific file operations (edit block, read lines, search code, write chunk). There is no overlap or ambiguity.
Four tools follow the consistent 'ssh-verb-noun' pattern (e.g., ssh-read-lines), but 'remote-ssh' breaks this pattern. Still, the naming is mostly consistent and predictable.
With 5 tools, the server is well-scoped for its purpose of SSH remote operations. It covers essential file manipulation and command execution without being too sparse or bloated.
The tool set covers command execution and core file operations (read, write, edit, search). However, it lacks file listing, deletion, or transfer capabilities, leaving minor gaps for a complete SSH toolkit.