read-session-output
Read output from background sessions (e.g., tail -f)
How to use it
read-session-output is exposed by the Ssh MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the read-session-output tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Ssh MCP
claude mcp add --transport stdio ssh-mcp -- ssh-mcpOther tools in Ssh MCP (13)
Close a session, releasing resources
read-command
Discover available hosts and connection status
List active sessions per host
Create a named interactive (stateful) or background session
Execute with sudo (always requires approval)
Execute allowlisted read-only commands (ls, cat, grep, ...)
Execute arbitrary commands (destructive ones need approval)
Download a file via SFTP
Upload a file via SFTP
Send INT/TERM/KILL to a remote PID
privileged-command
v2