About
A lightweight MCP server that exposes a set of tools for creating panes, capturing output, sending keystrokes or commands, and writing files within tmux sessions. It simplifies automation and remote interaction with terminal multiplexers.
Capabilities
Overview of the Tmux MCP Tools Server
The Tmux MCP Tools server is a lightweight bridge between AI assistants and the powerful terminal multiplexer tmux. It exposes a set of high‑level actions that let an AI client create, manipulate, and interrogate tmux sessions without needing to run raw shell commands. This solves the common problem of integrating long‑running, stateful terminal sessions into AI workflows—something that is difficult with standard command execution tools because tmux maintains its own session state, window layout, and scrollback buffers.
At its core, the server provides five distinct tools that map to everyday tmux operations. tmux_create_pane lets the AI spawn new windows or split panes, instantly expanding a session for parallel tasks. tmux_capture_pane reads the content of any pane, optionally waiting a short period or scrolling back to capture output that has already been generated. tmux_send_keys injects raw keystrokes into a pane, which is essential for interacting with programs that expect real‑time input (e.g., editors or interactive debuggers). tmux_send_command is a convenience wrapper that sends a command string followed by an automatic Enter key, with the option to pause until a specific pattern appears in the output—useful for scripting complex workflows. Finally, tmux_write_file writes files to the session’s filesystem using a heredoc approach, enabling the AI to create configuration files or scripts inside a remote environment.
These capabilities are valuable for developers building AI‑augmented development environments. For example, an AI assistant can launch a debugging session in one pane, run tests in another, and stream logs from yet another—all within the same tmux session. The ability to capture pane output means the AI can analyze runtime data, make decisions, and react in real time. Because tmux sessions persist across SSH connections, the server also supports remote development scenarios where the AI needs to maintain state between user interactions.
Integration with AI workflows is straightforward: a client configures the MCP server via the standard JSON section, then calls the exposed tools using the MCP request format. The server handles transport (stdio or HTTP) and optional enter‑delay tuning, giving developers fine control over timing for interactive programs. The design keeps the AI’s view of a terminal simple—each tool abstracts away tmux’s complexity while preserving its power.
In summary, the Tmux MCP Tools server turns a complex terminal multiplexer into a set of declarative AI‑friendly actions. It enables persistent, multi-pane workflows, real‑time interaction with terminal applications, and seamless integration into remote or local development pipelines—making it a standout solution for developers who want to harness the full potential of tmux within AI assistants.
Related Servers
MindsDB MCP Server
Unified AI-driven data query across all sources
Homebrew Legacy Server
Legacy Homebrew repository split into core formulae and package manager
Daytona
Secure, elastic sandbox infrastructure for AI code execution
SafeLine WAF Server
Secure your web apps with a self‑hosted reverse‑proxy firewall
mediar-ai/screenpipe
MCP Server: mediar-ai/screenpipe
Skyvern
MCP Server: Skyvern
Weekly Views
Server Health
Information
Explore More Servers
Polygon.io MCP Server
LLM-friendly access to Polygon market data
InsightFlow MCP Server
Real‑time analytics powered by Claude AI via Model Context Protocol
EdgeDB MCP Server
MCP-powered EdgeDB management and query tool for developers
MCP Service Framework
Extensible MCP server for AI‑powered tool orchestration
Test MCP Server
A lightweight, Python‑based Model Context Protocol test server
Outline MCP Server
AI-powered bridge to Outline document management