About Ssh MCP Go
Ssh MCP Go is an MCP server published by FrontMage in the Developer Tools category: mCP server for SSH operations using mcp-go and goph.
The repository has 1 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/FrontMage/ssh-mcp-goThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Ssh MCP Go
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
ssh-mcp-go
MCP server for SSH operations built with:
It exposes three tools over stdio:
ssh_exec: run a remote command and return outputssh_upload: upload a local file or directory to remotessh_download: download a remote file or directory to localssh_exec_dynamic: run a remote command with per-call SSH parameters
Requirements
- Go 1.20+ (recommended)
- An SSH server you can reach
Environment Variables
SSH_SERVER(required):user@hostorhostSSH_PORT(optional, default 22)SSH_KEY(optional): path to private keySSH_PASSPHRASEorSSH_KEY_PASSPHRASE(optional): private key passphraseSSH_PASSWORD(optional): password auth (also used for keyboard-interactive)SSH_USER(optional): username whenSSH_SERVERdoes not includeuser@
Auth priority is simple: if SSH_KEY is set, its key auth is included; if
SSH_PASSWORD is set, password auth is included. At least one must be provided.
Build
go build -o ssh-mcp-go .
Run (stdio)
SSH_SERVER=user@host \
SSH_PORT=22 \
SSH_KEY=~/.ssh/id_rsa \
SSH_PASSPHRASE=your_passphrase \
./ssh-mcp-go
Tool Usage (example)
From an MCP client, call tools with the following arguments:
ssh_execcommand(string)
ssh_uploadlocal_path(string)remote_path(string)
ssh_downloadremote_path(string)local_path(string)
ssh_exec_dynamicserver(string, host or user@host)user(string, required if server has no user@)port(int, optional)password(string, optional)key_path(string, optional)passphrase(string, optional)command(string)
Notes
- Host key verification is not enforced (uses
InsecureIgnoreHostKey). - Directory transfers are recursive.
README fetched from the repository yesterday. The original is authoritative.