Smyth Docker Commander
Spawns ephemeral Linux sandbox containers using Docker to execute commands via an interactive TTY interface, enabling collaborative AI and human interaction.
About
This tool acts as a Model Context Protocol (MCP) server, empowering AI clients like Claude Code and Gemini CLI, as well as human users, to interact with ephemeral Linux sandbox containers. It leverages Docker to create isolated environments where commands can be executed through a full TTY interface. The server enables seamless real-time output capture and supports collaborative interaction, allowing both AI and human participants to simultaneously send inputs and observe the same terminal session within the container. It exposes a set of skills for container management, input handling, and screen content retrieval.
Key Features
- Full TTY interface for sending commands, keystrokes, and special key sequences
- Collaborative interaction between AI clients and human users in the same terminal
- Real-time capture and buffering of terminal output for clients
- Container lifecycle management: spawn, send input, get output, stop, and destroy
- Interactive status line UI for host terminal monitoring
- 13 GitHub stars
Use Cases
- Debugging and interacting with shell environments within sandboxed Docker containers via an MCP client
- Enabling AI agents to execute and test code in isolated Linux environments
- Facilitating collaborative 'pair programming' between AI clients and human users in a shared terminal session