SSH MCP Tool

Official registry AI and agents

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package mcp-ssh-tool
Claude Code
claude mcp add ssh-mcp-tool -- npx -y mcp-ssh-tool@2.2.7
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ssh-mcp-tool": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-ssh-tool@2.2.7"
            ]
        }
    }
}
NPM package mcp-ssh-tool
Claude Code
claude mcp add ssh-mcp-tool -e 'SSH_MCP_HTTP_ALLOWED_ORIGINS=<SSH_MCP_HTTP_ALLOWED_ORIGINS>' -e 'SSH_MCP_HTTP_BEARER_TOKEN_FILE=<your ssh_mcp_http_bearer_token_file>' -e 'SSH_MCP_HTTP_PUBLIC_URL=<SSH_MCP_HTTP_PUBLIC_URL>' -e 'SSH_MCP_HTTP_TRUST_PROXY=<SSH_MCP_HTTP_TRUST_PROXY>' -- npx -y mcp-ssh-tool@2.2.7 --transport=http --host 127.0.0.1 --port '<port>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ssh-mcp-tool": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-ssh-tool@2.2.7",
                "--transport=http",
                "--host",
                "127.0.0.1",
                "--port",
                "<port>"
            ],
            "env": {
                "SSH_MCP_HTTP_ALLOWED_ORIGINS": "<SSH_MCP_HTTP_ALLOWED_ORIGINS>",
                "SSH_MCP_HTTP_BEARER_TOKEN_FILE": "<your ssh_mcp_http_bearer_token_file>",
                "SSH_MCP_HTTP_PUBLIC_URL": "<SSH_MCP_HTTP_PUBLIC_URL>",
                "SSH_MCP_HTTP_TRUST_PROXY": "<SSH_MCP_HTTP_TRUST_PROXY>"
            }
        }
    }
}

Environment variables

  • SSH_MCP_HTTP_ALLOWED_ORIGINS Comma-separated allowed browser origins for Streamable HTTP clients. Keep this restricted when not using loopback.
  • SSH_MCP_HTTP_BEARER_TOKEN_FILE secret Path to a bearer token file. Required for non-loopback HTTP bindings.
  • SSH_MCP_HTTP_PUBLIC_URL Stable HTTPS public /mcp URL. Required for non-loopback HTTP bindings.
  • SSH_MCP_HTTP_TRUST_PROXY Set to true only behind a trusted reverse proxy that controls forwarded headers.

Frequently asked questions

What is SSH MCP Tool?

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

How do I install SSH MCP Tool?

It runs on your machine. In Claude Code: claude mcp add ssh-mcp-tool -- npx -y mcp-ssh-tool@2.2.7. For other clients, paste the JSON configuration from this page into their MCP settings.

Does SSH MCP Tool need an API key?

Yes. It expects SSH_MCP_HTTP_BEARER_TOKEN_FILE, which you set in its configuration.

Is SSH MCP Tool open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains SSH MCP Tool?

It is published by oaslananka-lab. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.