Hanzo AI
OpenapiTool

Sync catalog

Pulls the public MCP registry into our canonical copy and reports what changed. SuperAdmin only; every other caller is refused.

POST /v1/tool/catalog/sync

Addresshttps://api.hanzo.ai/v1/tool/catalog/sync
MethodPOST
Operationpost_tool_catalog_sync
AuthAuthorization: Bearer $HANZO_API_KEY

Pulls the public MCP registry into our canonical copy and reports what changed. SuperAdmin only; every other caller is refused.

It is IDEMPOTENT: a listing is keyed by the publisher's own reverse-DNS name, so a second pass over an unchanged registry rewrites the same rows and reports added=0, updated=0. It never deletes — a listing that vanishes upstream may be one an org has already enabled, and dropping its description would not drop its server. And it never touches CURATION: hidden, featured, an admin-set official and a logo survive every sync, because the write does not name those columns.

Request

The document declares no body for POST /v1/tool/catalog/sync. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask MCP's describe for post_tool_catalog_sync, which answers from the running route.

Response

StatusBodyMeaning
200tool.mcpCatalogSyncok
defaultproblem-detailsrefused

200 body — 4 fields.

FieldInTypeAlwaysDescription
addedbodyinteger (int64)Added is how many listings the catalog did not have before.
registrybodystringRegistry is the upstream this pass read.
totalbodyinteger (int64)Total is how many listings the catalog holds now.
updatedbodyinteger (int64)Updated is how many the publisher has changed since we last looked.

Failure carries the platform error shape — see Errors.

Examples

hanzo tool catalog sync

Tool API · All Hanzo APIs · Interactive reference

How is this guide?

On this page