MCP server
MCP SSH Gateway
SSH terminals for AI agents: stateful shells, exit codes the moment a command ends…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 7.0.0
- Listing updated
- 5 days ago
About MCP SSH Gateway
MCP SSH Gateway is an open-source MCP server. It runs locally on your machine and is started by your AI client.
SSH terminals for AI agents: stateful shells, exit codes the moment a command ends, router CLIs.
Install
Run in a terminal
claude mcp add mcp-ssh-gateway -- uvx mcp-ssh-gatewayAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"mcp-ssh-gateway": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
SSH_SERVERS_CONFIGPath to the JSON file with SSH server targets, or an inline JSON string. Overridden by --servers-config.SSH_MCP_CACHE_DIRWhere logs and known_hosts are kept. Default: the user cache directory.SSH_READ_ONLYSet to true/1 to force the global read-only guardrail.SSH_COMMAND_BLACKLISTComma-separated global prohibited command patterns.
Pricing
Open source
MCP SSH Gateway FAQ
Is MCP SSH Gateway free?
Yes. MCP SSH Gateway is open source, so you can use and self-host it for free.
How do I add MCP SSH Gateway to Claude Code?
Run this command in your terminal: claude mcp add mcp-ssh-gateway -- uvx mcp-ssh-gateway
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.