# io.github.libtmux.mcp.TmuxMcpServer.TmuxMcpServer

- **Module:** io.github.libtmux.mcp.TmuxMcpServer
- **Package:** libtmux-mcp
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux-mcp/src/main/java/io/github/libtmux/mcp/TmuxMcpServer.java#L31
- **Page:** https://libtmux.org/en/java/latest/mcp/reference/io-github-libtmux-mcp-tmuxmcpserver-tmuxmcpserver/

Exposes a tmux server to a model over the Model Context Protocol.

Thin by design. What the tools do lives in {@link Catalog} and the classes it names, which is
what gets tested against real tmux; this class describes them to a client and turns their answers
into protocol.

The SDK dispatches synchronous handlers on its bounded worker scheduler, not the transport I/O
thread. Core operations remain typed and synchronous; wait and channel operations retain their
own cancellation and timeout contracts.

## Members

- `overStdio` (method): Serves a tmux server over stdin and stdout, which is how an MCP client launches a tool.
- `serving` (method): Serves a tmux server over a caller-supplied transport.
