MCP server for SSH remote server management with SSH agent authentication support.
To add ssh to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 11 environment variables, listed below.
Install
npx -y ssh-agent-mcp-server@0.1.5Environment variables
SSH_HOSTSet in your MCP configSSH_USERNAMESet in your MCP configSSH_PORTSet in your MCP configSSH_AUTH_SOCKSet in your MCP configSSH_PRIVATE_KEY_PATHSet in your MCP configSSH_PASSPHRASESet in your MCP configSSH_TIMEOUTSet in your MCP configSSH_COMMAND_TIMEOUTSet in your MCP configENABLED_TOOLGROUPSSet in your MCP configSKIP_HEALTH_CHECKSSet in your MCP configHEALTH_CHECK_TIMEOUTSet in your MCP configInstall with your client
claude mcp add ssh --env SSH_HOST=<YOUR_SSH_HOST> --env SSH_USERNAME=<YOUR_SSH_USERNAME> --env SSH_PORT=<YOUR_SSH_PORT> --env SSH_AUTH_SOCK=<YOUR_SSH_AUTH_SOCK> --env SSH_PRIVATE_KEY_PATH=<YOUR_SSH_PRIVATE_KEY_PATH> --env SSH_PASSPHRASE=<YOUR_SSH_PASSPHRASE> --env SSH_TIMEOUT=<YOUR_SSH_TIMEOUT> --env SSH_COMMAND_TIMEOUT=<YOUR_SSH_COMMAND_TIMEOUT> --env ENABLED_TOOLGROUPS=<YOUR_ENABLED_TOOLGROUPS> --env SKIP_HEALTH_CHECKS=<YOUR_SKIP_HEALTH_CHECKS> --env HEALTH_CHECK_TIMEOUT=<YOUR_HEALTH_CHECK_TIMEOUT> -- npx -y ssh-agent-mcp-server@0.1.5
Run this in a terminal to add the server to Claude Code.
What this does
ssh exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.
Requirements
This server needs the following environment variables to be set before it can run:
SSH_HOST SSH_USERNAME SSH_PORT SSH_AUTH_SOCK SSH_PRIVATE_KEY_PATH SSH_PASSPHRASE SSH_TIMEOUT SSH_COMMAND_TIMEOUT ENABLED_TOOLGROUPS SKIP_HEALTH_CHECKS HEALTH_CHECK_TIMEOUT
Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).
Frequently asked questions
How do I install ssh?
Run the Claude Code command in the install section to add ssh to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.
Which clients work with ssh?
This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to ssh as well.
Does ssh need an API key?
Yes. Before it can run, set these environment variables: SSH_HOST, SSH_USERNAME, SSH_PORT, SSH_AUTH_SOCK, SSH_PRIVATE_KEY_PATH, SSH_PASSPHRASE, SSH_TIMEOUT, SSH_COMMAND_TIMEOUT, ENABLED_TOOLGROUPS, SKIP_HEALTH_CHECKS, HEALTH_CHECK_TIMEOUT. They go in the env block of your MCP config.
Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.
Is this your MCP server?
Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.
Add this badge to your README
Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.
[](https://clauderules.net/mcp/com-pulsemcp-ssh)<a href="https://clauderules.net/mcp/com-pulsemcp-ssh" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/com-pulsemcp-ssh" alt="Listed on clauderules.net" /></a>