Documentation
¶
Overview ¶
Command mcp-tools-export introspects the per-agent MCP catalog (internal/mcphost.NewServer) over an in-memory MCP transport and exports the full tool list as a structured JS data island consumed by the sites docs page (sites/dev/<ver>/mcp-tools.gen.js → window.__MCP_TOOLS__).
The tool NAMES, one-line SUMMARIES and PARAMETERS come straight from the live registry (ListTools → Name/Description/InputSchema), so the docs never drift from code — re-run after changing a tool and the page updates. The only curated bit is the domain grouping (toolDomain below); a tool missing from it lands in "Uncategorized" and prints a warning so a newly-added tool is noticed.
go run ./cmd/mcp-tools-export -out sites/dev/v2.10.3/mcp-tools.gen.js
or via `make gen-mcp-docs`.
Click to show internal directories.
Click to hide internal directories.