ssh for VS Code
com.pulsemcp/ssh
MCP server for SSH remote server management with SSH agent authentication support.
client:VS Code
transport:stdio
runtime:npm
Install ssh in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ssh-host",
"description": "SSH_HOST",
"password": true
},
{
"type": "promptString",
"id": "ssh-username",
"description": "SSH_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "ssh-port",
"description": "SSH_PORT",
"password": true
},
{
"type": "promptString",
"id": "ssh-auth-sock",
"description": "SSH_AUTH_SOCK",
"password": true
},
{
"type": "promptString",
"id": "ssh-private-key-path",
"description": "SSH_PRIVATE_KEY_PATH",
"password": true
},
{
"type": "promptString",
"id": "ssh-passphrase",
"description": "SSH_PASSPHRASE",
"password": true
},
{
"type": "promptString",
"id": "ssh-timeout",
"description": "SSH_TIMEOUT",
"password": true
},
{
"type": "promptString",
"id": "ssh-command-timeout",
"description": "SSH_COMMAND_TIMEOUT",
"password": true
},
{
"type": "promptString",
"id": "enabled-toolgroups",
"description": "ENABLED_TOOLGROUPS",
"password": true
},
{
"type": "promptString",
"id": "skip-health-checks",
"description": "SKIP_HEALTH_CHECKS",
"password": true
},
{
"type": "promptString",
"id": "health-check-timeout",
"description": "HEALTH_CHECK_TIMEOUT",
"password": true
}
],
"servers": {
"ssh": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ssh-agent-mcp-server"
],
"env": {
"SSH_HOST": "${input:ssh-host}",
"SSH_USERNAME": "${input:ssh-username}",
"SSH_PORT": "${input:ssh-port}",
"SSH_AUTH_SOCK": "${input:ssh-auth-sock}",
"SSH_PRIVATE_KEY_PATH": "${input:ssh-private-key-path}",
"SSH_PASSPHRASE": "${input:ssh-passphrase}",
"SSH_TIMEOUT": "${input:ssh-timeout}",
"SSH_COMMAND_TIMEOUT": "${input:ssh-command-timeout}",
"ENABLED_TOOLGROUPS": "${input:enabled-toolgroups}",
"SKIP_HEALTH_CHECKS": "${input:skip-health-checks}",
"HEALTH_CHECK_TIMEOUT": "${input:health-check-timeout}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs