SSH Session MCP
Shared SSH PTY runtime for MCP clients with viewer, input lock, async tracking, and policy rules.
Documentation & Preview
{ "mcpServers": { "mcp-ssh-session-mcp-d4bc51c8d897a6a318f7": { "command": "npx", "args": [ "-y", "--package", "ssh-session-mcp@2.7.1", "ssh-session-mcp" ], "env": { "SSH_MCP_CONFIG": "${ENV_SSH_MCP_CONFIG}", "SSH_MCP_INSTANCE": "${ENV_SSH_MCP_INSTANCE}", "VIEWER_PORT": "${ENV_VIEWER_PORT}", "VIEWER_HOST": "${ENV_VIEWER_HOST}", "AUTO_OPEN_TERMINAL": "${ENV_AUTO_OPEN_TERMINAL}", "SSH_MCP_MODE": "${ENV_SSH_MCP_MODE}", "SSH_MCP_LOCAL": "${ENV_SSH_MCP_LOCAL}", "SSH_MCP_DEBUG": "${ENV_SSH_MCP_DEBUG}", "SSH_HOST": "${ENV_SSH_HOST}", "SSH_PORT": "${ENV_SSH_PORT}", "SSH_USER": "${ENV_SSH_USER}", "SSH_PASSWORD": "${ENV_SSH_PASSWORD}", "SSH_KEY": "${ENV_SSH_KEY}" } } }, "setup": { "fields": [ { "id": "ENV_SSH_MCP_CONFIG", "label": "SSH_MCP_CONFIG", "description": "Optional explicit path to ssh-session-mcp.config.json when the config is not in the current working directory.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_MCP_INSTANCE", "label": "SSH_MCP_INSTANCE", "description": "Optional runtime instance id used to isolate state across multiple MCP clients or agents.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VIEWER_PORT", "label": "VIEWER_PORT", "description": "Viewer HTTP port. Use auto to allocate a free local port, or 0 to disable the browser viewer.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VIEWER_HOST", "label": "VIEWER_HOST", "description": "Optional viewer bind host. Defaults to 127.0.0.1 for local-only browser access.", "required": false, "secret": false, "default": "" }, { "id": "ENV_AUTO_OPEN_TERMINAL", "label": "AUTO_OPEN_TERMINAL", "description": "Set to true or 1 to automatically open the browser terminal when a session is created.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_MCP_MODE", "label": "SSH_MCP_MODE", "description": "Operation mode. safe blocks risky or unsuitable terminal actions by default, while full allows broader execution.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_MCP_LOCAL", "label": "SSH_MCP_LOCAL", "description": "Set to true or 1 to run a local shell instead of opening a real SSH connection. Useful for demos and offline testing.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_MCP_DEBUG", "label": "SSH_MCP_DEBUG", "description": "Set to true or 1 to expose browser-side debug controls intended for demos and local troubleshooting.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_HOST", "label": "SSH_HOST", "description": "Legacy single-target SSH host when not using ssh-session-mcp.config.json device profiles.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_PORT", "label": "SSH_PORT", "description": "Legacy single-target SSH port when not using ssh-session-mcp.config.json device profiles.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_USER", "label": "SSH_USER", "description": "Legacy single-target SSH username when not using ssh-session-mcp.config.json device profiles.", "required": false, "secret": false, "default": "" }, { "id": "ENV_SSH_PASSWORD", "label": "SSH_PASSWORD", "description": "Optional legacy password-based SSH authentication value.", "required": false, "secret": true, "default": "" }, { "id": "ENV_SSH_KEY", "label": "SSH_KEY", "description": "Optional path to a local SSH private key file for legacy single-target mode.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.Zw-awa/ssh-session-mcp", "registryVersion": "2.7.1", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.Zw-awa%2Fssh-session-mcp/versions/2.7.1", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "ssh-session-mcp", "version": "2.7.1", "integrity": "sha512-xke3l0SKrK0Q8CIjv3+t2y5j137g0kCwBSqcChjU1m2g7ep/LEabjCtdGDRkyHzTlBBB3eXs0vB86DrwOW3wMw==", "registryNameMatched": "io.github.Zw-awa/ssh-session-mcp", "checkedAt": "2026-11-04T17:08:47.646Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }