MCPconceptTopics

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 topics

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

The server selects one tmux endpoint and freezes its offered tools at startup. These choices determine what the connected client can call.

Select tools

Use inspect for hierarchy and terminal reads, manage for topology changes, and execute for input and command execution. Select teardown when removal is needed. Tool selection explains defaults, individual names, exclusions, and the distinction between missing and failing tools.

Observe a command

run_shell_command waits for a bounded command and reports completion separately from its exit status and captured output. A timeout does not establish that the command stopped. Read Waits and output before deciding whether to submit more input to that pane.

Resources and prompts

tmux://capabilities reports the startup endpoint and effective tools. Its payload is static; use tools to read live hierarchy and terminal state. The server offers no workflow prompts, dynamic resource templates, or detached job handles. The module contract describes the resource and capability metadata.

Esc

Type to search.

Reference previewOpen reference