Koskamo

SSH MCP

A security-first Model Context Protocol server that provides LLM agents with controlled SSH access to remote Linux hosts. It features command classification, policy-based authorization using a role and host-group matrix, human-in-the-loop approval for destructive actions, and comprehensive audit logging to mitigate risks associated with giving AI shell access.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

SSH MCP logo, by tufantuncCommunity listingLocal stdioSource reviewed; not executedPublished by tufantunc
Vendor documentation

What you can do with it

  • Execute safe commands on remote Linux servers via LLM agents
  • Manage SSH access policies with role-based authorization
  • Audit SSH sessions with full decision logging

Source and maintenance

Community listingRegistry 2.22.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

ssh-mcp 2.22.0

npm
ssh-mcp package definition
{
  "version": "2.22.0",
  "transport": "stdio",
  "identifier": "ssh-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "SSH_MCP_PASSWORD",
      "description": "Password for the configured profile; a per-profile SSH_MCP_<PROFILE>_PASSWORD takes precedence. Credentials are never accepted as CLI arguments."
    },
    {
      "name": "SSH_MCP_KEY",
      "format": "filepath",
      "description": "Path to the private key file to authenticate with — the path, not the key material. A per-profile SSH_MCP_<PROFILE>_KEY takes precedence."
    },
    {
      "name": "SSH_MCP_PASSPHRASE",
      "description": "Passphrase for an encrypted private key."
    },
    {
      "name": "SSH_MCP_SUDO_PASSWORD",
      "description": "Password the sudo tool escalates with, when the policy in force allows the privileged class."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp@2.22.0"
      ],
      "env": {
        "SSH_MCP_PASSWORD": "<YOUR_SSH_MCP_PASSWORD>",
        "SSH_MCP_KEY": "<YOUR_SSH_MCP_KEY>",
        "SSH_MCP_PASSPHRASE": "<YOUR_SSH_MCP_PASSPHRASE>",
        "SSH_MCP_SUDO_PASSWORD": "<YOUR_SSH_MCP_SUDO_PASSWORD>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp@2.22.0"
      ],
      "env": {
        "SSH_MCP_PASSWORD": "<YOUR_SSH_MCP_PASSWORD>",
        "SSH_MCP_KEY": "<YOUR_SSH_MCP_KEY>",
        "SSH_MCP_PASSPHRASE": "<YOUR_SSH_MCP_PASSPHRASE>",
        "SSH_MCP_SUDO_PASSWORD": "<YOUR_SSH_MCP_SUDO_PASSWORD>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "ssh-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp@2.22.0"
      ],
      "env": {
        "SSH_MCP_PASSWORD": "<YOUR_SSH_MCP_PASSWORD>",
        "SSH_MCP_KEY": "<YOUR_SSH_MCP_KEY>",
        "SSH_MCP_PASSPHRASE": "<YOUR_SSH_MCP_PASSPHRASE>",
        "SSH_MCP_SUDO_PASSWORD": "<YOUR_SSH_MCP_SUDO_PASSWORD>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp@2.22.0"
      ],
      "env": {
        "SSH_MCP_PASSWORD": "<YOUR_SSH_MCP_PASSWORD>",
        "SSH_MCP_KEY": "<YOUR_SSH_MCP_KEY>",
        "SSH_MCP_PASSPHRASE": "<YOUR_SSH_MCP_PASSPHRASE>",
        "SSH_MCP_SUDO_PASSWORD": "<YOUR_SSH_MCP_SUDO_PASSWORD>"
      }
    }
  }
}

Let your agent find its tools

Find servers like SSH MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.