MCP conceptResources

Choose documentation 3

Concept and alpha: example support scope and release maturity.

v0.1.0.alpha.2

Current version

v0.1.0.alpha.2
English

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

Ruby MCP reference

resource templateMCPv0.1.0.alpha.2

tmux_screen

tmux://{endpoint}/{generation}/panes/{pane_id}/screen
resource template

Capture an exact pane through tmux_capture with its default byte/line bounds, without cursor tracking. Percent-encode pane IDs. Invalid UTF-8 is an application/octet-stream blob; _meta includes capture interval, truncation and unknown history continuity.

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

URI parameters#

  • endpoint#

    Binding
    URI variable
  • generation#

    Binding
    URI variable
  • pane_id#

    Binding
    URI variable

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": "Capture an exact pane through tmux_capture with its default byte/line bounds, without cursor tracking. Percent-encode pane IDs. Invalid UTF-8 is an application/octet-stream blob; _meta includes capture interval, truncation and unknown history continuity.",
"mimeType": "text/plain",
"name": "tmux_screen",
"uriTemplate": "tmux://{endpoint}/{generation}/panes/{pane_id}/screen"
}
Esc

Type to search.

Reference preview Open reference