ChangelogΒΆ
libtmux-mcp 0.1.x (unreleased)ΒΆ
Notes on upcoming releases will be added here
DevelopmentΒΆ
Minimum pytest>=9.1.0
The dev and test dependency groups now require pytest 9.1.0 or newer. (#83)
libtmux-mcp 0.1.0a14 (2026-06-14)ΒΆ
libtmux-mcp 0.1.0a14 adds tier-aware tool batching. call_readonly_tools_batch, call_mutating_tools_batch, and call_destructive_tools_batch run an ordered list of existing MCP tools in a single call and return a per-operation result for each, preserving every nested toolβs own structured output. Each wrapper caps the safety tier of the calls it will make β regardless of the serverβs LIBTMUX_SAFETY tier β and on_error selects stop-at-first-failure or continue-and-report handling. Aggregate results stay within the serverβs response limit.
Whatβs newΒΆ
Tier-aware tool batching
call_readonly_tools_batch, call_mutating_tools_batch, and call_destructive_tools_batch run an ordered list of existing MCP tools in a single call and return a per-operation result for each, preserving every nested toolβs own structured output. Each wrapper caps the safety tier of the calls it will make β the readonly wrapper refuses mutating or destructive operations, and the mutating wrapper refuses destructive ones β regardless of the serverβs LIBTMUX_SAFETY tier. Nested calls keep their normal schema validation, middleware, and safety checks, and on_error selects stop-at-first-failure or continue-and-report handling. Large aggregate results stay within the serverβs response limit β oversized nested payloads are dropped (with the truncation flagged in the result), and very large operation lists are rejected rather than allowed to overflow it. (#79)
libtmux-mcp 0.1.0a13 (2026-06-13)ΒΆ
libtmux-mcp 0.1.0a13 adds send_keys_batch for sending an ordered batch of raw key/text operations to tmux panes in a single call, with per-operation results, stop-or-continue error handling, and an optional timeout that bounds both the batch and each send. Argument-validation failures also stop echoing the rejected input into the serverβs logs and tool error results, so a secret-bearing argument can no longer surface there.
Whatβs newΒΆ
Ordered raw input with send_keys_batch
send_keys_batch sends several raw-input operations in order and returns per-operation success or failure metadata. Choose stop-at-first-failure or continue-and-report handling, and set an optional timeout to bound a long batch and each underlying send. It is intentionally scoped to keystrokes and text input for TUIs or persistent shells; authored command completion stays with run_command, and repeated observation stays with capture_since. (#49, #61)
FixesΒΆ
Argument-validation failures no longer echo rejected input
When a tool call fails argument-schema validation, the error result and the serverβs invalid-argument log record now omit the rejected input values, so a secret-bearing argument can no longer surface in logs or error text. (#78)
libtmux-mcp 0.1.0a12 (2026-06-13)ΒΆ
libtmux-mcp 0.1.0a12 hardens the MCP serverβs read-only and safety surface and adds a one-call run_command tool. Read-only tools can no longer trigger tmux format-job shell evaluation, an invalid safety tier fails closed instead of exposing write tools, and large successful results keep their structured payload. Panes and windows also gain liveness and active-pane metadata, and the package ships a py.typed marker. The fastmcp floor rises to 3.4.2 to pick up its explicit starlette>=1.0.1 floor (CVE-2026-48710).
DependenciesΒΆ
Minimum fastmcp>=3.4.2 (was >=3.4.0). Picks up fastmcp 3.4.1βs explicit starlette>=1.0.1 floor, so installs can no longer resolve to a Starlette version affected by CVE-2026-48710 β previously this was constrained only transitively through mcp. (#77)
Whatβs newΒΆ
One-call command completion with run_command
run_command runs a shell command in a pane, waits for it to finish, and returns the exit status, timeout state, and tail-preserved output in a single call β no manual send_keys + wait_for_channel + capture_pane sequence. The command runs in a subshell so its state changes donβt leak into later calls, and suppress_history keeps secret-bearing commands out of shell history where the shell ignores space-prefixed input. (#73)
Richer, typed pane and window metadata
snapshot_pane now reports pane_pid, pane_dead, and alternate_on for liveness and alternate-screen decisions, and window results carry active_pane_id for reliable follow-up targeting. The package also ships a py.typed marker so downstream type checkers see its inline annotations. (#75)
FixesΒΆ
Read-only tools no longer evaluate tmux #() format jobs
search_panes and display_message are advertised as read-only, but tmux #(...) formats schedule shell jobs during expansion. Both now reject or route around #() so a read-only call can never spawn a shell. (#68, #69)
Invalid LIBTMUX_SAFETY fails closed
An unrecognized LIBTMUX_SAFETY value now falls back to readonly instead of mutating, so a typo in the safety tier can no longer expose write tools the operator meant to hide. (#71)
Large structured results keep their structured payload
The global response backstop was truncating big successful results into text-only responses before tool-level caps ran, dropping the structured metadata schema-bearing tools depend on. It now matches FastMCPβs 1 MB default, leaving per-tool line caps to handle terminal truncation. (#70)
clear_pane clears scrollback reliably
clear_pane now uses libtmuxβs single-call reset path; the previous two-call sequence could leave scrollback intact. Its annotations also disclose that it is destructive and non-idempotent. (#74)
Stdio transport pinned at startup
The server runs with an explicit stdio transport so an inherited FastMCP transport environment canβt change its startup surface and break stdio clients, and --help / --version resolve locally without starting the server. (#72)
libtmux-mcp 0.1.0a11 (2026-06-06)ΒΆ
libtmux-mcp 0.1.0a11 redesigns how tool failures reach agents. Error messages now arrive exactly as raised β no more Internal error: mangling β with structured detail and recovery hints that tell agents what to do next, from stale pane ids to stray arguments leaked by client schedulers. Expected, agent-correctable failures log at WARNING so ERROR records always mean an operator should look. The fastmcp floor rises to 3.4.0 to build on its error-result and log-level support.
DependenciesΒΆ
Minimum fastmcp>=3.4.0 (was >=3.2.4). Enables the error-result and log-level improvements below; the bump alone also restores resource titles on the tmux:// hierarchy and brings MCP-compliant telemetry span attributes.
Whatβs newΒΆ
Tool errors arrive clean, with structured detail and recovery hints
Failed tool calls now return their message exactly as raised β previously every failure was prefixed with Internal error:. Error results carry a structured _meta payload (error_type, expected, suggestion), and not-found errors point at list_sessions / list_windows / list_panes to resolve stale or guessed ids. (#64)
Unknown tool arguments get a do-this-next hint
When a call includes arguments a tool doesnβt accept, the error result now names exactly which argument(s) to remove or fix. When the stray key is wait_for_previous β a scheduling flag Gemini CLI can leak into batched tool calls β the hint says so and names the connected client, so agents recover in one read instead of re-deriving the problem from a validation traceback. (#64)
Expected tool failures log at WARNING, not ERROR
Agent-correctable failures β unknown ids, invalid arguments, safety-tier denials, transient tmux errors β now log at WARNING in the serverβs log stream. A missing tmux binary and unexpected exceptions stay at ERROR, so ERROR records are always worth attention. (#64)
libtmux-mcp 0.1.0a10 (2026-05-24)ΒΆ
Whatβs newΒΆ
Incremental pane observation with capture_since
capture_since gives agents a cursor-based way to observe a pane without re-reading the same terminal output on every turn. The first call returns the current visible screen and an opaque cursor; later calls return only rows written or rewritten after that cursor while tmux still retains the needed history. If scrollback was cleared or trimmed, the result sets lines_missed=True, returns a conservative current visible capture, and issues a fresh cursor. Malformed cursors, cross-pane replay, pane death, and pane respawn fail clearly instead of silently switching processes. (#60)
libtmux-mcp 0.1.0a9 (2026-05-24)ΒΆ
libtmux-mcp 0.1.0a9 tightens pane polling correctness for agents waiting on terminal output. Search and wait tools now handle wrapped content, history-limit risk reporting, and pane lifecycle changes with clearer results instead of silent false positives.
FixesΒΆ
search_panes matches wrap-spanning slow-path text
search_panes now joins tmux-wrapped visual rows when it uses the captured-content slow path, so long build, test, or log lines can match across the pane width. Plain fast-path searches still use tmuxβs native visual-row search; pass regex=True or a content range when exact text may span a wrap boundary. (#55)
wait_for_text reports trim-risk warnings in results
wait_for_text now returns risk_band_warned=True when polling enters tmuxβs history-limit trim-risk band. Clients that do not surface MCP warning notifications can still detect that matching was best-effort and switch to wait_for_channel for deterministic command completion. (#54)
wait_for_content_change fails on pane lifecycle changes
wait_for_content_change now raises a tool error when the watched pane dies or is respawned during the wait. Those lifecycle changes invalidate the entry content baseline, so callers no longer receive a misleading changed=True result for a different pane process. (#53)
libtmux-mcp 0.1.0a8 (2026-05-23)ΒΆ
libtmux-mcp 0.1.0a8 bumps libtmux to 0.58.0, fixing session and window listing on systems whose locale is not UTF-8.
DependenciesΒΆ
Minimum libtmux>=0.58.0 (was >=0.56.0). Picks up the 0.57.x command-coverage and client-awareness releases and the 0.58.0 non-UTF-8 locale fix β session and window listing could silently return empty results when the system locale was not UTF-8.
Whatβs newΒΆ
Installer picker now covers config scope and file locations
The MCP install widget on the front page, Quickstart, and MCP Clients now lets you pick a config scope per LLM client alongside the install method β local / user / project for Claude Code, user / project for Codex and Gemini, project / global for Cursor. JSON-only clients (Cursor, Claude Desktop) also show the destination config-file path next to the snippet so the paste target is never a guess. Your scope choice is remembered per-client, so switching between clients restores each oneβs last selection.
Installer picker can apply or bypass dependency cooldowns
A new Configure cooldowns control on the install widget lets you tack a cooldown onto the snippet without leaving the page. Pick a delay in days (uvβs --exclude-newer, pipβs --uploaded-prior-to, pipxβs --pip-args) to wait out community vetting before pulling a fresh release, or pick Bypass any global cooldown to skip a ~/.config/uv/uv.toml cutoff and grab the latest libtmux-mcp anyway. The setting persists across pages, and the embedded What are cooldowns? expander links to the Datadog Security Labs writeup and cooldowns.dev if you want the supply-chain context. (#31)
DocumentationΒΆ
MCP install widget ships working cooldown snippets
The install widget on the front page, Quickstart, and MCP Clients now emits a runnable snippet in every method Γ cooldown cell. uvx days panels apply the cooldown to transitive dependencies while exempting libtmux-mcp itself, so a fresh release stays installable. pipx and pip days panels fall back to the bare install command β neither tool exposes a per-package cooldown override today β and their cooldown note redirects readers to the uvx tab when they want true cooldown enforcement. (#58)
libtmux-mcp 0.1.0a7 (2026-05-16)ΒΆ
Breaking changesΒΆ
wait_for_text waits for new output, not stale scrollback
wait_for_text now matches lines written after the call begins. The previous behaviour returned found=True on the first poll whenever the pattern already lived in the pane, so agents synchronising on command output got the wrong result. For the synchronous βis the pattern in the pane right now?β case, call search_panes instead.
Baseline-loss events surface as ToolError: pane respawn, pane death, clear-history, and any other event that drops history below the entry baseline. Pane resize that pulls lines back from history into the visible region is exempted β the anchor stays valid.
Trim during heavy output near history-limit canβt be reliably detected from polling alone. When polling approaches that limit, the tool emits a notifications/message warning so MCP clients can decide whether to keep waiting, retry, or switch to wait_for_channel. For deterministic command completion, compose tmux wait-for -S <channel> into the shell command and call wait_for_channel. (#45)
wait_for_text drops content_start / content_end
The new baseline anchor follows the paneβs grid position automatically, so the manual capture-range parameters have no remaining purpose. Drop them from call sites. (#45)
# Before
wait_for_text(pattern="OK", content_start=-100)
# After
wait_for_text(pattern="OK")
Wait result models drop timed_out
WaitForTextResult and ContentChangeResult drop the timed_out field. It was mechanically the boolean negation of the primary result (not found / not changed) and carried no information beyond that. Callers should switch to not result.found / not result.changed. (#47)
# Before
result = wait_for_text(pattern="OK")
if result.timed_out:
...
# After
result = wait_for_text(pattern="OK")
if not result.found:
...
DependenciesΒΆ
Minimum libtmux>=0.56.0 (was >=0.55.1). Picks up libtmux 0.56βs typed wrappers for the tmux commands the server invokes β the MCP now uses libtmuxβs public API instead of raw command-line escapes for pane lifecycle, scrollback, and session navigation. (#46)
FixesΒΆ
wait_for_channel recipe no longer exits the parent shell
The run_and_wait prompt template previously appended exit $__mcp_status to its shell payload to preserve the commandβs exit status. In an interactive shell that exits the shell itself, destroying single-pane sessions. The recipe now signals completion via tmux wait-for -S without exiting, and the equivalent example in Wait for channel is similarly fixed. Exit-status preservation in interactive shells is documented as out-of-scope; agents that need it should inspect the captured output for command-specific success markers. (#47)
wait_for_text matches patterns across visually-wrapped lines
Long patterns like "Build failed: module not found" that tmux wraps at the paneβs column width are now matched against the joined logical line. Previously the wrap split the pattern across two captured rows and neither row matched. The joined line is returned in matched_lines and can exceed the pane width. (#45)
wait_for_text rejects misused pattern / interval / timeout
Empty pattern, interval below 10 ms, and non-positive timeout each raise ToolError at entry. Previously they silently matched every line, spun the tmux server in a tight loop, or completed a surprise single probe. (#45)
DocumentationΒΆ
Wait family is re-framed around wait_for_channel as the deterministic primitive
The send_keys docstring, server system instructions, wait_for_text docstring, and the user-facing quickstart, gotchas, prompting, troubleshooting, recipes, and send-keys topics now point agents at wait_for_channel with composed tmux wait-for -S for command completion. wait_for_text and wait_for_content_change are reframed as the fallbacks for output the agent does not author. The run_and_wait recipe shows the canonical safe-completion pattern. (#45)
libtmux-mcp 0.1.0a6 (2026-05-09)ΒΆ
libtmux-mcp 0.1.0a6 is the activation and registration cleanup release. It makes the server much easier for MCP clients to discover from ordinary βpaneβ, βwindowβ, and βsessionβ prompts, standardizes new setup docs around the tmux registration slug, and adds migration guidance for existing libtmux registrations. Existing installs keep working; the release changes defaults and documentation so new installs line up with the tool prefix users actually see.
Whatβs newΒΆ
Bare tmux prompts now find the server
Agents no longer need the word βtmuxβ in every prompt before this server becomes relevant. The server instructions now name the positive cases users naturally write, such as βsplit this paneβ, βcurrent windowβ, and βthis sessionβ, while steering clients away from unrelated browser tabs, editor splits, tiling-window-manager panes, and notebook cells. The discovery anchors most likely to answer those prompts - list_panes, list_windows, and snapshot_pane - also carry the preload hint used by clients that keep a small always-available schema set. See Agent prompting guide for the user-facing activation contract. (#37)
New installs are documented as tmux
The recommended registration slug is now tmux, matching the MCP serverInfo.name and the mcp__tmux__* tool-call prefix surfaced by clients. The package name, import name, and existing user-created libtmux registrations are unchanged; only the documented install target moves to the clearer slug. See Migration notes for the walkthrough. (#40)
DocumentationΒΆ
Hierarchy-noun tool titles now include a tmux qualifier in catalog-style displays, so entries like βList tmux Sessionsβ stay understandable when a client shows tools from several MCP servers together. Tmux-specific verbs such as send_keys, pipe_pane, snapshot_pane, capture_pane, and paste_text keep their shorter names because the verb already identifies the tmux operation. (#38)
The Agent prompting guide guide gains an activation and discovery section with positive triggers, anti-triggers, a client-level alwaysLoad example, and a project-instructions fragment for teams that want stronger bias toward tmux when users say βthis paneβ or βcurrent windowβ. (#39)
libtmux-mcp 0.1.0a5 (2026-05-06)ΒΆ
libtmux-mcp 0.1.0a5 makes layout-relative pane targeting a first-class workflow. Agents can ask for βthe bottom-right paneβ directly, reason from typed geometry returned on pane models, and avoid parsing tmux format strings for common layout questions. The release also polishes the documentation site after the theme migration and extends the local MCP swap helper so Claude users can choose project-local or user-global config.
Whatβs newΒΆ
Layout-relative pane targeting via find_pane_by_position
find_pane_by_position resolves a window corner - top-left, top-right, bottom-left, or bottom-right - to a single PaneInfo. This replaces the old workaround of calling display_message with #{pane_at_bottom} / #{pane_at_right} and parsing raw string output. Single-pane and otherwise ambiguous layouts resolve deterministically, so the common βuse the only paneβ case does not require an extra branch in the agent workflow. (#34)
Pane responses now carry geometry
PaneInfo, PaneContentMatch, and PaneSnapshot now include window-relative coordinates, edge predicates, and the pane TTY. That means an agent can inspect returned data to decide whether a pane is at the left edge, bottom edge, or a specific corner instead of making another tmux query. The older pane_width and pane_height fields intentionally keep their existing string typing in this alpha; changing those fields is left for a later breaking-change window. (#34)
DocumentationΒΆ
The docs site moves onto gp-furo-theme with sphinx-vite-builder handling the theme asset pipeline, so the rendered site follows the same gp-sphinx docs stack used by the rest of the project documentation. (#33)
The install widget and above-the-fold typography no longer shift after first paint. Saved install-widget choices now render in the correct panel immediately, and the fonts and logo used on the landing page are loaded early enough to avoid visible swaps. (#36)
The new corner-finder appears anywhere a reader is likely to look for targeting guidance: the homepage tool chain, tools index, pane tools page, prompting guide, recipes, and example responses. Existing display_message guidance now points layout-relative pane selection at find_pane_by_position instead of teaching agents to expand pane-edge format variables by hand. (#34)
DevelopmentΒΆ
scripts/mcp_swap.py gains --scope {user,project} for Claude. Project scope keeps the safe local override used while working in this checkout; user scope intentionally changes the fallback used from other projects. Codex, Cursor, and Gemini have only a global layer, so the flag is accepted there without creating a fake per-project mode. (#35)
libtmux-mcp 0.1.0a4 (2026-05-02)ΒΆ
libtmux-mcp 0.1.0a4 adds pane recovery and closes the last gap in the core hierarchyβs single-object metadata reads. Agents can restart a stuck pane without losing its identity, fetch known sessions or windows directly, and use a bundled development script to point local MCP clients at a checkout. The respawn_pane parameter name settles on shell before the stable API, replacing the earlier alpha spelling shell_command.
Whatβs newΒΆ
Restart wedged panes in place with respawn_pane
respawn_pane restarts the process in an existing tmux pane while preserving the pane_id and the window layout. That is the right recovery primitive for long-running agent sessions: kill_pane followed by split_window creates a new pane, invalidates stored handles, and can disturb the surrounding layout. The final alpha API uses shell for the replacement command to match split_window and libtmuxβs upstream respawn naming. (#27)
Direct metadata reads for sessions and windows
get_session_info and get_window_info complete the server/session/window/pane metadata pattern alongside get_server_info and get_pane_info. Callers that already have an ID or a scoped index no longer need to call a list tool and filter the response. Buffers, hooks, options, and environment values keep their existing show/load/read tools rather than gaining redundant get_*_info wrappers. (#27)
DocumentationΒΆ
Safety tiers now documents respawn_pane as a mutating recovery tool with real process side effects, including the kill=true default and the visibility tradeoffs of passing command or environment data through tmux. The same update refreshes socket-guard notes for macOS, tightens guidance around display_message and pipe_pane, and adds dedicated tool pages for the new recovery and metadata tools. (#27)
DevelopmentΒΆ
scripts/mcp_swap.py lands as local dogfooding infrastructure for Claude, Codex, Cursor, and Gemini. It detects installed clients, shows the current libtmux-mcp registration, rewrites config to run this checkout through uv, and reverts from backups. The just mcp-use-local and just mcp-revert recipes wrap that flow for branch QA. (#27)
libtmux-mcp 0.1.0a3 (2026-04-19)ΒΆ
libtmux-mcp 0.1.0a3 is a focused correctness release after the FastMCP alignment work. It fixes caller identity across multiple tmux sockets, moves channel waits off the FastMCP event loop, and raises the libtmux floor to pick up upstream pytest-fixture cleanup. The result is less surprising metadata in multi-server setups and fewer stalled clients during long waits.
DependenciesΒΆ
Minimum libtmux>=0.55.1 (was >=0.55.0) for tmux-python/libtmux#661, which fixes pytest-plugin socket cleanup under /tmp/tmux-<uid>/.
FixesΒΆ
Pane caller identity is socket-aware
The is_caller pane annotation no longer treats pane %0 on every tmux server as the current agent pane just because the pane IDs match. The annotation now compares the callerβs tmux socket as well, matching the self-protection checks used around destructive tools. This fixes PaneInfo, PaneSnapshot, and PaneContentMatch responses in multi-socket environments. (#22, fixes #19)
Channel waits no longer stall the MCP server
wait_for_channel and signal_channel now run their blocking tmux subprocess work outside the event loop. Other tool calls and client keepalives can continue while a wait is pending, matching the async behavior already used by wait_for_text and wait_for_content_change. (#21, fixes #18)
libtmux-mcp 0.1.0a2 (2026-04-19)ΒΆ
libtmux-mcp 0.1.0a2 is the FastMCP alignment release. It expands the server from a basic tmux wrapper into a broader agent automation surface with discovery, waits, buffers, hooks, pane/window navigation, prompt recipes, middleware, and bounded terminal output. The release includes one response-shape breaking change: search_panes now returns a paginated SearchPanesResult instead of a bare list. (#15)
Breaking changesΒΆ
search_panes returns SearchPanesResult
search_panes now returns a result object with matches and pagination metadata instead of the earlier list[PaneContentMatch] shape. Existing callers should iterate over .matches; callers that search large tmux workspaces can also inspect truncated, truncated_panes, total_panes_matched, offset, and limit.
# Before
for match in search_panes(...):
...
# After
for match in search_panes(...).matches:
...
Minimum fastmcp>=3.2.4 (was >=3.1.0). The newer FastMCP release is required for ReadonlyRetryMiddleware and per-parameter input-schema descriptions.
Whatβs newΒΆ
Discovery and synchronization tools
list_servers discovers live tmux servers, including explicitly provided socket paths. The wait family adds content waits (wait_for_text, wait_for_content_change) and tmux channel synchronization (wait_for_channel, signal_channel) so agents can wait for explicit milestones instead of sleeping or repeatedly capturing panes. (#15)
Buffers, hooks, and richer pane/window control
Agent-namespaced buffer tools - load_buffer, paste_buffer, show_buffer, and delete_buffer - support staged multi-line input without overloading keystroke simulation. Read-only hook tools (show_hook, show_hooks) expose tmux hook state without adding write-hooks that survive process death. The pane and window surface grows with snapshot_pane, pipe_pane, display_message, paste_text, select_pane, swap_pane, select_window, move_window, enter_copy_mode, and exit_copy_mode. (#15)
Prompt recipes for common agent workflows
Four MCP prompts ship for repeatable tmux work: run_and_wait, diagnose_failing_pane, build_dev_workspace, and interrupt_gracefully. Clients that only expose tools can opt into tool-shaped prompt access with LIBTMUX_MCP_PROMPTS_AS_TOOLS=1. See Prompts for the prompt catalog. (#15)
Middleware for safer long-running automation
The middleware stack now includes AuditMiddleware for digest-redacted argument summaries, SafetyMiddleware for safety-tier visibility, ReadonlyRetryMiddleware for transient readonly libtmux failures, and TailPreservingResponseLimitingMiddleware for oversized tool output. Timing and error-handling middleware round out the request path. (#15)
Tail-preserving bounded output
capture_pane, snapshot_pane, and show_buffer accept max_lines and report whether older lines were trimmed. Truncation keeps the newest terminal output, which is usually the active prompt or most recent command result. Pass max_lines=None when a caller intentionally wants the full scrollback or buffer. (#15)
Better schemas and startup failures
Tool input schemas now include parameter descriptions extracted from docstrings, so clients can explain arguments without separate docs lookups. Startup also fails with a clear RuntimeError when tmux is not available on PATH, and active_pane_id tells callers which pane was created by create_session. (#15)
FixesΒΆ
search_panesneutralizes tmux format-string injection in the regex fast path.The macOS self-kill guard resolves the live tmux socket before falling back to
TMUX_TMPDIRreconstruction.The
build_dev_workspaceprompt uses real tool parameter names, avoids waiting for prompts after screen-grabbing commands, and replaces a Linux-specific log default withlog_command.ReadonlyRetryMiddlewarelogs retry warnings underlibtmux_mcp.retry.
DocumentationΒΆ
The tools documentation gains category pages for Buffer tools, Hook tools, and Tools. The pane tools docs explain the SearchPanesResult migration, while Safety tiers documents the audit log, socket caveats, pipe_pane, and set_environment. (#15)
libtmux-mcp 0.1.0a1 (2026-04-13)ΒΆ
libtmux-mcp 0.1.0a1 expands the tmux control surface around the workflows agents actually perform after they find a pane. It adds richer screen snapshots, waits, navigation, pane/window movement, copy-mode entry points, live logging, and bracketed paste support. The docs also adopt the gp-sphinx visual stack so the generated API and tool pages become easier to scan. (#11)
Whatβs newΒΆ
Screen snapshots and waits
snapshot_pane returns terminal content together with cursor position, copy-mode state, and scroll position in a single read. wait_for_content_change lets an agent wait for any visible update when it does not know the exact text to expect. PaneSnapshot and ContentChangeResult carry those responses in typed models. (#11)
Pane and window navigation
select_pane, swap_pane, select_window, and move_window let agents navigate within tmux and rearrange panes or windows without asking a user to manually focus the target. Directional window selection is scoped to the requested session, and pane selection handles next/previous relative navigation through concrete pane IDs. (#11)
Terminal I/O helpers
pipe_pane logs live pane output to a file, display_message exposes tmux format expansion as a read-only metadata escape hatch, enter_copy_mode and exit_copy_mode control copy-mode state, and paste_text uses tmux buffers for multi-line input where raw keystroke simulation is fragile. (#11)
DocumentationΒΆ
The API docs adopt the gp-sphinx documentation stack: card-style API layouts, safety and scope badges, MyST cross-reference roles, improved CLI-doc section scoping, IBM Plex typography, and FastMCP-aware tool rendering. The docs dependency stack is then refreshed to gp-sphinx 0.0.1a8. (#10, #14)
libtmux-mcp 0.1.0a0 (2026-03-22)ΒΆ
libtmux-mcp 0.1.0a0 is the first standalone alpha release, extracted from libtmuxβs MCP branch. It packages libtmux-backed tmux control as an MCP server with typed tools, hierarchy resources, safety tiers, and socket-aware server selection. The release establishes the base contract that later alphas expand: inspect tmux state, make scoped mutations, and keep destructive operations behind an explicit safety tier.
Whatβs newΒΆ
Standalone MCP server for tmux
The package exposes tmux sessions, windows, panes, options, and environment operations through MCP tools backed by libtmux. It includes the console entry point, FastMCP server wiring, and the first set of Pydantic response models for tool output.
Browsable tmux hierarchy
tmux:// resources let MCP clients browse the tmux hierarchy from server to sessions, windows, and panes. Tool resolvers accept the normal tmux identifiers so callers can move between resource browsing and concrete tool calls.
Safety and socket isolation
The initial server ships with readonly, mutating, and destructive safety tiers, controlled by LIBTMUX_SAFETY. Socket selection through LIBTMUX_SOCKET and LIBTMUX_SOCKET_PATH lets the same process target isolated tmux servers, and TMUX_PANE awareness marks the pane that belongs to the calling agent.
Typed implementation baseline
Server caching, resolver helpers, standardized error handling, and strict mypy coverage provide the internal foundation for later tool families. All initial tool responses are typed through Pydantic models rather than ad hoc dictionaries.