# Resources

Source: https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/resources/

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

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

MCP concept example

Maintained as a working example of core library usage and deployment. Example APIs, tools and configuration may change without a compatibility or product support commitment.

[What concept means](https://libtmux.org/en/tmux/guides/concept-examples/)

The reference configuration advertises 3 resources and resource templates. Your server’s available objects depend on its configuration. [Setup documentation](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/guides/) explains how to connect a client.

## Resource templates3 objects[#](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/resources/#resources-resource-templates)

[tmux​_metadata](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/resources/templates/tmux_metadata/)

Acquire metadata through [tmux_snapshot](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/tools/tmux_snapshot/) with its default page limit. Encode every URI component; generation must match discovery. Reports capture interval and truncation.

[tmux​_metadata​_page](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/resources/templates/tmux_metadata_page/)

Read a retained [tmux_snapshot](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/tools/tmux_snapshot/) page without refreshing it. Encode the cursor component; endpoint, generation and entity must match its captured query.

[tmux​_screen](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/resources/templates/tmux_screen/)

Capture an exact pane through [tmux_capture](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/tools/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.

Reference configuration

* `mode`

  `explicit CLI options`

* `tools`

  `tmux_capabilities,tmux_snapshot,tmux_capture,tmux_wait,tmux_create,tmux_send,tmux_close,tmux_run`

Protocol version: `2025-11-25`. [Download the full protocol catalog](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/tools.json).

Source: [`libtmux/libtmux-ruby@dcc9f8b5a697`](https://github.com/libtmux/libtmux-ruby/tree/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372).

The [language API reference](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/reference/) documents embedding and implementation types.

Source revision: [libtmux/libtmux-ruby@dcc9f8b5a6970144a9e7d80cd5f381d8f6198372](https://github.com/libtmux/libtmux-ruby/tree/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372).
