mcp_tools consumer 0.1.0-alpha.10 · Source
For MCP client requests, use the tool reference. This page covers language APIs for embedding or extending the server.
The installed product is libtmux-mcp-server. Its public MCP operations
are available through the protocol. The C++ tool model lives in a source
consumer and is not exported by the installed core package.
Consumer APILink to section
libtmux::mcp::default_tools() returns an expected value containing a ToolRegistry or an error.
tools() enumerates definitions, find() looks up a name, and
call() invokes a handler against a Server with named arguments
and an optional CallContext.
ToolResult is an expected value containing structured output or a
ToolError. CallContext provides cooperative cancellation and
progress callbacks. ToolDefinition describes parameters, output shape, and
effect annotations independently of a JSON library.
Consumer declarations and build target.
Protocol APILink to section
The tool reference covers registered names and schemas.
Toolsets and exact names filter the catalog at startup. The static
tmux://capabilities resource reports that selection. The server has no
workflow prompts or dynamic resource templates.
Successful tool calls return matching structured content and serialized JSON text. Strict argument validation precedes tmux execution. Protocol tests cover supported lifecycle revisions and result shapes.
Workspace builder API documents a separate source consumer; it is not a workspace operation in this MCP catalog.
API declarations
Follow a declaration for its signature, members, documentation, and source.
Exports
libtmux::mcp::ArgumentMaplibtmux::mcp::Argumentslibtmux::mcp::ArgumentTypelibtmux::mcp::CallContextlibtmux::mcp::configured_toolslibtmux::mcp::default_toolslibtmux::mcp::Effectlibtmux::mcp::FlatArgumentslibtmux::json_wire::from_jsonlibtmux::mcp::Handlerlibtmux::mcp::InputControllibtmux::mcp::InputSinklibtmux::json_wire::is_known_fieldlibtmux::mcp::kConservativeAnnotationslibtmux::json_wire::kind_fromlibtmux::json_wire::kSchemaVersionlibtmux::json_wire::name_oflibtmux::mcp::NestedAuthoritylibtmux::mcp::OutputClasslibtmux::mcp::OutputShapelibtmux::mcp::Parameterlibtmux::mcp::parse_tool_selectionlibtmux::mcp::ProcessReachlibtmux::mcp::ReadToolCalllibtmux::mcp::Sinklibtmux::mcp::StructuredValuelibtmux::json_wire::to_jsonlibtmux::mcp::ToolAnnotationslibtmux::mcp::ToolAuthoritylibtmux::mcp::ToolDefinitionlibtmux::mcp::ToolErrorlibtmux::mcp::ToolOutputlibtmux::mcp::ToolRegistrylibtmux::mcp::ToolResultlibtmux::mcp::ToolSchemalibtmux::mcp::ToolSelectionlibtmux::mcp::Toolset