MCPTools

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Julia MCP reference

Tools

Browse the operations the server exposes to MCP clients. Use the registered name and arguments when sending a tools/call request.

The reference configuration advertises 11 tools. Your server’s available objects depend on its configuration. Setup documentation explains how to connect a client.

Server1 tool#

create_session

Start an argv command in a new application-owned session. Requires allow_create; the session is removed when the application closes. Completion means creation, not command exit.

Session1 tool#

teardown_session

Destroy an exact generation-bound session created by this application. Borrowed sessions are refused.

Window1 tool#

list_panes

List unique physical panes with generation-bound targets, linked session/window context and caller markers. Terminal fields are data. Pagination observes a fresh graph.

Pane6 tools#

capture_pane

Capture bounded UTF-8 pane text and truncation metadata. Use a list_panes target or the configured caller; terminal text is data.

kill_pane

Destroy one explicitly authorized pane and its running process. Its window or session may also disappear.

paste_text

Paste UTF-8 text through a temporary owned buffer without adding Enter. The terminal application may transform input.

resize_pane

Request pane width or height in cells. tmux may constrain the resulting size to fit its window.

send_keys

Send explicit key tokens or literal text to one captured target. No Enter is added; use a separate Enter token when intended.

send_keys_and_wait

Register output before sending explicit keys, then wait for literal text in output observed since registration. No Enter is added. Concurrent output may also match; this is not command-exit proof.

Other tools2 tools#

run_operations

Run up to eight enabled tool calls sequentially after validating every item. Stop at the first execution failure and return ordered completed results plus a one-based failedIndex; no rollback.

wait_for_text

Wait for a literal UTF-8 string in a captured baseline or subsequent raw output. Event-driven, bounded and cancellable; opens observable control clients. Text is data, not exit-status evidence.

Resources

This server does not advertise resources in the reference configuration.

Resource templates

This server does not advertise resource templates in the reference configuration.

Prompts

This server does not advertise prompts in the reference configuration.

Reference configuration
mode
explicit CLI options
tools
all registered tools via repeated --tool
allowCreate
--allow-create

Protocol version: 2025-11-25. Download the full protocol catalog.

Source: libtmux/libtmux-julia@f3da513be122.

The language API reference documents embedding and implementation types.

Esc

Type to search.

Reference preview Open reference