ssh2mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_PORT | No | Listen port for the MCP server. | 6222 |
| SSH2MCP_BIND | No | Bind address the server listens on. | 127.0.0.1 |
| SSH2MCP_PERM | No | Startup permission level: ro, rw, full or selfcheck. The live value is read per request from the permission file. | rw |
| SSH2MCP_ROOT | No | Remote path jail applied to s_file, s_xfer and cwd. Unset by default. | |
| SSH2MCP_SSH_BIN | No | ssh binary to invoke. | ssh |
| SSH2MCP_SSH_HOST | No | Host alias from ~/.ssh/config for the single remote host reached over ssh (key-based access, BatchMode=yes is forced). | myhost |
| SSH2MCP_PERM_FILE | No | Path to the hot-switch permission file; an unreadable or invalid file falls back to the startup level and never widens it. | ~/.ssh2mcp-perm |
| SSH2MCP_MAX_OUTPUT | No | Characters of stdout and stderr kept per call (first 70% and last 30%). | 20000 |
| SSH2MCP_TIMEOUT_MS | No | Default run timeout in milliseconds, maximum 3600000. | 120000 |
| SSH2MCP_TOKEN_FILE | No | Path to the file holding the bearer token required on every route; the server refuses to start without one. The file is re-read per request, so rotating it needs no restart. | ~/.ssh2mcp-token |
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 issues