ssh-mcp-server
by SkBlueGreedy
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --pty | No | Allocate a pseudo-terminal for command execution. Default: true. | |
| --ssh | No | SSH connection configuration, either as a JSON string or legacy comma-separated key=value format. Can be repeated. | |
| --host | No | SSH server host address or an alias from the SSH config. Comma-separated values enable multi-connection mode. | |
| --port | No | SSH server port. | |
| --agent | No | SSH agent socket path. | |
| --proxy | No | Proxy URL for SOCKS5, HTTP, or HTTPS proxy access. | |
| --password | No | SSH password. | |
| --username | No | SSH username. | |
| --blacklist | No | Comma-separated regular expressions for commands blocked from execution. | |
| --http-host | No | HTTP listen address. Default: 127.0.0.1. | |
| --http-path | No | HTTP endpoint path. Default: /mcp. | |
| --http-port | No | HTTP listen port. Default: 3000; 0 lets the system choose. | |
| --whitelist | No | Comma-separated regular expressions for commands allowed to execute. | |
| --http-token | No | HTTP Bearer token. Falls back to SSH_MCP_HTTP_TOKEN when omitted. | |
| --passphrase | No | Passphrase for the SSH private key, if encrypted. | |
| --privateKey | No | Path to an SSH private key file. | |
| --socksProxy | No | Legacy SOCKS5 proxy URL. Do not use together with --proxy. | |
| --config-file | No | Path to a JSON configuration file for one or more SSH connections. Recommended for multi-server setups. | |
| --pre-connect | No | Pre-connect all configured SSH servers at startup. | |
| --try-keyboard | No | Enable keyboard-interactive authentication for 2FA/MFA. Default: false. | |
| --mcp-transport | No | MCP client transport: stdio or http. Default: stdio. | |
| --transport-mode | No | SSH transport mode: exec or shell. Default: exec. | |
| SSH_MCP_2FA_CODE | No | 2FA/MFA verification code for keyboard-interactive authentication. | |
| --ssh-config-file | No | Path to the SSH config file. Default: ~/.ssh/config. | |
| --command-template | No | Template used to wrap each command. Use <quotedCommand> or <command>. | |
| SSH_MCP_HTTP_TOKEN | No | HTTP Bearer token for Streamable HTTP transport. | |
| --allowed-local-paths | No | Comma-separated extra local paths allowed for upload/download. | |
| --shell-ready-timeout | No | Shell readiness probe timeout in milliseconds. Default: 10000. | |
| --allowed-remote-paths | No | Comma-separated absolute remote paths allowed for SFTP upload/download. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues