MCPpre-alphaAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

libtmux_mcp.resources.hierarchy.register_completions

libtmux_mcp.resources.hierarchy.register_completions ( mcp: FastMCP, ) → None

Answer argument completion for the tmux:// templates.

Description#

The templates take live tmux identifiers, which a reader cannot guess and the template listing does not carry — MCP publishes only the URI template itself, never its parameter domain. A completion handler is the protocol's way to offer them.

Agent clients do not send completion/complete; human-facing hosts (the MCP Inspector's UI, VS Code) do, which is who this serves.

Parameters
Esc

Type to search.

Reference preview Open reference