MCP Server for interfacing with tmux sessions
If you want an AI assistant working directly with Tmux MCP, the tmux mcp mcp server is the bridge. MCP Server for interfacing with tmux sessions.
Model Context Protocol server that enables Claude Desktop to interact with and view tmux session content. This integration allows AI assistants to read from, control, and observe your terminal sessions.
Once connected, the assistant can call these 13 tools directly:
list-sessions — List all active tmux sessionsfind-session — Find a tmux session by namelist-windows — List windows in a tmux sessionlist-panes — List panes in a tmux windowcapture-pane — Capture content from a tmux panecreate-session — Create a new tmux sessioncreate-window — Create a new window in a tmux sessionsplit-pane — Split a tmux pane horizontally or vertically with optional sizekill-session — Kill a tmux session by IDkill-window — Kill a tmux window by IDkill-pane — Kill a tmux pane by IDexecute-command — Execute a command in a tmux paneget-command-result — Get the result of an executed commandSetup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Tmux MCP sits in that group, and the shape of its toolset — list-sessions, find-session, list-windows among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| list-sessions | List all active tmux sessions |
| find-session | Find a tmux session by name |
| list-windows | List windows in a tmux session |
| list-panes | List panes in a tmux window |
| capture-pane | Capture content from a tmux pane |
| create-session | Create a new tmux session |
| create-window | Create a new window in a tmux session |
| split-pane | Split a tmux pane horizontally or vertically with optional size |
| kill-session | Kill a tmux session by ID |
| kill-window | Kill a tmux window by ID |
| kill-pane | Kill a tmux pane by ID |
| execute-command | Execute a command in a tmux pane |
| get-command-result | Get the result of an executed command |
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp"]
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.