
michaellee8/mcp-tui-driver
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ヘッドレスTUI自動化用MCPサーバー LLM は、モデルコンテキストプロトコル(MCP)を介して、ターミナルアプリケーションで実行、表示、およびやり取りできるようにします.
概要
ヘッドレスTUI自動化用MCPサーバー LLM は、モデルコンテキストプロトコル(MCP)を介して、ターミナルアプリケーションで実行、表示、およびやり取りできるようにします。 設定ファイルを編集: - : ~/ Library/Application Support/Claude/claude desktop config.json - : %APPDATA%\Claude\claude desktop config.json プロジェクトのルートで ~/.cursor/mcp.json を編集します。 ~/.codeium/windsurf/mcp config.json を編集します。 - : フルパス(例: /Users/ /.cargo/bin/mcp-tui-driver) - : chmod +x $(mcp-tui-driver)を実行 - : "env": {"RUST LOG": "debug"} をサーバーコンフィグに追加 - 複数のTUIセッションを同時起動および管理 - ターミナルコンテンツをプレーンテキストまたはアクセシビリティスタイルのスナップショットとして読む - キーボード入力(キー、テキスト、修飾子の組み合わせ)を送信 - マウスの相互作用(クリック、ダブルクリック、右クリック) - スクリーンコンテンツまたはアイドル状態の待ち - ターミナル出力のPNGスクリーンショットを取る - 複雑な自動化ワークフローのためのJavaScriptスクリプト - セッション管理(サイズ、信号、情報) - セッション...
概要(AI 翻訳)
Playwright MCP, しかし、TUIアプリ用.
ヘッドレスTUI自動化用MCPサーバー LLM は、モデルコンテキストプロトコル(MCP)を介して、ターミナルアプリケーションで実行、表示、およびやり取りできるようにします。
速い取付け
#MCP の設定
クロードコード(CLI)
編集 [~/.claude/settings.json]:
クロードデスクトップ
設定ファイルを編集します。
- macOS: [
~/Library/Application Support/Claude/claude_desktop_config.json] -Windows:[%APPDATA%\Claude\claude_desktop_config.json
カーソル
プロジェクトルートの[~/.cursor/mcp.jsonを編集します。
VSコード(Continue Extension)
[~/.continue/config.json を編集します。
ウインドサーフィン(コーデウム)
[~/.codeium/windsurf/mcp_config.json を編集します。
OpenAIのコーデックスCLI
[~/.codex/config.json を編集します。
トラブルシューティング
- バイナリが見つかりません:フルパス(例、[
/Users/ /.cargo/bin/mcp-tui-driver)を使用してください。 - 許可拒否: [[[T9]を実行]を実行します
-Debug logging: [
"env": {"RUST_LOG": "debug"}]をサーバー設定に追加
##特徴
・複数のTUIセッションを同時起動・管理
- プレーンテキストやアクセシビリティスタイルのスナップショットとしてターミナルコンテンツを読み込みます
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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": []
}
}
}