
michaellee8/mcp-tui-driver
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
MCP server for headless TUI automation. Enables LLMs to run, view, and interact with terminal applications through the Model Context Protocol (MCP).
Обзор
MCP server for headless TUI automation. Enables LLMs to run, view, and interact with terminal applications through the Model Context Protocol (MCP). Edit the config file: - : ~/Library/Application Support/Claude/claude_desktop_config.json - : %APPDATA%\Claude\claude_desktop_config.json Edit ~/.cursor/mcp.json (or .cursor/mcp.json in your project root): Edit ~/.codeium/windsurf/mcp_config.json: - : Use the full path (e.g., /Users/ /.cargo/bin/mcp-tui-driver) - : Run chmod +x $(which mcp-tui-driver) - : Add "env": {"RUST_LOG": "debug"} to the server config - Launch and manage multiple TUI sessions concurrently - Read terminal content as plain text or accessibility-style snapshots - Send keyboard input (keys, text, modifier combinations) - Mouse interaction (click, double-click, right-click) - Wait for screen content or idle state - Take PNG screenshots of terminal output - JavaScript scripting for complex automation workflows - Session management (resize, signals, info) - Session...
README
Показан фрагмент оригинального README. Открыть оригинал.
mcp-tui-driver
Playwright MCP, but for TUI apps.
MCP server for headless TUI automation. Enables LLMs to run, view, and interact with terminal applications through the Model Context Protocol (MCP).
Quick installation
cargo install --git https://github.com/michaellee8/mcp-tui-driver
MCP Configuration
Features
- Launch and manage multiple TUI sessions concurrently
- Read terminal content as plain text or accessibility-style snapshots
- Send keyboard input (keys, text, modifier combinations)
- Mouse interaction (click, double-click, right-click)
- Wait for screen content or idle state
- Take PNG screenshots of terminal output
- JavaScript scripting for complex automation workflows
- Session management (resize, signals, info)
- Session recording to asciicast format for playback with asciinema
Session Recording
TUI sessions can be recorded to asciicast v3 format files (.cast) for later playback with asciinema or other compatible players.
Enabling Recording
To enable recording, pass a recording configuration when launching a session:
{
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"tui-driver": {
"command": "mcp-tui-driver",
"args": []
}
}
}