tmux-mcp-tools
tmux-mcp-toolsは、tmuxセッションと対話するためのMCPツールを提供します。設定ファイルを通じて、MCPサーバーの構成やAIエージェントのプロンプトテンプレートを定義できます。tmuxのペインを操作するためのコマンドを簡単に送信できる機能を持ち、効率的な作業環境をサポートします。
GitHubスター
2
ユーザー評価
未評価
お気に入り
0
閲覧数
36
フォーク
0
イシュー
0
README
tmux-mcp-tools
Provide MCP tools for interacting with tmux sessions.
Configuration
- Custom XDG:
$XDG_CONFIG_HOME/tmux-mcp-tools/ mcp.json: MCP server configuration following Cursor formatprompt.md: System prompt template for the AI agent
Tmux Configuration
Add the following to your .tmux.conf file to create a keybinding that opens the client in a new pane:
bind-key M-k split-window -h -p 33 "uvx --from tmux-mcp-tools tmux-agent --target \"$(tmux display-message -t ! -p '#{pane_id}')\" ;"
This will bind Alt+K to open a new pane with the client, targeting the current pane.
Features
Tmux Tools
tmux_capture_pane: Capture the content of a tmux panetmux_send_command: Send commands to a tmux pane with automatic Enter keytmux_send_keys: Send keys to a tmux pane without automatic Entertmux_write_file: Write content to a file using heredoc pattern in a tmux pane
Usage
{
"mcpServers": {
"tmux-mcp-tools": {
"command": "uvx",
"args": ["tmux-mcp-tools"]
}
}
}