ToolsΒΆ
All tools accept an optional socket_name parameter for multi-server support. It defaults to the LIBTMUX_SOCKET env var. See Configuration.
Which tool do I want?ΒΆ
Reading terminal content?
Know which pane? β
capture_panereadonlyNeed text + cursor + mode in one call? β
snapshot_panereadonlyDonβt know which pane? β
search_panesreadonlyNeed to wait for specific output? β
wait_for_textreadonlyNeed to wait for any change? β
wait_for_content_changereadonlyOnly need metadata (PID, path, size)? β
get_pane_inforeadonlyNeed an arbitrary tmux variable? β
display_messagereadonly
Targeting a pane by layout?
βThe bottom-right paneβ, βtop-leftβ, any corner β
find_pane_by_positionreadonlyAlready know the
pane_idβ use it directly
Running a command?
send_keysmutating β thenwait_for_textreadonly +capture_panereadonlyPasting multi-line text? β
paste_textmutating
Creating workspace structure?
New session β
create_sessionmutatingNew window β
create_windowmutatingNew pane β
split_windowmutating
Navigating?
Switch pane β
select_panemutating (by ID or direction)Switch window β
select_windowmutating (by ID, index, or direction)
Rearranging layout?
Swap two panes β
swap_panemutatingMove window β
move_windowmutatingChange layout β
select_layoutmutating
Scrollback / copy mode?
Enter copy mode β
enter_copy_modemutatingExit copy mode β
exit_copy_modemutatingLog output to file β
pipe_panemutating
Coordinating across panes?
Block until signalled β
wait_for_channelmutatingSignal a waiter β
signal_channelmutating
Staging multi-line input?
Stage content β
load_buffermutatingPush into pane β
paste_buffermutatingRead back β
show_bufferreadonlyFree server state β
delete_buffermutating
Auditing tmux hooks?
Enumerate β
show_hooksreadonlyInspect one β
show_hookreadonly
Changing settings?
tmux options β
show_optionreadonly /set_optionmutatingEnvironment vars β
show_environmentreadonly /set_environmentmutating
Reaching for a workflow recipe? The server also ships four short MCP prompts the client renders for the model β see Prompts. They cover the most common patterns (run-and-wait, diagnose-failing-pane, build-dev-workspace, interrupt-gracefully) with embedded UUID-scoped wait channels and shell-agnostic guidance.
Inspect readonlyΒΆ
Read tmux state without changing anything.
List all active sessions.
List windows in a session.
List panes in a window.
Read visible content of a pane.
Get detailed pane metadata.
Resolve βthe bottom-right paneβ (or any corner) to a PaneInfo.
Search text across panes.
Wait for text to appear in a pane.
Get tmux server info.
Discover live tmux servers under $TMUX_TMPDIR.
Query a tmux option value.
Show tmux environment variables.
Rich capture: content + cursor + mode + scroll.
Wait for any screen change.
Query arbitrary tmux format strings.
Read back an MCP-staged paste buffer.
Enumerate configured tmux hooks at a scope.
Inspect a single tmux hook by name.
Act mutatingΒΆ
Create or modify tmux objects.
Start a new tmux session.
Add a window to a session.
Split a window into panes.
Send commands or keystrokes to a pane.
Rename a session.
Rename a window.
Adjust pane dimensions.
Adjust window dimensions.
Set window layout.
Set pane title.
Clear pane content.
Set a tmux option.
Set a tmux environment variable.
Focus a pane by ID or direction.
Focus a window by ID, index, or direction.
Exchange positions of two panes.
Move window to another index or session.
Stream pane output to a file.
Enter copy mode for scrollback.
Exit copy mode.
Paste multi-line text via tmux buffer.
Stage multi-line text into an MCP-namespaced tmux buffer.
Paste an MCP buffer into a target pane.
Block until a tmux wait-for channel is signalled.
Wake clients blocked on a wait-for channel.
Destroy destructiveΒΆ
Tear down tmux objects. Not reversible.
Destroy a session and all its windows.
Destroy a window and all its panes.
Destroy a pane.
Kill the entire tmux server.
Delete an MCP-staged tmux paste buffer.