Sshmcp logo

Sshmcp

Manage SSH servers, execute commands, transfer files, and route connections through SOCKS proxies over MCP.

Install Sshmcp

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "sshmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nl4ever/sshmcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 21 tools correctly ().

Overview

The sshmcp MCP server connects AI assistants to remote machines over SSH for command execution, file operations, connection management, and SOCKS proxy routing. It keeps a connection pool for multiple configured servers, while tools can also create temporary connections without saving credentials. SFTP transfers use remote and local paths so file contents do not need to enter the AI context, and large transfers can run asynchronously with progress reporting. Reach for it when an MCP client needs to operate SSH-accessible infrastructure, move files, or access hosts through a proxy or jump host.

Use cases

  • Run administrative commands on multiple SSH servers
  • Upload build artifacts or directories to a remote host
  • Download logs and remote files through SFTP
  • Reach internal hosts through SOCKS proxies or jump hosts

Key features

  • Multi-server SSH connection pool
  • Remote shell command execution
  • SFTP file and directory transfers
  • Asynchronous transfers with progress tracking
  • SOCKS4/5 proxy and jump-host support
  • Password, key, agent, and OTP authentication

Tools21

What Sshmcp lets your agent do. Expand a tool for its parameters.

Verified live~2.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/18 checks healthy over the last 111d

What it can do

From the 21 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 2Writes files · 3Handles credentials · 1Makes network requests · 2Read-only tools · 15
Network at startup3 connections
Files written at startup1
Install scriptsNone
npm provenanceNot published
Package age213 days
Maintainers1

Observed 2026-10-25 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @nl4ever/sshmcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11Stargazers on the source repository.
npm downloads794Package downloads in the last 30 days.
Last commit17d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed21Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Sshmcp works

What the sshmcp MCP server does

The sshmcp MCP server exposes SSH administration and file-transfer operations through MCP. An MCP-compatible assistant can maintain named server configurations, connect to multiple hosts, run shell commands, inspect or modify remote files, and transfer files or directories.

Server configurations can use passwords, private keys, ssh-agent authentication, or keyboard-interactive authentication such as OTP or 2FA. A temporary connection can be created with quick_connect; its returned host:port value acts as the server_id until the connection is disconnected.

How it works

Operation tools identify their target with server_id. The connection pool opens connections on demand and reuses them, so a tool call normally does not require a separate manual connect step. Multiple servers can remain active at the same time. test_connection checks reachability without changing an existing connection, while disconnect can close one connection or all active connections.

File transfers use SFTP paths rather than passing file contents through the model. Individual files can be uploaded or downloaded synchronously, or started in the background with asynchronous mode. Directory operations package the source directory before transfer and unpack it at the destination. transfer_status reports progress for background jobs, including transferred size, speed, and estimated time remaining.

Connections may use a configured SOCKS4 or SOCKS5 proxy. A server can also specify another configured server as a jump host for ProxyJump-style access to hosts behind a bastion.

Setup and configuration

Install the package globally with npm:

Terminal
npm install -g @nl4ever/sshmcp

The package requires Node.js 18 or newer and an MCP-compatible client. Claude Code can register it with claude mcp add sshmcp sshmcp. Claude Desktop and Cursor can launch it with npx -y @nl4ever/sshmcp in their MCP configuration.

Server and proxy settings are stored in ~/.ssh-mcp/config.json. The configuration includes credentials supplied through server-management tools.

Tools and capabilities

The sshmcp MCP server provides tools in four groups:

  • Server connections: list, inspect, add or update, delete, rename, connect, temporarily connect, disconnect, and test configured servers.
  • Remote commands: run shell commands with a configurable timeout.
  • Files: read remote text, optionally by line range; write text; upload or download files; transfer directories; and monitor asynchronous transfer jobs.
  • Proxies: list, add, and delete SOCKS4 or SOCKS5 proxy presets.

Use upload_directory or download_directory when transferring many files, since these operations compress the directory for transport and decompress it at the destination. Use asynchronous file operations when a transfer should continue in the background instead of blocking the tool call.

Limitations and notes

The sshmcp MCP server requires network access to an SSH-capable remote host and valid authentication details. It is an interface for SSH operations, so command behavior and permissions depend on the remote account and host.

Credentials must be handled carefully because saved passwords are plaintext in the configuration file. The material specifically recommends private-key authentication for production use.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Sshmcp

sshmcp is an MCP server that connects AI assistants to SSH-accessible remote servers. Its main tools manage server connections, execute shell commands, read and write files, transfer files or directories over SFTP, track asynchronous transfers, and configure SOCKS4/5 proxy presets. It supports multiple simultaneous servers and temporary quick connections.

Install it with `npm install -g @nl4ever/sshmcp`. It requires Node.js 18 or newer and an MCP-compatible client. Claude Code can add it with `claude mcp add sshmcp sshmcp`; Claude Desktop and Cursor can launch it with `npx -y @nl4ever/sshmcp`.

Yes, sshmcp works with Cursor through its MCP server settings. Add a server named `sshmcp` and configure the command as `npx` with the argument `-y @nl4ever/sshmcp`, then use the exposed SSH and file-operation tools from Cursor.

sshmcp stores server and proxy configuration in `~/.ssh-mcp/config.json`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSshmcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sshmcp?style=directory)](https://allmcps.com/mcp/sshmcp)
HTML Embed
<a href="https://allmcps.com/mcp/sshmcp"><img src="https://allmcps.com/api/badge/sshmcp?style=directory" alt="Sshmcp on AllMCPs" /></a>