# mcp.views.SessionView

- **Module:** mcp.views
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/views.rs#L19
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-views-sessionview/

One session, as the protocol sees it.

## Members

- `id` (attribute): The `$`-prefixed tmux identity.
- `name` (attribute): The session name, absent when tmux reported none.
- `windows` (attribute): How many windows the session holds.
- `attached` (attribute): Whether any client is attached.
