mcp-command-proxy
If you are the rightful owner of mcp-command-proxy and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP (Model Context Protocol) server that acts as a proxy for CLI commands, specifically designed for Expo development but adaptable for any command-line application.
The MCP Command Proxy is a versatile server designed to act as a proxy for command-line interface (CLI) commands, with a particular focus on Expo development. It allows users to run any CLI command through the MCP server, capturing and storing logs from running processes, and forwarding key presses from clients to the running process. This server provides a transparent experience where the end user sees the command output as if they ran it directly. It is built using the MCP SDK, making it easy to integrate with Claude and other MCP-enabled AI assistants. The server starts a specified command in a pseudo-terminal (PTY), streams all stdout/stderr output to the client in real-time, and stores it in a circular buffer. It also provides tools to view collected logs, send key presses to the process, and get the current state of the process. This makes it ideal for use cases such as Expo development, monitoring build processes, and executing commands from remote clients.
Features
- Command Proxying: Run any CLI command through the MCP server.
- Log Collection: Capture and store logs from running processes with configurable buffer size.
- Key Press Forwarding: Forward key presses from client to the running process.
- Transparent Experience: The end user sees the command output exactly as if they ran it directly.
- Interactive Commands: Works with interactive CLI tools like Expo.
Tools
getRecentLogs
Returns the most recent logs from the buffer.
sendKeyPress
Sends a key press to the running process.
getProcessStatus
Returns the current status of the process.