libtmux-mcp
Active·★ 13·MIT·Updated 2026-10-17
libtmux-mcp is a Model Context Protocol server built on libtmux, enabling AI agents to interact with tmux sessions. It allows agents to create, manage, and orchestrate tmux sessions, windows, and panes directly, facilitating terminal automation and complex command execution.
#tmux#AI Agent#Terminal Automation#Model Context Protocol#Python#CLI Tooling#Workflow Automation#Process Orchestration
01
Features
01Comprehensive tmux session, window, and pane management for AI agents.
02Deterministic execution of shell commands with output capture and exit status.
03Ability to wait for specific text or content changes within tmux panes.
04Efficiently capture pane content, cursor, and scroll state, including delta updates.
05Built-in safety features to prevent agents from performing self-destructive operations on their host environment.
02
Compatibility
Python
Runtime
Verified via docs
tmux
Target Environment
Verified via docs
Model Context Protocol
Protocol
Verified via docs
03
Quick start
1
$ uvx libtmux-mcp
04
Use cases
↳Automating test execution and analysis by AI agents within tmux sessions.
↳Monitoring and managing long-running development servers or processes within a tmux environment.
↳Orchestrating complex multi-step terminal workflows and interacting with Text-based User Interfaces (TUIs).
↳Providing AI agents with direct control over the terminal to perform various operational tasks.
05
Alternatives
mcp-blender★ 29
The most comprehensive MCP server for Blender — 218 tools for 3D modeling, AI generation, MSFS content creation, and more
tmux-mcp★ 57
Lets agents create sessions, split panes, run commands, and capture output with TMUX.
codex-agent★ 13
Automate Codex CLI tasks using OpenClaw to write prompts, approve commands, check results, and interact via terminal or Telegram.
Comments
Log in to leave a comment
No comments yet. Be the first!