# mcp.src.TmuxTools

- **Module:** mcp.src
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/lib.rs#L80
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-src-tmuxtools/

A tmux server presented as MCP tools.

## Members

- `new` (method): Expose one tmux server, locating this process within it.
- `builder` (method): Expose one tmux server, saying explicitly where this process is and how much of the surface it may use.
- `offered` (method): The tools this server offers after startup selection.
- `caller_pane` (method): The pane this process runs in, when tmux named a complete identity.
- `caller_is_malformed` (method): Whether the inherited caller context is set but malformed, which makes pane-input and teardown tools refuse every call.
- `get_session_info` (method)
- `get_window_info` (method)
- `get_pane_info` (method)
- `find_pane_by_position` (method)
- `get_tmux_variables` (method)
- `rename_session` (method)
- `rename_window` (method)
- `resize_window` (method)
- `move_window` (method)
- `swap_pane` (method)
- `set_pane_title` (method)
- `set_mouse_enabled` (method)
- `set_history_limit` (method)
- `create_window` (method)
- `split_window` (method)
- `respawn_pane_configured` (method)
- `set_synchronize_panes` (method)
- `send_keys_batch` (method)
- `call_read_tools_batch` (method)
- `kill_window` (method): Kill one window.
- `kill_pane` (method): Kill one pane.
- `create_session` (method): Create a detached session.
- `kill_session` (method): Kill a session and everything in it.
- `resize_pane` (method): Move one edge of a pane.
- `send_keys` (method): Type text into a pane, or press keys in it.
- `select_pane` (method): Move focus to a pane, or to the one beside it.
- `select_window` (method): Move focus to a window, or to the one beside it.
- `select_layout` (method): Arrange a window's panes.
- `clear_pane` (method): Empty a pane's scrollback.
- `paste_text` (method): Deliver text to a pane without typing it.
- `signal_channel` (method): Signal a `wait-for` channel.
- `list_sessions` (method): List every session on the server.
- `list_windows` (method): List every window on the server, one row per session link.
- `list_panes` (method): List every pane on the server.
- `describe` (method): Report the whole hierarchy in one call.
- `capture_pane` (method): Read one pane's contents.
- `snapshot_pane` (method): Report pane state and bounded content in one answer.
- `search_panes` (method): Find which panes are showing something.
- `show_option` (method): Read a tmux option.
- `show_environment` (method): Read the names in a tmux environment, and the values the operator allowed.
- `show_hooks` (method): Read the hooks tmux runs on its own events.
- `run_command` (method): Run a command in a pane and report how it went.
- `wait_for_text` (method): Wait until a pane writes something a caller is looking for.
- `capture_since` (method): Report what a pane has written since the last look.
- `wait_for_channel` (method): Wait for a `wait-for` channel to be signalled.
