Ssh MCP logo

Ssh MCP

by blakerouse

Manage grouped Linux and Windows SSH hosts, run commands concurrently, and track long-running tasks through MCP.

Install Ssh MCP

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

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for blakerouse/ssh-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The blakerouse/ssh-mcp MCP server manages remote Linux and Windows hosts over SSH from a locally running process. It stores hosts in groups, detects operating systems, and executes commands against one host or many hosts concurrently. Commands running longer than 30 seconds move to the background automatically, with tools for status checks and cancellation. Reach for it when an MCP client needs operational access to multiple SSH machines rather than a single interactive terminal.

Use cases

  • Organize SSH hosts into environment groups
  • Run maintenance commands across multiple machines
  • Check and refresh operating-system details
  • Track or cancel long-running remote commands

Key features

  • Linux and Windows SSH host support
  • Group-based host organization
  • Concurrent command execution
  • Automatic background handling after 30 seconds
  • Password, SSH agent, and key-file authentication
  • Persistent local BadgerDB storage

Tools10

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

Self-reported~338 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 2d ago

Recent health check succeeded.

8/8 checks healthy over the last 79d

Adoption & maintenance

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

GitHub stars19Stargazers on the source repository.
Last commit5mo agoMost recent push to the default branch.
Tools exposed10Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Ssh MCP works

What blakerouse/ssh-mcp MCP server does

The blakerouse/ssh-mcp MCP server gives an MCP client tools for maintaining an SSH host inventory and operating those hosts remotely. Hosts can be added to named groups, listed by group, removed, and inspected for cached operating-system information. Remote systems may run Linux or Windows; the server detects the operating system when a host is added and can refresh that information later.

The main execution tool runs a command on selected hosts or on every host in a group. This supports tasks such as checking uptime, inspecting disk space, or running service commands across a group. Results from commands that finish promptly are returned directly.

How it works

The process runs locally and connects to configured remote machines through SSH. Host records are organized by group, with hosts addressable individually or through their group. The server uses local persistent storage backed by BadgerDB for this configuration and command state.

Commands that exceed 30 seconds are moved into background execution. A background command receives an identifier that can be used to retrieve its status and results. The command-management tools also list active or completed background jobs and cancel a running job by ID. Passing a background option starts a command asynchronously without waiting for the initial 30-second interval.

The blakerouse/ssh-mcp MCP server supports password authentication, SSH agent authentication, and SSH key files such as the usual files under ~/.ssh. SSH agent support is Unix-only, while password and key-file authentication work across the supported platforms. Host verification uses ~/.ssh/known_hosts, with automatic host addition described in the project documentation.

Setup and configuration

Build the server from its GitHub repository with Go:

sh
git clone https://github.com/blakerouse/ssh-mcp
go build .

Configure an MCP client to launch the resulting binary as a local server. The README provides a Claude Desktop mcpServers entry whose command points to the built binary, then instructs users to restart Claude Desktop. The exact binary path depends on where the project is checked out and built, so it must be supplied in the client configuration by the operator.

Hosts are added through connection strings. Usernames and passwords may be included, or the connection can rely on the current user and SSH agent when those values are omitted. The server accepts connection strings with or without an ssh:// prefix and supports specifying a non-default port.

Tools and capabilities

The blakerouse/ssh-mcp MCP server exposes these tool groups:

  • Host administration: add_host, remove_host, get_groups, and get_hosts.
  • Operating-system data: get_os_info for cached details and update_os_info to refresh them.
  • Remote execution: perform_command for one or more hosts, with immediate or background execution.
  • Background-job control: get_command_status, list_commands, and cancel_command.

Limitations and notes

SSH agent access depends on the Unix SSH_AUTH_SOCK mechanism and is not available on Windows. Remote hosts are limited to Linux and Windows systems with SSH access. Commands run across multiple hosts concurrently, so an operation targeting a group can produce results from several machines and may create a background job when it runs beyond the synchronous timeout.

Reviews

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

Frequently Asked Questions about Ssh MCP

Clone the GitHub repository and run `go build .`. Configure the resulting binary as a local MCP server in your client.

Yes.

Yes. Commands can target selected hosts or an entire group, and execution across multiple hosts is concurrent.

Commands taking more than 30 seconds are moved to the background automatically. You can retrieve status and results, list jobs, or cancel a running command.

It supports passwords, SSH agents, and SSH key files. SSH agent support is Unix-only; password and key-file authentication work on all supported platforms.

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