libtmux_mcp.middleware.ToolsetMiddleware
- Bases:
- Middleware
Filter tools to the enabled toolsets.
Description#
Filtering controls which MCP tool calls this server advertises and accepts. It does not confine tmux: an enabled
executetool can type the equivalent of any hidden tool.
Members3#
- __init__ method
- on_list_tools method Drop tools outside the enabled surface from the listing.
- on_call_tool method Refuse a tool outside the enabled surface.