# libtmux_mcp.server.build_mcp_server

- **Module:** libtmux_mcp.server
- **Package:** libtmux-mcp
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux-mcp/blob/4daddc0dfca96c43bf521d818bf91564e1434760/src/libtmux_mcp/server.py#L474
- **Page:** https://libtmux.org/en/py/latest/mcp/reference/libtmux_mcp-server-build_mcp_server/

```
libtmux_mcp.server.build_mcp_server() -> FastMCP
```

Build and return the registered production FastMCP server.

This factory is used by ``fastmcp.json`` so FastMCP's CLI can inspect
or run the same populated server that the ``libtmux-mcp`` console
script starts.
