An SSH MCP server built in Python on top of FastMCP. The goal: give an LLM real SSH access to many hosts while keeping fine-grained control over what
Python Ssh MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Python Ssh MCP directly instead of describing what you should do. An SSH MCP server built in Python on top of FastMCP. The goal: give an LLM real SSH access to many hosts while keeping fine-grained control over what it can and can't do. The configuration surface is deliberately broad — probably overkill.
Once Python Ssh MCP is connected, these are the calls the assistant has available:
Cursor — Same mcpServers shape as the base snippet. Cursor picks up config changes on the next chat session — no full restart neededKilocode — Config file: ~/.kilocode/mcp.json (or the equivalent in your Kilocode install — the extension docs list the exact path). Same mcpServers shape as theHostNotAllowed — The host isn't in hosts.toml and isn't in SSH_HOSTS_ALLOWLIST. Resolution tries the input first as a hosts. key, then againstHostBlocked — Deny wins — check SSH_HOSTS_BLOCKLIST. This is intentional; remove the entry if the block was a mistake, but first confirm with the operator whoPathNotAllowed — The resolved (canonicalized) path is outside every root in path_allowlist. Check:Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
You will need 5 environment variables: LOG_LEVEL, ALLOW_LOW_ACCESS_TOOLS, ALLOW_DANGEROUS_TOOLS, ALLOW_SUDO, FASTMCP_DOCKET_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the cloud and infrastructure group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Python Ssh MCP's toolset — Cursor, Kilocode, HostNotAllowed and 2 more — is a fair guide to whether it matches your workflow. It is maintained by nightreaver; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Python Ssh MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Cursor | Same mcpServers shape as the base snippet. Cursor picks up config changes on the next chat session — no full restart needed. |
| Kilocode | Config file: ~/.kilocode/mcp.json (or the equivalent in your Kilocode install — the extension docs list the exact path). Same mcpServers shape as the base snippet. Reload the VS Code window after editing. |
| HostNotAllowed | The host isn't in hosts.toml and isn't in SSH_HOSTS_ALLOWLIST. Resolution tries the input first as a hosts.<alias> key, then against hosts.*.hostname, then against the env allowlist. Add a hosts.toml entry or add the lit |
| HostBlocked | Deny wins — check SSH_HOSTS_BLOCKLIST. This is intentional; remove the entry if the block was a mistake, but first confirm with the operator who added it. |
| PathNotAllowed | The resolved (canonicalized) path is outside every root in path_allowlist. Check: |
{
"mcpServers": {
"ssh-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Nightreaver/python-ssh-mcp", "ssh-mcp"],
"env": {
"LOG_LEVEL": "INFO",
"ALLOW_LOW_ACCESS_TOOLS": "false",
"ALLOW_DANGEROUS_TOOLS": "false",
"ALLOW_SUDO": "false"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| LOG_LEVEL | Configuration value read at startup. | Optional |
| ALLOW_LOW_ACCESS_TOOLS | Configuration value read at startup. | Optional |
| ALLOW_DANGEROUS_TOOLS | Configuration value read at startup. | Optional |
| ALLOW_SUDO | Configuration value read at startup. | Optional |
| FASTMCP_DOCKET_URL | Endpoint or connection string the server talks to. | Yes |
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.