Tmux
Drive tmux sessions, windows, panes, commands, terminal output, and pane interactions through MCP.
Install Tmux
Pick your client, then add it in one click or paste the config.
https://pkg.go.dev/github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp
Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.
Overview
Use cases
- Run interactive terminal commands inside tmux
- Inspect sessions, windows, and panes
- Type input into a pane and wait for output
- Filter tmux state for agent workflows
- Test terminal programs that require a TTY
Key features
- Session, window, and pane management
- Terminal-backed command execution
- Rendered output and exit-status retrieval
- Pane input with text polling
- Snapshot and tmux-format filtering
- tmux change notifications
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
ActiveLast checked Today
Recent health check succeeded.
7/7 checks healthy over the last 40d
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
Last commitTodayMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.
How Tmux works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Tmux
tmux is an MCP server that connects AI agents to a tmux server and exposes operations for sessions, windows, and panes. Its main tools run commands in terminal-backed windows, read output, type into panes, wait for text, filter tmux state, and receive change notifications.
Install the Go package with `go get github.com/libtmux/libtmux-go/tmux@latest`. The environment requires Go 1.26 or newer, tmux 3.3a or newer, and a Unix host. Pin an exact dependency version when you need protection from API changes.
It requires Go 1.26 or newer and tmux 3.3a or newer on a Unix host. When connected to an older tmux daemon, an operation returns a version error without sending anything.
Yes. Commands run in a tmux window with a terminal, and the result includes the rendered screen output and exit status. This makes the server suitable for programs that require a TTY instead of a plain process environment.
Yes. Configure a separate socket name and an empty configuration file to create a private tmux server. A program can clean it up afterward without affecting the tmux server used by the regular `tmux` command.
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
Badge Style:
Live Dynamic SVG Preview
Markdown (GitHub README)
[](https://allmcps.com/mcp/tmux)HTML Embed
<a href="https://allmcps.com/mcp/tmux"><img src="https://allmcps.com/api/badge/tmux?style=directory" alt="Tmux on AllMCPs" /></a>