MCPconceptAPI reference

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. 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

LibTmuxMCP.serve

Methods

Serve the application's tools using the admitted MCP stdio profiles. This call owns and closes both streams and app, including after EOF, cancellation or failure. It joins request work before cleaning up application-owned sessions. Protocol output is serialized; tool logs use the supplied task-local logger. The borrowed tmux daemon and pre-existing sessions remain caller-owned.

serve(app; input=stdin, output=stdout, workers=4, capacity=16, logger=...)
Parameters
Esc
Search in

Type to search.

Reference previewOpen reference