# sessions

Source: https://libtmux.org/en/go/latest/mcp/resources/sessions/

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

**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)

* `tmux://sessions`

  resource

  Every session on the pinned server, as [list_sessions](https://libtmux.org/en/go/latest/mcp/tools/list_sessions/) returns it.

  * MCP request method

    `resources/read` Send the resource URI shown above.

  * MIME type

    `application/json`

  ## URI parameters

  Read this resource using its fixed URI.

  ## Result

  Returns resource contents for the requested URI with MIME type `application/json`.

  ## Protocol data

  Use the complete advertised contract for validation and client integration.

  Registration

  ```json
  {
    "description": "Every session on the pinned server, as list_sessions returns it.",
    "mimeType": "application/json",
    "name": "sessions",
    "uri": "tmux://sessions"
  }
  ```

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