Rest PTY
Orchestrates pseudo-terminal (PTY) sessions as a service, driven via REST and Model Context Protocol (MCP) APIs.
Rest PTY provides 'terminals as a service' by wrapping pseudo-terminal (PTY) sessions behind a REST API. It allows you to define, start, stop, feed input to, and read output from named sessions, making it ideal for orchestrating interactive or long-running terminal programs programmatically. Each session can run either in a local PTY or within a hardened, isolated Docker container, with session metadata persisted in SQLite and I/O streamed through Redis ring buffers that retain scrollback history. It also exposes a dedicated Model Context Protocol (MCP) endpoint, enabling AI agents to define, drive, and interact with sandboxed terminal sessions securely.