Policy-gated, audited SSH for Linux and Windows hosts: roles, approvals, and an audit log.
Connect Runs on your machine
claude mcp add ssh-mcp -e SSH_MCP_PASSWORD=<SSH_MCP_PASSWORD> -e SSH_MCP_KEY=<SSH_MCP_KEY> -e SSH_MCP_PASSPHRASE=<SSH_MCP_PASSPHRASE> -e SSH_MCP_SUDO_PASSWORD=<SSH_MCP_SUDO_PASSWORD> -- npx -y [email protected]
{
"mcpServers": {
"ssh-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"SSH_MCP_PASSWORD": "<SSH_MCP_PASSWORD>",
"SSH_MCP_KEY": "<SSH_MCP_KEY>",
"SSH_MCP_PASSPHRASE": "<SSH_MCP_PASSPHRASE>",
"SSH_MCP_SUDO_PASSWORD": "<SSH_MCP_SUDO_PASSWORD>"
}
}
}
}
{
"mcpServers": {
"ssh-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"SSH_MCP_PASSWORD": "<SSH_MCP_PASSWORD>",
"SSH_MCP_KEY": "<SSH_MCP_KEY>",
"SSH_MCP_PASSPHRASE": "<SSH_MCP_PASSPHRASE>",
"SSH_MCP_SUDO_PASSWORD": "<SSH_MCP_SUDO_PASSWORD>"
}
}
}
}
{
"servers": {
"ssh-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"SSH_MCP_PASSWORD": "<SSH_MCP_PASSWORD>",
"SSH_MCP_KEY": "<SSH_MCP_KEY>",
"SSH_MCP_PASSPHRASE": "<SSH_MCP_PASSPHRASE>",
"SSH_MCP_SUDO_PASSWORD": "<SSH_MCP_SUDO_PASSWORD>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
SSH_MCP_PASSWORDOptional, secret | Password for the configured profile; a per-profile SSH_MCP_<PROFILE>_PASSWORD takes precedence. Credentials are never accepted as CLI arguments. |
SSH_MCP_KEYOptional | Path to the private key file to authenticate with — the path, not the key material. A per-profile SSH_MCP_<PROFILE>_KEY takes precedence. |
SSH_MCP_PASSPHRASEOptional, secret | Passphrase for an encrypted private key. |
SSH_MCP_SUDO_PASSWORDOptional, secret | Password the sudo tool escalates with, when the policy in force allows the privileged class. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 12 Nov 2026 |
| Last updated | 12 Nov 2026 |
| Registry name | io.github.tufantunc/ssh-mcp |
More cloud and devops servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
