ssh-session-mcp
SSH Session MCP
Shared SSH PTY runtime for MCP clients with viewer, input lock, async tracking, and policy rules.
Package Details
ssh-session-mcp
Environment Variables
Optional explicit path to ssh-session-mcp.config.json when the config is not in the current working directory.
Optional runtime instance id used to isolate state across multiple MCP clients or agents.
Viewer HTTP port. Use auto to allocate a free local port, or 0 to disable the browser viewer.
Optional viewer bind host. Defaults to 127.0.0.1 for local-only browser access.
Set to true or 1 to automatically open the browser terminal when a session is created.
Operation mode. safe blocks risky or unsuitable terminal actions by default, while full allows broader execution.
Set to true or 1 to run a local shell instead of opening a real SSH connection. Useful for demos and offline testing.
Set to true or 1 to expose browser-side debug controls intended for demos and local troubleshooting.
Legacy single-target SSH host when not using ssh-session-mcp.config.json device profiles.
Legacy single-target SSH port when not using ssh-session-mcp.config.json device profiles.
Legacy single-target SSH username when not using ssh-session-mcp.config.json device profiles.
Optional legacy password-based SSH authentication value.
Optional path to a local SSH private key file for legacy single-target mode.