MCP Command Proxy is a server that acts as a proxy for CLI commands, specifically optimized for Expo development but adaptable to any command-line application. Built with TypeScript and the Model Context Protocol SDK, it runs commands in a pseudo-terminal, captures output in a configurable circular buffer, and provides tools for AI assistants to retrieve logs, send key presses to the running process, and check process status. The implementation enables AI assistants like Claude to interact with and troubleshoot command-line applications, making it particularly valuable for developers working with interactive CLI tools who want AI assistance with log analysis and process management.
Returns the most recent logs from the buffer. Parameters: limit (optional, number of logs to return, default: 100), types (optional, types of logs to include: stdout, stderr, system, default: all)
Sends a key press to the running process. Parameters: key (the key to send, e.g. 'enter', 'a', '1', 'space')
Returns the current status of the process. Parameters: None
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!