MCPconceptGuides

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.

Edit this page on GitHub

Go MCP guides

github.com/libtmux/libtmux-go/mcp · Source

Let your MCP client start libtmux-mcp as a subprocess. The connection guide covers installation, a dedicated server, and selecting an existing socket.

Install the command

Build the executable with Go 1.26 or newer and run it with tmux 3.3a or newer. Follow the installation steps, or use the complete client example to install into an isolated project directory.

Inspect the selection

The launcher’s -tools report checks whether the selected tmux server is answering, without starting it. Use the client’s socket and environment when checking the configuration.

Connect a client

Configure one socket and the tools you need in the client’s startup environment. Keep stdout available for MCP messages; read startup errors in the client’s stderr log. Use the startup checks when a connection fails.

Esc

Type to search.

Reference previewOpen reference