# Resources

Source: https://libtmux.org/en/ruby/v0.1.0.alpha.3/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

A working example of the core library. It can change without notice.

[What concept means](https://libtmux.org/en/meta/support/#concept-and-alpha)

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.3/mcp/guides/) explains how to connect a client.

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

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

Acquire metadata through [tmux_snapshot](https://libtmux.org/en/ruby/v0.1.0.alpha.3/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.3/mcp/resources/templates/tmux_metadata_page/)

Read a retained [tmux_snapshot](https://libtmux.org/en/ruby/v0.1.0.alpha.3/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.3/mcp/resources/templates/tmux_screen/)

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

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

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

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