StreamifyDocs

MCP Tools Reference

Implemented Streamify MCP tools and their Website Config inputs.

MCP Tools Reference

These names and inputs follow the repository's MCP tool schemas. A websiteId identifies the tenant; websiteConfigId identifies its builder/rendering configuration. Canvas operations use the latter and verify that it belongs to the API key's Website.

ToolRequired inputsOptional inputs / result
list_websitesNoneReturns websites containing websiteId, websiteConfigId, name, slug, status and update time within the key's Website
get_draftwebsiteConfigIdReturns configuration identity, draft presence/data and update time
list_blocksNonecategory; reads the bundled catalogue
add_blockwebsiteConfigId, blockTypeNumeric zero-based position (omit to append), string-valued content fields
remove_blockwebsiteConfigId, nodeIdRemoves that node from the draft
update_block_contentwebsiteConfigId, nodeId, contentcontent is a map of string values
set_themewebsiteConfigIdprimaryColor, backgroundColor, fontPrimary, fontSecondary, borderRadius
save_draftwebsiteConfigIdConfirms the stored draft and its saved time; does not publish
publish_websitewebsiteConfigIdExplicitly publishes valid draft content; requires write permission
create_blockname, slug, category, componentsCreates/updates a Website-owned library block; no websiteConfigId argument

borderRadius accepts none, sm, md, lg, xl, or full. A custom component definition contains a supported Craft type, optional props, and optional nested children. The server converts this composition to the library's Craft representation. Use its advertised schema and block catalogue rather than assuming arbitrary React components are available.

Draft and publication behaviour

Draft mutation tools persist their changes; save_draft confirms an existing stored draft rather than uploading an arbitrary unsaved canvas. Missing/foreign configurations, missing drafts or invalid publish payloads return errors. Editing a draft is separate from publishing it.

The stdio tools call Core POST endpoints under /api/mcp/ using hyphenated route names (for example, get_draft calls /api/mcp/get-draft). Those endpoints enforce read or write permission as appropriate. The bundled list_blocks operation does not call a Core route.

Inspect responses and verify the intended draft/site after a write. Tool availability and a successful transport response alone do not establish visual quality, rights clearance or a customer-approved publication. See setup and key handling.