cyberneticlibrary

Run interactive shell, SSH, and serial sessions for agents

pty-mcppluginsetup L39
raychao-oao/pty-mcp
What it does

Manage interactive PTY sessions (local, SSH, serial)

Best for

Long-lived interactive debugging, DevOps orchestration, or system administration where persistent PTY state beats stateless shell commands.

Inputs
  • · Target host (local, SSH string, or serial port)
  • · Command or script to execute
  • · Session ID (for persistence)
Outputs
  • · PTY session output (stdout, stderr)
  • · Interactive prompt (stdin available)
  • · Session state (for multi-command chains)
Requires
  • · pty-mcp MCP server
  • · SSH client (for remote sessions)
  • · Serial port driver (for serial sessions)
Preconditions
  • · pty-mcp server running
  • · SSH credentials configured (for remote hosts)
  • · Serial port accessible (for serial sessions)
Failure modes
  • · SSH key authentication fails
  • · Serial port baud rate mismatch
  • · PTY session timeout
  • · Interactive command hanging (no stdin handler)
Trust signals
  • · Supports local, SSH, and serial (3 connection modes)
  • · Designed for persistent agent sessions
  • · MIT license, raychao-oao maintained