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

resource template MCP

pane content

tmux://panes/{pane_id}/content
resource template

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.

MCP request method
resources/read Send the resource URI shown above.
MIME type
text/plain

URI parameters

Result

Returns resource contents for the requested URI with MIME type text/plain.

Protocol data

Use the complete advertised contract for validation and client integration.

Registration
{
"description": "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.",
"mimeType": "text/plain",
"name": "pane content",
"uriTemplate": "tmux://panes/{pane_id}/content"
}
Esc
Search in

Type to search.

Reference previewOpen reference