tmux-mcp logo
tmux-mcp
★ 57
vs
libtmux-mcp logo
libtmux-mcp
★ 13

tmux-mcp vs libtmux-mcp

tmux-mcp: tmux-mcp-rs is a Rust-based Model Context Protocol (MCP) server that enables AI agents to programmatically interact with and manage tmux sessions. It allows agents to create, split, and run commands within tmux panes while providing structured output and real-time user observation, making terminal automation more reliable and efficient.; libtmux-mcp: 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.

01

TL;DR

tmux-mcp logo
tmux-mcpWorkflow Automation · ★ 57

Automating Interactive Terminals: AI agents can create, manage, and operate within their own tmux sessions, allowing users to observe or participate in real-time.

libtmux-mcp logo
libtmux-mcpWorkflow Automation · ★ 13

Automating test execution and analysis by AI agents within tmux sessions.

02

Side-by-Side Comparison

Field
tmux-mcp logotmux-mcp
libtmux-mcp logolibtmux-mcp
Category
Workflow Automation
Workflow Automation
Stars
★ 57
★ 13
License
MIT
MIT
Install Command
cargo install tmux-mcp-rs
uvx libtmux-mcp
Updated
3mo ago
6d ago
Open Source
Yes
Yes
Tags
tmux, AI Agent, Workflow Automation
tmux, AI Agent, Terminal Automation
03

Features

tmux-mcp logotmux-mcp
01AI Agent Control: Allows AI assistants to create, manage, and interact with tmux sessions, windows, and panes.
02Structured Interaction: Provides structured inputs and outputs for tmux commands, reducing ambiguity for agents compared to plain-text skills.
03Command Execution & Tracking: Enables execution of commands within panes and tracking their results, including exit codes and attributable output.
04Pane Content Capture & Search: Can capture pane content and offers advanced buffer search capabilities for large contexts.
05Remote & Isolated Operation: Supports controlling tmux sessions over SSH and using isolated sockets for agent-specific environments.
libtmux-mcp logolibtmux-mcp
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.
04

Use Cases

tmux-mcp logotmux-mcp
↳Automating Interactive Terminals: AI agents can create, manage, and operate within their own tmux sessions, allowing users to observe or participate in real-time.
↳Reliable Shell Automation for AI: Agents can execute complex shell commands and workflows, benefiting from structured outputs and stable IDs for sessions/windows/panes.
↳Incremental Context Exploration: Using buffer search tools, agents can explore large text contexts (like logs or codebases) incrementally without loading everything into LLM context.
↳Agent Orchestration and Parallel Execution: Running parallel commands across multiple windows/panes with monitoring for complex tasks.
↳Hardened Agent Sandboxing: Enforcing security policies, command filtering, and restricting agent access to specific sockets, sessions, or panes.
libtmux-mcp logolibtmux-mcp
↳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.
FAQ

FAQ

What is the difference between tmux-mcp and libtmux-mcp?
Both tmux-mcp and libtmux-mcp are in the Workflow Automation category. tmux-mcp has 57 stars, while libtmux-mcp has 13 stars.
Which is better, tmux-mcp or libtmux-mcp?
The best choice depends on your use case. Choose tmux-mcp if Automating Interactive Terminals: AI agents can create, manage, and operate within their own tmux sessions, allowing users to observe or participate in real-time., and libtmux-mcp if Automating test execution and analysis by AI agents within tmux sessions..
Is tmux-mcp free or open source?
Yes, tmux-mcp is open source on GitHub (MIT).
Is libtmux-mcp free or open source?
Yes, libtmux-mcp is open source on GitHub (MIT).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related