Skip to main content
Glama

SSH MCP Server

by widjis

ssh_read_output

Retrieve output from an active SSH session in real-time, using the session ID and optional timeout. Clear the buffer post-read for streamlined command execution and output management.

Instructions

Read output from an interactive shell session

Input Schema

NameRequiredDescriptionDefault
clearBufferNoClear the output buffer after reading
sessionIdYesInteractive session ID
timeoutNoTimeout in milliseconds to wait for output

Input Schema (JSON Schema)

{ "properties": { "clearBuffer": { "default": true, "description": "Clear the output buffer after reading", "type": "boolean" }, "sessionId": { "description": "Interactive session ID", "type": "string" }, "timeout": { "default": 5000, "description": "Timeout in milliseconds to wait for output", "type": "number" } }, "required": [ "sessionId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/widjis/mcp-ssh'

If you have feedback or need assistance with the MCP directory API, please join our Discord server