# mcp.policy.Builder.try_build

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

```
mcp.policy.Builder.try_build(self) -> Result<TmuxTools, SurfaceError>
```

Build the server after validating every named tool against the manifest.

# Errors

Returns an error if the native routes or requested selection are invalid.
