Skip to main content

Module registry

Module registry 

Source

Structs§

ToolRegistry
Central registry mapping tool names to their trait-based handlers. Every tool is trait-based and resolved here; the earlier match-cascade dispatch has been fully retired.

Functions§

build_registry
Register all trait-based tools. Called once during server startup. New tools are added here as their McpTool implementation lands.
tool_count
Number of registered MCP tools — the single source of truth for the “N MCP tools” count shown in --help, the README, and the feature catalog. Deriving it here means the count can never drift from the actual registry.