tavily_fastmcp.tools.catalog

Catalog tool registration.

Purpose:

Register the structured catalog tool that exposes server metadata.

Design:
  • Return the same structured catalog model used by resource endpoints.

  • Keep client discovery deterministic and idempotent.

Functions

register_catalog_tool(→ None)

Register the tavily.catalog MCP tool.

Module Contents

tavily_fastmcp.tools.catalog.register_catalog_tool(mcp: Any, *, catalog: tavily_fastmcp.models.ServerCatalog, package_version: str) None[source]

Register the tavily.catalog MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • catalog – Structured server catalog.

  • package_version – Package version string.

Returns:

None.