Skip to content
MCP server

SSH MCP Tool

Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and…

Install
Pricing
Open source
Runs
Locally or Remotely
Version
2.2.7
Listing updated
5 days ago

About SSH MCP Tool

SSH MCP Tool is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and HTTP.

Install

Run in a terminal

claude mcp add mcp-ssh-tool -- npx -y mcp-ssh-tool

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-ssh-tool": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ssh-tool"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-ssh-tool": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ssh-tool"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-ssh-tool": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-ssh-tool"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

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

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

Configuration

  • SSH_MCP_HTTP_ALLOWED_ORIGINSComma-separated allowed browser origins for Streamable HTTP clients. Keep this restricted when not using loopback.
  • SSH_MCP_HTTP_BEARER_TOKEN_FILEPath to a bearer token file. Required for non-loopback HTTP bindings.
  • SSH_MCP_HTTP_PUBLIC_URLStable HTTPS public /mcp URL. Required for non-loopback HTTP bindings.
  • SSH_MCP_HTTP_TRUST_PROXYSet to true only behind a trusted reverse proxy that controls forwarded headers.

Pricing

Open source

SSH MCP Tool FAQ

Is SSH MCP Tool free?

Yes. SSH MCP Tool is open source, so you can use and self-host it for free.

How do I add SSH MCP Tool to Claude Code?

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