CCM
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Claude Code Marketplaces

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Skill index
  • MCP index
  • Marketplace index
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by mertbuilds.com

Independent project, not affiliated with Anthropic
jordanburke avatar

Ssh Client Mcp Server

jordanburke/ssh-client-mcp-server
3STDIOregistry active
Summary

Connects to any SSH server and exposes a single exec tool that runs shell commands remotely and returns stdout. Supports four auth modes: password, key file, key from environment variable (for Vault, Doppler, or envpkt workflows), and SSH_AUTH_SOCK for system agents including 1Password, Bitwarden Desktop, and KeePassXC. Built on somamcp so you get soma_health, soma_capabilities, and soma_connections introspection out of the box. Path expansion handles tilde, dollar signs, and relative paths with fail-fast validation at startup. Reach for this when you need an LLM to run commands on remote Linux, macOS, or Windows OpenSSH hosts without building your own SSH wrapper.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →

SSH Client MCP Server

License NPM Version CI

SSH Client MCP Server is a local Model Context Protocol (MCP) server that lets LLMs and other MCP clients execute shell commands on remote hosts over SSH. It runs from Linux, macOS, or Windows and targets any reachable SSH server (Linux, macOS, Windows with OpenSSH, etc.).

Built on somamcp — a functional MCP framework over FastMCP with telemetry, introspection, and backend abstraction.

Contents

  • Quick Start
  • Features
  • Tools
  • Installation
  • Configuration
  • Client Setup
  • Testing
  • Development
  • Disclaimer

Monorepo

This repository is a pnpm monorepo with three packages:

Packagenpm nameRole
packages/core@ssh-mcp/core (private)Shared SSH pool, tmux command builders, and auth resolution. Bundled into the other packages; not published separately.
packages/connectorssh-client-mcp-serverSingle-host MCP server (the original package). exec + tmux_* tools for one configured SSH host.
packages/orchestratorssh-fleet-mcp-serverMulti-host fleet MCP server. Host-routed exec + tmux_* tools driven by a TOML fleet config.

Run the full validation suite across all packages:

pnpm -r validate

Quick Start

  1. Configure your MCP client (Claude Desktop, Cursor, Cline, etc.) to launch this server via npx — see Client Setup.
  2. Ask your LLM to run shell commands on the target host.

No global install required — npx fetches and runs the latest published version.

Features

  • Single exec tool — runs a shell command on the remote host, returns stdout. stderr surfaces as a structured error.
  • Four auth modes — password, key file, key from environment variable (e.g. injected by envpkt, Vault, Doppler), or SSH_AUTH_SOCK (system ssh-agent, 1Password, Bitwarden Desktop, KeePassXC).
  • Smart path expansion — --key supports ~, $VAR, ${VAR}, and relative paths via functype-os. Unresolved variables fail fast with a typed error.
  • OS-user fallback — --user defaults to the current OS username when omitted.
  • Fail-fast auth — the SSH key is loaded and validated at server startup, not on the first exec call.
  • Introspection out-of-the-box — soma_health, soma_capabilities, soma_connections auto-registered by somamcp.
  • Cross-platform — runs on Linux, macOS, Windows (anywhere Node 22+ runs).

Tools

ToolDescription
execExecute a shell command on the remote SSH server and return stdout.
soma_healthServer uptime, status, active session count.
soma_capabilitiesEnumerate registered tools, resources, and prompts.
soma_connectionsGateway connection status (unused here).

Persistent sessions (tmux)

For driving long-running interactive processes (e.g. a remote coding agent) across calls, the server exposes tmux-backed tools. tmux must be installed on the remote host.

  • tmux_list — list live tmux sessions.
  • tmux_send({ session?, input, submit? }) — type input into session (created if absent); presses Enter unless submit: false.
  • tmux_read({ session?, lines? }) — return the recent pane transcript (lines default 200, max 2000).
  • tmux_keys({ session?, keys }) — send control/special keys, e.g. { keys: ["C-c"] }.

session defaults to --tmux-session (default agent). Tip: run agents in a line-oriented mode (not a full-screen TUI) so tmux_read returns a clean transcript.

Installation

Run via npx (recommended)

No install step — your MCP client launches it on demand. See Client Setup.

Global install

npm install -g ssh-client-mcp-server
# then:
ssh-client-mcp-server --host=1.2.3.4 --user=root --password=pass

From source (for contributors)

git clone https://github.com/jordanburke/ssh-client-mcp-server.git
cd ssh-client-mcp-server
pnpm install
pnpm build

Configuration

The server reads SSH connection info from CLI flags:

FlagRequiredDefaultDescription
--hostyes—Hostname or IP of the remote SSH server.
--usernoOS usernameSSH username. Falls back to the local OS user (whoami) when omitted.
--portno22SSH port.
--passwordno*—SSH password.
--keyno*—Path to a private SSH key. Supports ~, $VAR, ${VAR}, and relative paths.
--key-envno*—Name of an env var holding the private key PEM (e.g. injected by envpkt, Vault, Doppler).
--agentno*—Set to true to use SSH_AUTH_SOCK (system ssh-agent, 1Password, Bitwarden Desktop, KeePassXC).

*Auth precedence is --password → --key → --key-env → --agent. If none are set the server starts but ssh2 will fail to authenticate on first exec.

Pulling keys from a password manager (Bitwarden / 1Password / KeePassXC)

Each of these can expose your SSH keys via SSH_AUTH_SOCK. Unlock the vault, confirm the agent is enabled, then run with --agent=true — the server never sees the private key.

# verify the agent is reachable
ssh-add -l

# launch the MCP server through it
ssh-client-mcp-server --host=1.2.3.4 --user=root --agent=true

For Bitwarden Desktop ≥ 2024.12: enable Settings → SSH agent, then on macOS confirm launchctl getenv SSH_AUTH_SOCK points at Bitwarden's socket.

Pulling keys from envpkt (or any tool that injects env vars)

Store the PEM as a sealed value in envpkt.toml, then launch via envpkt exec:

envpkt exec -- ssh-client-mcp-server --host=1.2.3.4 --user=root --key-env=MY_SSH_KEY

Same pattern works for HashiCorp Vault, Doppler, Infisical, AWS Secrets Manager, or any wrapper that lands the key in process.env.

Client Setup

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "ssh-client-mcp-server": {
      "command": "npx",
      "args": ["-y", "ssh-client-mcp-server", "--host=1.2.3.4", "--user=root", "--key=~/.ssh/id_ed25519"]
    }
  }
}

Password auth

Replace the --key arg with --password=hunter2. Avoid checking this into version control.

Using the current OS user

Omit --user entirely — the server defaults to your local username.

Other MCP clients

Any client that speaks the stdio MCP transport works. Same command / args shape.

Testing

Against a published build

npx @modelcontextprotocol/inspector npx ssh-client-mcp-server --host=1.2.3.4 --user=root --key=~/.ssh/id_ed25519

Against a local build (after pnpm build)

pnpm inspect

This builds and launches the MCP Inspector pointed at dist/index.js.

Development

All tooling is delegated to ts-builds:

pnpm validate      # format → lint → typecheck → test → build
pnpm test          # vitest run
pnpm test:watch    # vitest watch mode
pnpm build         # production build to dist/
pnpm dev           # tsdown watch mode to lib/
pnpm inspect       # build + launch MCP Inspector

Pure helpers (parseArgv, validateConfig, resolveAuth, effectiveUser) live in src/config.ts and are covered by test/config.spec.ts (18 cases, including tempfile-backed key reads and env-var expansion).

Disclaimer

Provided under the MIT License. Use at your own risk. Not affiliated with or endorsed by any SSH vendor or MCP provider. Be careful granting LLMs shell access — audit commands, restrict target-account privileges, and consider a jump box.

Contributing

Issues and PRs welcome at jordanburke/ssh-client-mcp-server. Please run pnpm validate before submitting.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Categories
Developer Tools
Registryactive
Packagessh-client-mcp-server
TransportSTDIO
UpdatedJun 9, 2026
View on GitHub

More from jordanburke

  • Reddit Mcp Server131

Related Developer Tools MCP Servers

View all →
lukisch avatar
BACH FileCommander

lukisch/bach-filecommander-mcp

43 tools for filesystem, process management, sessions, search, OCR, ZIP, and PDF export.
3
marcelroozekrans avatar
Memorylens Mcp

marcelroozekrans/memorylens-mcp

MCP server for .NET memory profiling with JetBrains dotMemory integration
3
maroondlabs avatar
Sourcebook

maroondlabs/sourcebook

Live codebase intelligence for AI agents: conventions, blast radius, import graphs, git insights.
3
aman-amith-shastry avatar
Aman Amith Shastry Scientific Computation Mcp

ai.smithery/aman-amith-shastry-scientific_computation_mcp

This MCP server enables users to perform scientific computations regarding linear algebra and vect…
2
andylbrummer avatar
Math Mcp

andylbrummer/math-mcp

GPU-accelerated MCP server: symbolic algebra, numerical computing, FFT, optimization, linear algebra
2
davooxbv2 avatar
Clishop

davooxbv2/clishop

Order anything from your terminal — search, buy, track, and manage via MCP tools.
2