MCPconceptResources

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

Resources

Browse the data the server exposes through resources/read. Resource templates describe URI patterns and the variables used to select a resource.

The reference configuration advertises 6 resources and resource templates. Your server’s available objects depend on its configuration. Setup documentation explains how to connect a client.

Fixed resources2 objects

sessions

Every session on the pinned server, as list_sessions returns it.

tmux capabilities

The selected socket, effective tools, schemas, input literalization, and aggregate authority.

Resource templates4 objects

pane

One pane, as get_pane_info returns it. The id is the pane id, percent-encoded: %1 is %251.

pane content

The visible screen of one pane, as capture_pane returns it. Subscribable on tmux 3.7 and newer; terminal output, so it may hold secrets and untrusted text.

session

One session, as get_session_info returns it. The id is the session id, percent-encoded: $1 is %241.

window

One window, as get_window_info returns it. The id is the window id, percent-encoded: @1 is %401.

Reference configuration
LIBTMUX_TOOLSETS
inspect,manage,execute,teardown

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

Source: libtmux/libtmux-go@338d2475f1e3.

The language API reference documents embedding and implementation types.

Esc
Search in

Type to search.

Reference previewOpen reference