# mcp.policy.Builder

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

Assembles a [`TmuxTools`] with the parts the environment usually supplies.

## Members

- `environment_values` (method): Allow tools to return the values of these tmux environment variables.
- `caller` (method): Say where this process is running, rather than reading the environment.
- `selection` (method): Choose the startup-frozen unordered tool surface.
- `socket_provenance` (method): Record only the socket/configuration provenance startup established.
- `build` (method): Build the server with its startup-frozen tool selection.
- `try_build` (method): Build the server after validating every named tool against the manifest.
