The repository implements a proxy server that wraps CLI commands, enabling interaction via MCP. It uses a pseudo-terminal (PTY) to run commands and captures stdout/stderr. A circular buffer stores log data, and an HTTP server exposes MCP endpoints for log retrieval and key press forwarding. The design emphasizes real-time streaming of command output and interactive command support.
TypeScript
5