mcp-command-proxy

TypeScript

Protocol Implementations
Agent Frameworks
Developer Tooling

Architecture and Design Patterns

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.

About

Language

TypeScript

Stars

5

Categories

Protocol ImplementationsAgent FrameworksDeveloper Tooling