Command Proxy
Summary
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.
Available Actions(3)
getRecentLogs
Returns the most recent logs from the buffer. Parameters: limit (optional, default: 100), types (optional, default: all types of logs including stdout, stderr, system)
sendKeyPress
Sends a key press to the running process. Parameters: key (string, e.g. 'enter', 'a', '1', 'space')
getProcessStatus
Returns the current status of the process. Parameters: None
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation