MCPconceptAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

MCP: API reference

io.github.libtmux.mcp.TmuxMcpServer

class io.github.libtmux.mcp.TmuxMcpServer

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

Description

Thin by design. What the tools do lives in 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.

Guides

task material

Pages that discuss TmuxMcpServer.

Members2 members

  • overStdio Serves a tmux server over stdin and stdout, which is how an MCP client launches a tool.
  • serving Serves a tmux server over a caller-supplied transport.
Esc
Search in

Type to search.

Reference previewOpen reference