tmux MCP, built in Python
tmux terminal control for AI agents, built on libtmux for Python and FastMCP. This server maps tmux's object hierarchy — sessions, windows, panes — into MCP tools grouped by the operation they request. The server enforces the selected groups at the MCP tool boundary.
tmux through MCP
tmux before the first call.
tmux after create_session.
tmux after split_window.
tmux after list_windows: unchanged, the call only reads.
$ pytest -q $ ( pytest -q .. [100%] 2 passed in 0.01s $
tmux after run_command.
$ pytest -q $ ( pytest -q .. [100%] 2 passed in 0.01s $
$ cat checks.log $ ( cat checks.log 2026-01-01 checks started 2026-01-01 checks finished $
tmux after run_command.
tmux after kill_session.
Create a tmux session called checks, split its window into two panes, run pytest -q in one and show checks.log in the other, show me the results, then remove the session.
AgentCreate the session.
Result
{ "session_id": "$0", "session_name": "checks", "window_count": 1, "session_attached": "0", "session_created": "1795059312", "active_pane_id": "%0"}AgentSplit the pane the create result returned (%0) in two.
Result
{ "pane_id": "%1", "pane_index": "1", "pane_width": "39", "pane_height": "24", "pane_left": 41, "pane_top": 0, "pane_right": 79, "pane_bottom": 23, "pane_at_left": false, "pane_at_right": true, "pane_at_top": true, "pane_at_bottom": true, "…": "9 more"}AgentRead the window's layout.
Result
{ "result": [ { "window_id": "@0", "window_name": "sh", "window_index": "0", "session_id": "$0", "session_name": "checks", "pane_count": 2, "window_layout": "8205,80x24,0,0{40x24,0,0,0,39x24,41,0,1}", "window_active": "1", "window_width": "80", "window_height": "24", "active_pane_id": "%0" } ]}AgentRun the tests in the pane the create result returned (%0).
Result
{ "pane_id": "%0", "exit_status": 0, "timed_out": false, "elapsed_seconds": 0.8076037850041757, "output": [ "$ (", "pytest -q", ".. [100%]", "2 passed in 0.01s", "… 1 more" ], "output_truncated": false, "output_truncated_lines": 0, "effective_timeout": 30}AgentShow the log in the new pane the split returned (%1).
Result
{ "pane_id": "%1", "exit_status": 0, "timed_out": false, "elapsed_seconds": 0.029483657999662682, "output": [ "$ (", "cat checks.log", "2026-01-01 checks started", "2026-01-01 checks finished", "… 1 more" ], "output_truncated": false, "output_truncated_lines": 0, "effective_timeout": 30}AgentRemove the session once the result is read.
Result
{ "result": "Session killed: checks"}pytest printed 2 passed and checks.log ends with checks finished. I removed the checks session.
Install
Choose your client and configuration scope, then run the command or paste the configuration.
$ claude mcp add tmux -- uvx libtmux-mcp$ claude mcp add tmux \
-- uvx \
--exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ claude mcp add tmux -- uvx --no-config libtmux-mcp$ claude mcp add tmux --scope user -- uvx libtmux-mcp$ claude mcp add tmux \
--scope user \
-- uvx \
--exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ claude mcp add tmux --scope user -- uvx --no-config libtmux-mcp$ claude mcp add tmux --scope project -- uvx libtmux-mcp$ claude mcp add tmux \
--scope project \
-- uvx \
--exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ claude mcp add tmux --scope project -- uvx --no-config libtmux-mcp$ claude mcp add tmux -- pipx run libtmux-mcp$ claude mcp add tmux -- pipx run libtmux-mcp$ claude mcp add tmux -- pipx run libtmux-mcp$ claude mcp add tmux --scope user -- pipx run libtmux-mcp$ claude mcp add tmux --scope user -- pipx run libtmux-mcp$ claude mcp add tmux --scope user -- pipx run libtmux-mcp$ claude mcp add tmux --scope project -- pipx run libtmux-mcp$ claude mcp add tmux --scope project -- pipx run libtmux-mcp$ claude mcp add tmux --scope project -- pipx run libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux --scope user -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux --scope user -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux --scope user -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux --scope project -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux --scope project -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ claude mcp add tmux --scope project -- libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["--exclude-newer", "P7D", "--exclude-newer-package", "libtmux-mcp=2099-01-01", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"],
"env": { "UV_NO_CONFIG": "1" }
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ codex mcp add tmux -- uvx libtmux-mcp$ codex mcp add tmux \
-- uvx \
--exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ codex mcp add tmux -- uvx --no-config libtmux-mcp[mcp_servers.tmux]
command = "uvx"
args = ["libtmux-mcp"][mcp_servers.tmux]
command = "uvx"
args = ["--exclude-newer", "P7D", "--exclude-newer-package", "libtmux-mcp=2099-01-01", "libtmux-mcp"][mcp_servers.tmux]
command = "uvx"
args = ["libtmux-mcp"]
env = { UV_NO_CONFIG = "1" }$ codex mcp add tmux -- pipx run libtmux-mcp$ codex mcp add tmux -- pipx run libtmux-mcp$ codex mcp add tmux -- pipx run libtmux-mcp[mcp_servers.tmux]
command = "pipx"
args = ["run", "libtmux-mcp"][mcp_servers.tmux]
command = "pipx"
args = ["run", "libtmux-mcp"][mcp_servers.tmux]
command = "pipx"
args = ["run", "libtmux-mcp"]$ pip install --user --upgrade libtmux libtmux-mcp$ codex mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ codex mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ codex mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp[mcp_servers.tmux]
command = "libtmux-mcp"$ pip install --user --upgrade libtmux libtmux-mcp[mcp_servers.tmux]
command = "libtmux-mcp"$ pip install --user --upgrade libtmux libtmux-mcp[mcp_servers.tmux]
command = "libtmux-mcp"$ gemini mcp add --scope user tmux uvx -- libtmux-mcp$ gemini mcp add \
--scope user \
tmux uvx \
-- --exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ gemini mcp add --scope user tmux uvx -- --no-config libtmux-mcp$ gemini mcp add --scope project tmux uvx -- libtmux-mcp$ gemini mcp add \
--scope project \
tmux uvx \
-- --exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ gemini mcp add --scope project tmux uvx -- --no-config libtmux-mcp$ gemini mcp add --scope user tmux pipx -- run libtmux-mcp$ gemini mcp add --scope user tmux pipx -- run libtmux-mcp$ gemini mcp add --scope user tmux pipx -- run libtmux-mcp$ gemini mcp add --scope project tmux pipx -- run libtmux-mcp$ gemini mcp add --scope project tmux pipx -- run libtmux-mcp$ gemini mcp add --scope project tmux pipx -- run libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ gemini mcp add --scope user tmux libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ gemini mcp add --scope user tmux libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ gemini mcp add --scope user tmux libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ gemini mcp add --scope project tmux libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ gemini mcp add --scope project tmux libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ gemini mcp add --scope project tmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["--exclude-newer", "P7D", "--exclude-newer-package", "libtmux-mcp=2099-01-01", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"],
"env": { "UV_NO_CONFIG": "1" }
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["--exclude-newer", "P7D", "--exclude-newer-package", "libtmux-mcp=2099-01-01", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"],
"env": { "UV_NO_CONFIG": "1" }
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ grok mcp add --scope user tmux -- uvx libtmux-mcp$ grok mcp add \
--scope user \
tmux \
-- uvx \
--exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ grok mcp add --scope user tmux -- uvx --no-config libtmux-mcp$ grok mcp add --scope project tmux -- uvx libtmux-mcp$ grok mcp add \
--scope project \
tmux \
-- uvx \
--exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ grok mcp add --scope project tmux -- uvx --no-config libtmux-mcp$ grok mcp add --scope user tmux -- pipx run libtmux-mcp$ grok mcp add --scope user tmux -- pipx run libtmux-mcp$ grok mcp add --scope user tmux -- pipx run libtmux-mcp$ grok mcp add --scope project tmux -- pipx run libtmux-mcp$ grok mcp add --scope project tmux -- pipx run libtmux-mcp$ grok mcp add --scope project tmux -- pipx run libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ grok mcp add --scope user tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ grok mcp add --scope user tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ grok mcp add --scope user tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ grok mcp add --scope project tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ grok mcp add --scope project tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ grok mcp add --scope project tmux -- libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["--exclude-newer", "P7D", "--exclude-newer-package", "libtmux-mcp=2099-01-01", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "uvx",
"args": ["libtmux-mcp"],
"env": { "UV_NO_CONFIG": "1" }
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}{
"mcpServers": {
"tmux": {
"command": "pipx",
"args": ["run", "libtmux-mcp"]
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ pip install --user --upgrade libtmux libtmux-mcp{
"mcpServers": {
"tmux": {
"command": "libtmux-mcp"
}
}
}$ opencode mcp add tmux -- uvx libtmux-mcp$ opencode mcp add tmux \
-- uvx \
--exclude-newer P7D \
--exclude-newer-package libtmux-mcp=2099-01-01 \
libtmux-mcp$ opencode mcp add tmux -- uvx --no-config libtmux-mcp$ opencode mcp add tmux -- pipx run libtmux-mcp$ opencode mcp add tmux -- pipx run libtmux-mcp$ opencode mcp add tmux -- pipx run libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ opencode mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ opencode mcp add tmux -- libtmux-mcp$ pip install --user --upgrade libtmux libtmux-mcp$ opencode mcp add tmux -- libtmux-mcpWrites ~/.claude.json (this project).
With uvx installed.
Writes ~/.claude.json (this project).
With uvx installed.
Writes ~/.claude.json (this project).
With uvx installed.
Writes ~/.claude.json (all projects).
With uvx installed.
Writes ~/.claude.json (all projects).
With uvx installed.
Writes ~/.claude.json (all projects).
With uvx installed.
Writes .mcp.json (in repo, version-controlled).
With uvx installed.
Writes .mcp.json (in repo, version-controlled).
With uvx installed.
Writes .mcp.json (in repo, version-controlled).
With uvx installed.
Writes ~/.claude.json (this project).
With pipx installed.
Writes ~/.claude.json (this project).
With pipx installed.
Writes ~/.claude.json (this project).
With pipx installed.
Writes ~/.claude.json (all projects).
With pipx installed.
Writes ~/.claude.json (all projects).
With pipx installed.
Writes ~/.claude.json (all projects).
With pipx installed.
Writes .mcp.json (in repo, version-controlled).
With pipx installed.
Writes .mcp.json (in repo, version-controlled).
With pipx installed.
Writes .mcp.json (in repo, version-controlled).
With pipx installed.
Writes ~/.claude.json (this project).
Writes ~/.claude.json (this project).
Writes ~/.claude.json (this project).
Writes ~/.claude.json (all projects).
Writes ~/.claude.json (all projects).
Writes ~/.claude.json (all projects).
Writes .mcp.json (in repo, version-controlled).
Writes .mcp.json (in repo, version-controlled).
Writes .mcp.json (in repo, version-controlled).
With uvx installed.
With uvx installed.
With uvx installed.
With pipx installed.
With pipx installed.
With pipx installed.
Writes ~/.codex/config.toml.
With uvx installed.
Writes ~/.codex/config.toml.
With uvx installed.
Writes ~/.codex/config.toml.
With uvx installed.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
With uvx installed.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
With uvx installed.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
With uvx installed.
Writes ~/.codex/config.toml.
With pipx installed.
Writes ~/.codex/config.toml.
With pipx installed.
Writes ~/.codex/config.toml.
With pipx installed.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
With pipx installed.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
With pipx installed.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
With pipx installed.
Writes ~/.codex/config.toml.
Writes ~/.codex/config.toml.
Writes ~/.codex/config.toml.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
Codex's CLI doesn't support project scope yet — paste this into .codex/config.toml at the repo root.
Writes ~/.gemini/settings.json.
With uvx installed.
Writes ~/.gemini/settings.json.
With uvx installed.
Writes ~/.gemini/settings.json.
With uvx installed.
Writes .gemini/settings.json (in repo).
With uvx installed.
Writes .gemini/settings.json (in repo).
With uvx installed.
Writes .gemini/settings.json (in repo).
With uvx installed.
Writes ~/.gemini/settings.json.
With pipx installed.
Writes ~/.gemini/settings.json.
With pipx installed.
Writes ~/.gemini/settings.json.
With pipx installed.
Writes .gemini/settings.json (in repo).
With pipx installed.
Writes .gemini/settings.json (in repo).
With pipx installed.
Writes .gemini/settings.json (in repo).
With pipx installed.
Writes ~/.gemini/settings.json.
Writes ~/.gemini/settings.json.
Writes ~/.gemini/settings.json.
Writes .gemini/settings.json (in repo).
Writes .gemini/settings.json (in repo).
Writes .gemini/settings.json (in repo).
With uvx installed.
With uvx installed.
With uvx installed.
With uvx installed.
With uvx installed.
With uvx installed.
With pipx installed.
With pipx installed.
With pipx installed.
With pipx installed.
With pipx installed.
With pipx installed.
Writes ~/.grok/config.toml.
With uvx installed.
Writes ~/.grok/config.toml.
With uvx installed.
Writes ~/.grok/config.toml.
With uvx installed.
Writes ./.grok/config.toml (in repo).
With uvx installed.
Writes ./.grok/config.toml (in repo).
With uvx installed.
Writes ./.grok/config.toml (in repo).
With uvx installed.
Writes ~/.grok/config.toml.
With pipx installed.
Writes ~/.grok/config.toml.
With pipx installed.
Writes ~/.grok/config.toml.
With pipx installed.
Writes ./.grok/config.toml (in repo).
With pipx installed.
Writes ./.grok/config.toml (in repo).
With pipx installed.
Writes ./.grok/config.toml (in repo).
With pipx installed.
Writes ~/.grok/config.toml.
Writes ~/.grok/config.toml.
Writes ~/.grok/config.toml.
Writes ./.grok/config.toml (in repo).
Writes ./.grok/config.toml (in repo).
Writes ./.grok/config.toml (in repo).
With uvx installed.
With uvx installed.
With uvx installed.
With pipx installed.
With pipx installed.
With pipx installed.
Writes ~/.config/opencode/opencode.jsonc.
With uvx installed.
Writes ~/.config/opencode/opencode.jsonc.
With uvx installed.
Writes ~/.config/opencode/opencode.jsonc.
With uvx installed.
Writes ~/.config/opencode/opencode.jsonc.
With pipx installed.
Writes ~/.config/opencode/opencode.jsonc.
With pipx installed.
Writes ~/.config/opencode/opencode.jsonc.
With pipx installed.
Writes ~/.config/opencode/opencode.jsonc.
Writes ~/.config/opencode/opencode.jsonc.
Writes ~/.config/opencode/opencode.jsonc.
libtmux-mcp lets an MCP client inspect tmux, create sessions and panes,
run commands, and wait for their results. The distribution and executable are
libtmux-mcp; Python imports use libtmux_mcp.
The server runs over standard input and output. It requires Python 3.10 or
newer and tmux 3.2a or newer; see tmux support. Its default toolsets are inspect, manage,
and execute; deletion tools require an explicit selection.
Start here
- Install points an MCP client at this server.
- Tools lists the MCP operations, arguments, and results.
- Guides connect a client and select a tmux socket.
- Topics explain toolsets, trust, waiting, and caller context.
- Examples call a tool, then explore server internals.
- Language API documents embedding and implementation types.
For declarative session configuration, use the
Workspace Manager, provided by the separate tmuxp
project. The MCP server does not provide a tmuxp file loader.
The upstream Python documentation covers client integrations and the complete tool reference. These pages follow the Python implementation.
Tools by tier
The Python server groups its tools by what they request. A tier badge tells you how far a call reaches before you approve it. Set LIBTMUX_TOOLSETS to a comma-separated list of tiers, such as inspect,manage, to offer only those tools.
Inspect
Request tmux state and terminal output.
-
call_read_tools_batchInspect Call several inspect tools serially and return per-tool results. -
capture_paneInspect Capture the visible contents of a tmux pane (terminal scrollback). -
capture_sinceInspect Capture new tmux terminal scrollback since the previous cursor. -
display_messageInspect Read tmux variables against a target and return the substituted text. -
find_pane_by_positionInspect Find the pane occupying a corner of a tmux window. -
get_pane_infoInspect Get detailed information about a tmux pane. -
get_server_infoInspect Get information about the tmux server. -
get_session_infoInspect Return metadata for a single tmux session (ID, name, window count, activity). -
get_window_infoInspect Return metadata for a single tmux window (ID, name, layout, dimensions). -
list_panesInspect List tmux panes (terminal multiplexer splits) in a window, session, or server. -
list_serversInspect Discover live tmux servers under the current user's $TMUX_TMPDIR. -
list_sessionsInspect List tmux sessions (terminal workspaces) on a tmux server. -
list_windowsInspect List tmux windows (terminal tabs) in a session, or across the server. -
search_panesInspect Search visible terminal text across all tmux panes. -
show_bufferInspect Read back the contents of an MCP-owned buffer. -
show_environmentInspect Show tmux environment variables. -
show_hookInspect Look up a specific tmux hook by name. -
show_hooksInspect List configured tmux hooks at the given scope. -
show_optionInspect Show a tmux option value. -
snapshot_paneInspect Snapshot a tmux pane: visible terminal output, cursor, mode, scroll. -
wait_for_textInspect Wait for NEW output in a tmux pane, then return.
Manage
Change tmux structure or presentation.
-
enter_copy_modeManage Enter copy mode in a tmux pane, optionally scrolling up. -
exit_copy_modeManage Exit copy mode in a tmux pane. -
load_bufferManage Load text into a new agent-namespaced tmux paste buffer. -
move_windowManage Move a window to a different index or session. -
rename_sessionManage Rename a tmux session. -
rename_windowManage Rename a tmux window. -
resize_paneManage Resize a tmux pane. -
resize_windowManage Resize a tmux window. -
select_layoutManage Set the layout of a tmux window. -
select_paneManage Select (focus) a tmux pane by ID or direction. -
select_windowManage Select (focus) a tmux window by ID, index, or direction. -
set_pane_titleManage Set the title of a tmux pane. -
signal_channelManage Signal a tmux wait-for channel, waking blocked waiters. -
swap_paneManage Swap the positions of two panes. -
wait_for_channelManage Block until a tmux wait-for channel is signalled.
Execute
Start or drive pane processes, or store state that can control later execution.
-
create_sessionExecute Create a new tmux session. -
create_windowExecute Create a new window in a tmux session. -
paste_bufferExecute Paste an MCP-owned buffer into a pane. -
paste_textExecute Paste multi-line text into a pane using tmux paste buffers. -
pipe_paneExecute Log a pane's live output to a file (or stop an active log). -
respawn_paneExecute Restart a pane's process in place, preserving pane_id and layout. -
run_commandExecute Run a shell command in a pane, wait for completion, and capture output. -
send_keysExecute Send keys (commands or text) to a tmux pane. -
send_keys_batchExecute Send an ordered batch of raw key/text operations to tmux panes. -
set_environmentExecute Set a tmux environment variable. -
set_optionExecute Set a tmux option value. -
split_windowExecute Split a tmux window to create a new pane.
Teardown
Delete tmux objects or retained scrollback. Not reversible.
-
clear_paneTeardown Clear the contents of a tmux pane. -
delete_bufferTeardown Delete an MCP-owned buffer. -
kill_paneTeardown Kill (close) a tmux pane. -
kill_serverTeardown Kill the tmux server and all its sessions. -
kill_sessionTeardown Kill a tmux session. -
kill_windowTeardown Kill (close) a tmux window.
Browse every tool, with its arguments, result and protocol data.