SSH MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SSH_CONNECTIONS | No | Legacy environment variable for defining SSH connections via a JSON string array of connection objects. | |
| BINARYLANE_API_TOKEN | No | Optional API token for auto-discovery of active BinaryLane VPS servers. |
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 |
|---|---|
| list_connectionsA | List all configured SSH connections. Returns the name, host, port, and username for each connection. Connections are configured via the SSH_CONNECTIONS environment variable. Example usage: Before running commands, list connections to see what's available. |
| test_connectionA | Test connectivity to an SSH server. Attempts to establish an SSH connection and reports success/failure with latency. Parameters:
Example usage: Verify a server is reachable before running commands. |
| run_commandA | Execute a command on a remote server via SSH. Runs a shell command and returns stdout, stderr, and exit code. Parameters:
Example usage: run_command("web1", "uptime") Example usage: run_command("db1", "systemctl status mysql", 60000) Returns:
|
| read_remote_fileA | Read the contents of a file on a remote server. Parameters:
Example usage: read_remote_file("web1", "/etc/nginx/nginx.conf") Returns the file contents as text. |
| list_remote_directoryB | List contents of a directory on a remote server. Parameters:
Example usage: list_remote_directory("web1", "/var/log") Returns a list of files/directories with name, type, size, and modification time. |
| upload_fileB | Upload a local file to a remote server via SFTP. Parameters:
Example usage: upload_file("web1", "/tmp/config.txt", "/etc/myapp/config.txt") |
| download_fileA | Download a file from a remote server via SFTP. Parameters:
Example usage: download_file("web1", "/var/log/nginx/error.log", "/tmp/error.log") |
| add_connectionA | Add or update a manual SSH connection. Persisted to config file across restarts. Parameters:
Example: add_connection("staging", "10.0.0.5", 22, "deploy", "~/.ssh/deploy_key") |
| remove_connectionA | Remove a manual SSH connection from the config file. Only removes connections added via add_connection (source: config). Auto-discovered BinaryLane connections cannot be removed this way. Parameters:
|
| refresh_connectionsA | Re-discover BinaryLane servers and reload all connections. Refreshes the connection list by:
Use after creating/deleting BinaryLane servers to update the connection list. |
| get_configA | Show the current SSH MCP configuration. Returns the config file contents with sensitive values (tokens, passwords) redacted. Shows BinaryLane auto-discovery settings and all manual connections. |
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 11 tools
Each tool has a clearly distinct purpose: connection listing/testing/management, command execution, configuration inspection, and remote file operations. The only mild overlap is among list_connections, get_config, and refresh_connections, but their descriptions clearly separate listing, config inspection, and re-discovery.
All tool names use a consistent snake_case verb_noun pattern, such as list_connections, run_command, read_remote_file, and upload_file. There are no mixed conventions or vague standalone verbs.
Eleven tools is well within a reasonable range for an SSH management server and each tool maps to a distinct operational need. The set is neither bloated nor too thin for the domain.
The surface covers connection management, command execution, and core file operations including read, list, upload, and download. Minor gaps exist for direct remote file deletion, directory creation, or renaming, though run_command can serve as a workaround.