SSH Session MCP MCP Server
io.github.Zw-awa/ssh-session-mcp
What this kind of tool is for
- Automate a build, test, or deployment step you repeat by hand.
- Review or refactor code in an existing repository without leaving your agent.
- Bridge an internal service or CLI into the agent toolset.
How to compare servers like this
- Scope of control:
- Repos and CI are hard to undo; prefer tools that ask before anything irreversible.
- Environment fit:
- Match the runtime it expects (Node, Python, a container) to what you actually run.
- Maintenance signal:
- Check the last-commit date — dev tooling that lags upstream breaks first.
- Config surface:
- Prefer tools whose environment-variable or config keys are documented plainly.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the SSH Session MCP MCP server?
Shared SSH PTY runtime for MCP clients with viewer, input lock, async tracking, and policy rules.
How to install SSH Session MCP
Copy-paste configuration for popular MCP clients.
SSH_MCP_CONFIGOptional explicit path to ssh-session-mcp.config.json when the config is not in the current working directory.
SSH_MCP_INSTANCEOptional runtime instance id used to isolate state across multiple MCP clients or agents.
VIEWER_PORTViewer HTTP port. Use auto to allocate a free local port, or 0 to disable the browser viewer.
VIEWER_HOSTOptional viewer bind host. Defaults to 127.0.0.1 for local-only browser access.
AUTO_OPEN_TERMINALSet to true or 1 to automatically open the browser terminal when a session is created.
SSH_MCP_MODEOperation mode. safe blocks risky or unsuitable terminal actions by default, while full allows broader execution.
SSH_MCP_LOCALSet to true or 1 to run a local shell instead of opening a real SSH connection. Useful for demos and offline testing.
SSH_MCP_DEBUGSet to true or 1 to expose browser-side debug controls intended for demos and local troubleshooting.
SSH_HOSTLegacy single-target SSH host when not using ssh-session-mcp.config.json device profiles.
SSH_PORTLegacy single-target SSH port when not using ssh-session-mcp.config.json device profiles.
SSH_USERLegacy single-target SSH username when not using ssh-session-mcp.config.json device profiles.
SSH_PASSWORDsecretOptional legacy password-based SSH authentication value.
SSH_KEYOptional path to a local SSH private key file for legacy single-target mode.
{
"mcpServers": {
"ssh-session-mcp": {
"command": "npx",
"args": [
"-y",
"ssh-session-mcp"
],
"env": {
"SSH_MCP_CONFIG": "<YOUR_SSH_MCP_CONFIG>",
"SSH_MCP_INSTANCE": "<YOUR_SSH_MCP_INSTANCE>",
"VIEWER_PORT": "<YOUR_VIEWER_PORT>",
"VIEWER_HOST": "<YOUR_VIEWER_HOST>",
"AUTO_OPEN_TERMINAL": "<YOUR_AUTO_OPEN_TERMINAL>",
"SSH_MCP_MODE": "<YOUR_SSH_MCP_MODE>",
"SSH_MCP_LOCAL": "<YOUR_SSH_MCP_LOCAL>",
"SSH_MCP_DEBUG": "<YOUR_SSH_MCP_DEBUG>",
"SSH_HOST": "<YOUR_SSH_HOST>",
"SSH_PORT": "<YOUR_SSH_PORT>",
"SSH_USER": "<YOUR_SSH_USER>",
"SSH_PASSWORD": "<YOUR_SSH_PASSWORD>",
"SSH_KEY": "<YOUR_SSH_KEY>"
}
}
}
}Related MCP servers

A2AL Daemon
Makes any AI agent globally reachable and discoverable—no cloud, domain, or port forwarding needed.
TiaCommander
AI-assisted PLC programming for Siemens TIA Portal V17–V20 via Openness API.

io.github.aabxtract/koda
Verification and memory layer for coding-agent workflows.
Control Unreal Engine 5 from Claude, Cursor, or any MCP client—288 commands for Blueprints, materials, Niagara, and more.

CRE Intelligence
Live CRE analysis: Federal Reserve rates, Census 1/3/5-mile demographics, DCF models, IC memos.
Pre-trade oracle: real slippage, honeypot/sellability at size, exotic DEXs and new chains.
