SSH Session MCP
A shared SSH MCP server that maintains a persistent PTY for both human operators and AI agents, featuring a browser terminal viewer, input locking, async command tracking, and safe/full execution modes to enable collaborative remote debugging and deployment.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- AI-assisted remote terminal collaboration
- Remote debugging on embedded Linux boards
- Safe long-running deployment execution
- Shared PTY session management
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ssh-session-mcp 2.7.1
{
"version": "2.7.1",
"transport": "stdio",
"identifier": "ssh-session-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "SSH_MCP_CONFIG",
"format": "string",
"description": "Optional explicit path to ssh-session-mcp.config.json when the config is not in the current working directory."
},
{
"name": "SSH_MCP_INSTANCE",
"format": "string",
"description": "Optional runtime instance id used to isolate state across multiple MCP clients or agents."
},
{
"name": "VIEWER_PORT",
"format": "string",
"description": "Viewer HTTP port. Use auto to allocate a free local port, or 0 to disable the browser viewer."
},
{
"name": "VIEWER_HOST",
"format": "string",
"description": "Optional viewer bind host. Defaults to 127.0.0.1 for local-only browser access."
},
{
"name": "AUTO_OPEN_TERMINAL",
"format": "string",
"description": "Set to true or 1 to automatically open the browser terminal when a session is created."
},
{
"name": "SSH_MCP_MODE",
"format": "string",
"description": "Operation mode. safe blocks risky or unsuitable terminal actions by default, while full allows broader execution."
},
{
"name": "SSH_MCP_LOCAL",
"format": "string",
"description": "Set to true or 1 to run a local shell instead of opening a real SSH connection. Useful for demos and offline testing."
},
{
"name": "SSH_MCP_DEBUG",
"format": "string",
"description": "Set to true or 1 to expose browser-side debug controls intended for demos and local troubleshooting."
},
{
"name": "SSH_HOST",
"format": "string",
"description": "Legacy single-target SSH host when not using ssh-session-mcp.config.json device profiles."
},
{
"name": "SSH_PORT",
"format": "string",
"description": "Legacy single-target SSH port when not using ssh-session-mcp.config.json device profiles."
},
{
"name": "SSH_USER",
"format": "string",
"description": "Legacy single-target SSH username when not using ssh-session-mcp.config.json device profiles."
},
{
"name": "SSH_PASSWORD",
"format": "string",
"description": "Optional legacy password-based SSH authentication value."
},
{
"name": "SSH_KEY",
"format": "string",
"description": "Optional path to a local SSH private key file for legacy single-target mode."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"ssh-session-mcp": {
"command": "npx",
"args": [
"-y",
"ssh-session-mcp@2.7.1"
],
"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>"
}
}
}
}Cline
{
"mcpServers": {
"ssh-session-mcp": {
"command": "npx",
"args": [
"-y",
"ssh-session-mcp@2.7.1"
],
"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>"
}
}
}
}VS Code
{
"servers": {
"ssh-session-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ssh-session-mcp@2.7.1"
],
"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>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"ssh-session-mcp": {
"command": "npx",
"args": [
"-y",
"ssh-session-mcp@2.7.1"
],
"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>"
}
}
}
}Let your agent find its tools
Find servers like SSH Session MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.