
tmux-mcp
by bnomei
Rust-based MCP server for advanced tmux session, pane, and buffer management by AI agents.
What it does
Provides AI agents with structured, reliable control over tmux. Instead of fragile screen scraping, agents can create isolated sessions, split panes, execute commands with attributable output, and manage complex terminal layouts on local or remote SSH hosts.
Tools
create-session/kill-session: Manage tmux session lifecycles.split-pane/join-pane: Orchestrate complex terminal layouts for parallel tasks.execute-command/get-command-result: Run shell commands and retrieve stable, structured results.capture-pane: Read the current state or logs of a terminal pane.search-buffer/show-buffer: Explore large text buffers incrementally using a probe-and-refine workflow.send-keys: Drive interactive CLI prompts and TUIs.
Installation
Install the binary via Cargo:
cargo install tmux-mcp-rs
Then add to your claude_desktop_config.json:
{
"mcpServers": {
"tmux": {
"command": "tmux-mcp-rs"
}
}
}
Supported hosts
- Claude Desktop
- Cursor
- Codex
- OpenCode
Quick install
cargo install tmux-mcp-rsInformation
- Pricing
- free
- Published
- 4/17/2026
- stars






