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.

MCP: API Reference

mcp.server.main

async function main(): Promise<void>

Serve until stdin or the protocol closes, then join the backend.

tmux command#

The tmux commands behind main.

display-message (unless an explicit launch finds no server) list-sessions (an explicit launch) show-options (a minimal launch, no explicit selection) start-server (a minimal launch, no explicit selection)

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference