Skip to content
MCP server

Ssh Fleet MCP Server

MCP server that runs commands and tmux sessions across a fleet of SSH hosts through pooled

Runs locally

Ssh Fleet MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, Linux
Runs
Locally
What it can do
Can change data (2 tools)
Version
0.2.3
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add ssh-fleet-mcp-server -- npx -y ssh-fleet-mcp-server

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "ssh-fleet-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-fleet-mcp-server"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "ssh-fleet-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-fleet-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ssh-fleet-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-fleet-mcp-server"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "ssh-fleet-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ssh-fleet-mcp-server"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add ssh-fleet-mcp-server -- npx -y ssh-fleet-mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.ssh-fleet-mcp-server]
command = "npx"
args = ["-y", "ssh-fleet-mcp-server"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "ssh-fleet-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-fleet-mcp-server"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user ssh-fleet-mcp-server npx -- -y ssh-fleet-mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "ssh-fleet-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ssh-fleet-mcp-server"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Ssh Fleet MCP Server

Connect an MCP client to many machines at once through one server process instead of running a separate server per host. Each configured host is addressed by a logical name, and the exec and tmux tools route calls to it over pooled SSH connections that open on first use and close when idle.

Access is governed per host. A policy can set a host to read-only with an allowlist of command patterns, require approval for risky commands, or deny everything. Every call is written to a JSON audit log with its decision and result size, and authentication can use key files, environment-supplied keys, an SSH agent, passwords read from environment variables, or short-lived certificates from a certificate authority.

It suits operators and developers who want an AI assistant to inspect or maintain several servers while keeping credentials out of the config file and keeping a record of what ran.

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 7 tools change data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

hosts_listName suggests: reads
List configured fleet hosts and their live connection-pool status.
fleet_setup
Show setup state and next steps for the fleet configuration.
execName suggests: changes
Run a one-shot shell command on a fleet host over SSH.
tmux_listName suggests: reads
List tmux sessions on a fleet host.
tmux_sendName suggests: changes
Type text into a persistent tmux session on a fleet host.
tmux_readName suggests: reads
Capture the recent pane transcript of a tmux session on a fleet host.
tmux_keys
Send control or special keys to a tmux session on a fleet host.

What it does

Pooled multi-host routing
Route exec and tmux calls to any configured host by name through a shared per-host connection pool.
Per-host access policy
Set hosts to read-only with command allowlists, approval-gated commands, or full denial.
Persistent tmux sessions
Start long-running jobs in tmux on a host so they survive dropped SSH connections, then read their output.
Audit logging
Records a decision line and a result line for each call, storing byte counts rather than output by default.
Flexible authentication
Supports key files, keys from environment variables, ssh-agent, password environment variables and CA-signed certificates.
Fail-safe startup
Refuses to start on invalid config or an unwritable audit log, and a misconfigured host fails only its own calls.

Good for

  • Check disk, service or log status across several servers from an AI assistant
  • Run package upgrades or backups in tmux sessions on remote hosts and monitor progress
  • Give an assistant read-only command access to production machines using an allowlist
  • Keep an auditable record of which commands an AI agent ran on which hosts

Pricing

Open source

Free and open source, installed via npm

Ssh Fleet MCP Server FAQ

Do I need a separate MCP server process for each host?

No. A single server routes calls to any host listed in the fleet config by its name.

Where are secrets stored?

The config references environment variables, key files, ssh-agent or a CA rather than holding inline passwords or private keys, which are rejected at parse time.

Does the server connect to every host at startup?

No. Hosts connect on their first tool call and close after an idle timeout.

Does Ssh Fleet MCP Server enforce limits when run over stdio?

Over stdio the server runs as the agent's own user, so policy can be bypassed with that user's own shell. Governance requires running the hub as a separate user that alone holds the credentials.

Is Ssh Fleet MCP Server free?

Yes. Ssh Fleet MCP Server is open source, so you can use and self-host it for free.

How do I add Ssh Fleet MCP Server to Claude Code?

Run this command in your terminal: claude mcp add ssh-fleet-mcp-server -- npx -y ssh-fleet-mcp-server

What are the best alternatives to Ssh Fleet MCP Server?

The closest alternatives to Ssh Fleet MCP Server are Ssh Client MCP Server, Ssh Client MCP Server, SSH LICCO MCP Server, Fast MCP Ssh and SSH MCP Server.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers