# Ruby MCP API reference

Source: https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/reference/

> Public libtmux-mcp embedding types and methods.

**MCP concept example** Maintained as a working example of core library usage and deployment. Example APIs, tools and configuration may change without a compatibility or product support commitment.

Require `libtmux/mcp` to embed the server. Imports start no tmux process,
scheduler, or protocol transport. [`Application`](<https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/reference/libtmux-mcp-application/>) borrows an
application-owned [`LibTmux::Async::Server`](<https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-async-server/>); its SDK server and stdio transport
remain on that application's reactor thread.

The declarations below come from the public Ruby inventory, enriched with RBS
signatures, YARD documentation, behavior contracts, and source coordinates at
the selected revision.

## API declarations

- [LibTmux::MCP](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/reference/libtmux-mcp/)

[Protocol catalog](https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/tools.json)
