Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ป Developer Tools
  3. Remote Ssh MCP
R
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Remote Ssh MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository

Persistent stateful remote SSH sessions for AI agents via MCP + OpenSSH.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "remote-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "remote-ssh-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ’ป More in Developer Tools

Documentation Overview

Remote SSH MCP logo

Remote SSH MCP

Persistent, stateful remote Bash sessions for AI agents
via the Model Context Protocol

Why ยท Features ยท How it works ยท Tools ยท Quick start ยท Config ยท Security ยท ็ฎ€ไฝ“ไธญๆ–‡

MIT License Node.js 20+ TypeScript MCP stdio OpenSSH Version 0.2.2 GitHub release npm version GitHub stars

Remote SSH MCP โ€” AI agent terminal connected to remote servers over SSH


Why Remote SSH MCP?

Most agents reach remote machines like this:

text
bash โ†’ ssh host "cmd" โ†’ disconnect โ†’ repeat

Every call pays the same tax:

PainWhat happens
๐Ÿ” Token wasteBanners, MOTD, login noise, and pwd / whoami probes flood the context
๐ŸงŠ Lost statecwd, export, venv activation, and shell side effects vanish
๐Ÿ”Œ UnstableFresh connects hit timeouts, host-key prompts, ProxyJump, and auth jitter
๐ŸŒ€ Error spiralThe model compensates with longer probe commands โ†’ more tokens

Remote SSH MCP turns a long-lived remote Bash into first-class MCP tools. One session ID keeps working directory, environment variables, and shell side effects. Open a new session when you need a clean environment.

Why pick this over one-shot ssh in bash?

Concrete gains for agent workflows (multi-step remote work: deploy, debug, build, inspect logs):

DimensionOne-shot ssh host "โ€ฆ"Remote SSH MCP
๐Ÿ’ฐ TokensEach step re-pays connect noise + state probes; models often re-cd / re-pwdPay once on ssh_open; later ssh_run returns mostly command output. Structured tools + head/tail caps cut tool-result bloat. In multi-step sessions this commonly cuts remote-tool context by ~50โ€“80% vs reconnect-every-time (exact savings depend on MOTD size and how chatty the model is).
โœ… Success rateN steps โ‰ˆ N handshakes โ†’ N chances to fail (timeout, jump, agent, host key)One handshake per session; subsequent commands ride a live shell. Long jobs use running + ssh_peek instead of killing the tool call and restarting. Fewer reconnects โ†’ far fewer false โ€œSSH failedโ€ loops mid-task.
๐Ÿงณ PortabilityRemote needs nothing extra โ€” but every agent machine reimplements the same brittle ssh โ€ฆ patternsInstall once on the machine that runs Claude / Cursor / Grok / etc. Remote hosts install nothing (no Node, no MCP daemon, no agent). Only a normal shell account + tools already required for SSH (bash, base64, stty, โ€ฆ). Keys and jump hosts stay in local ~/.ssh/config.
๐Ÿง  Model ergonomicsModel invents ssh strings, escapes, and recoveryStable tools: open โ†’ run โ†’ peek โ†’ close. Session id is the only handle.
๐Ÿ” Trust boundaryEasy to over-expose keys or prompt for passwords in-bandOpenSSH client only; tools never accept passwords or private-key material

Portability in one line: put the MCP on your dev box / AI host; every server already in your SSH config is reachable โ€” zero package install on the remote fleet.

text
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         SSH (OpenSSH)         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Your laptop / CI agent โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ โ”‚  prod / staging  โ”‚
โ”‚  Claude ยท Cursor ยท Grok โ”‚     ~/.ssh/config ยท agent     โ”‚  no MCP install  โ”‚
โ”‚  + remote-ssh-mcp       โ”‚                               โ”‚  plain Bash OK   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                               โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Token sketch (illustrative multi-step remote debug):

text
One-shot path (per step ร— 8):
  ssh wrapper + banner/MOTD + pwd/whoami + re-cd + command output
  โ†’ noise dominates; context fills with reconnect junk

Session path:
  ssh_open  โ†’ once (handshake + READY)
  ssh_run ร— 8 โ†’ mostly the real stdout/stderr (truncated head+tail)
  โ†’ context stays on the work product, not the transport

It does not reimplement SSH. Your system OpenSSH client stays in charge โ€” so ~/.ssh/config, known hosts, the SSH agent, ProxyJump routes, and hardware keys keep working exactly as they already do.

text
ssh_hosts()              โ†’ discover allowed Host aliases
ssh_open(host)           โ†’ session id
ssh_run(id, command)     โ†’ same cwd + env as last time
ssh_peek / ssh_interrupt โ†’ observe or recover long / stuck work
ssh_close(id)            โ†’ release the shell and connection

Features

๐Ÿง  Persistent remote sessions

  • One stable session ID maps to one long-lived remote Bash
  • cwd and environment survive across ssh_run calls
  • Open a fresh session whenever you need a clean slate
  • Multiple sessions can target the same or different hosts (up to maxSessions)

๐Ÿ”ง Native OpenSSH integration

  • Spawns the real ssh binary โ€” no custom crypto stack
  • Honors ~/.ssh/config, Include, agent sockets, and ProxyJump
  • Forces BatchMode=yes and StrictHostKeyChecking=yes
  • Never accepts passwords, private-key text, or arbitrary SSH option args from the model

๐Ÿ“ก Long-running command friendly

  • ssh_run waits up to wait_sec (default 10s), then returns status: "running" while the remote command continues
  • Poll with ssh_peek(wait_sec=...) long-poll instead of busy-looping
  • Optional hard timeout_sec sends Ctrl-C; no automatic kill by default
  • Ideal for docker pull, builds, downloads, and deploys that must not block the tool call forever

๐Ÿ›ก๏ธ Safety & control plane

  • Exact Host-alias allowlist from ssh_config + optional config / env overrides
  • Patterns with *, ?, or ! are ignored
  • Fail-closed interrupt: if shell recovery cannot be confirmed after Ctrl-C, the session is closed
  • Built-in denylist for a few obviously destructive patterns (not a full policy engine)
  • Idle reaping, session caps, and a JSONL audit log (0600) with hashed commands

๐Ÿ“ฆ Clean tool results for models

  • Separate stdout / stderr streams
  • Head-and-tail byte truncation with valid UTF-8 boundaries
  • ANSI / PTY noise stripped before the model sees output (colors, CSI, bracketed-paste markers, control-only blank lines)
  • Quiet open-frame: TERM=dumb, NO_COLOR, bracketed-paste off โ€” less junk at the source
  • Slim JSON payloads: omit empty stderr, false truncation flags, and request-echo fields so dual content + structuredContent stays cheap
  • ssh_hosts returns only safe metadata: alias, hostname, user, port, proxy_jump
  • Never leaks IdentityFile, certificates, agent sockets, or ProxyCommand

๐Ÿ”Œ MCP-native

  • stdio transport for Claude Desktop, Cursor, and other MCP hosts
  • Compatible with both legacy and current MCP handshakes
  • Parent / stdio exit closes every tracked SSH connection

How it works

mermaid
flowchart LR
  A[AI Agent] -->|MCP tools| B[Remote SSH MCP]
  B -->|spawn| C[OpenSSH client]
  C -->|SSH + PTY| D[Remote Bash]
  D --> E[(cwd / env / side effects)]

  subgraph Local machine
    B
    C
    F[~/.ssh/config<br/>agent / keys]
    C -.-> F
  end

  subgraph Remote host
    D
    E
  end

Typical agent flow

text
1. ssh_hosts()                 # pick an alias from the allowlist
2. ssh_open(host="prod")       # get session id "s_โ€ฆ"
3. ssh_run(id, "cd app && โ€ฆ")  # state sticks to this id
4. ssh_run(id, "npm test")     # still in app/, env preserved
5. ssh_peek(id, wait_sec=20)   # long-poll a slow job
6. ssh_close(id)               # clean up when done

MCP tools

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    ๐Ÿ’ป Developer Tools1 views
    Compare vs PraisonAI โ†’
  • Openevidence MCP logoOpenevidence MCP

    Unofficial MCP server connecting OpenEvidence to AI agents via authenticated browser sessions

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Openevidence MCP โ†’
  • AgentPhone logoAgentPhone

    Give AI agents real phone numbers, messages, and voice calls via MCP.

    ๐Ÿ’ป Developer Tools0 views
    Compare vs AgentPhone โ†’
  • Payram Helper MCP Server logoPayram Helper MCP Server

    Remote MCP server to integrate and validate self-hosted Payram deployments.

    ๐Ÿ’ป Developer Tools1 views
    Compare vs Payram Helper MCP Server โ†’

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Remote Ssh MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "remote-ssh-mcp": { "command": "npx", "args": ["-y", "remote-ssh-mcp"] } }

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 PreviewRemote Ssh MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/remote-ssh-mcp?style=directory)](https://allmcps.com/mcp/remote-ssh-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/remote-ssh-mcp"><img src="https://allmcps.com/api/badge/remote-ssh-mcp?style=directory" alt="Remote Ssh MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ปDeveloper Tools
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging ยท 27/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ป Developer Tools โ†’Best MCP servers for Developers โ†’Alternatives to Remote Ssh MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code