Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

io.github.libtmux.mcp.TmuxMcpServer.TmuxMcpServer

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

class io.github.libtmux.mcp.TmuxMcpServer.TmuxMcpServer
classreadonly [source]
classreadonly [source]
class 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 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.

Discussed in Java MCP API

Members

overStdio

overStdio ( server : Server ) → McpSyncServer
methodstatic [source]
methodstatic [source]
overStdio

Serves a tmux server over stdin and stdout, which is how an MCP client launches a tool.

Discussed in Java MCP API

serving

serving ( server : Server , transport : McpServerTransportProvider ) → McpSyncServer
methodstatic [source]
methodstatic [source]
serving

Serves a tmux server over a caller-supplied transport.

The returned server owns the transport. Ownership transfers on entry, so failed startup closes it too.

Discussed in Java MCP API

Esc

Type to search.