Built-in catalog discovery tool.
Lets agents discover all registered MCP items, including those hidden from normal listings. Register it on a server with:
tool Noizu.MCP.Server.Tools.Catalogor, to keep the catalog itself out of tools/list:
tool Noizu.MCP.Server.Tools.Catalog, hidden: trueHidden items never appear in tools/list / prompts/list / resources/list
responses, but remain callable by name via tools/call, prompts/get, and
resources/read. The catalog gives agents the full wire definitions
(including input schemas) they need to do so.
Arguments
type—"tools"|"prompts"|"resources"|"resource_templates"|"all"(default)query— optional case-insensitive substring filter applied to name, description, and URIcategory— optional exact (case-insensitive) match on the category label; applies only to entries that carry one (tools declared withcategory:), all others are dropped from the resultinclude_hidden—true(default) to include hidden items;falsefor visible-only
Result
Structured content with one key per requested section. Each entry is the
item's full wire definition plus a "hidden" boolean; tool entries also
carry a top-level "category" when one was declared:
%{
"tools" => [%{"name" => "echo", "inputSchema" => %{...}, "hidden" => false,
"category" => "Utility"}, ...],
"prompts" => [...],
"resources" => [...],
"resource_templates" => [...]
}Only works against servers whose registries come from the tool/prompt/
resource/resource_template DSL macros (it reads server.__mcp__/1).