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.
| Tool | Required inputs | Optional inputs / result |
|---|---|---|
list_websites | None | Returns websites containing websiteId, websiteConfigId, name, slug, status and update time within the key's Website |
get_draft | websiteConfigId | Returns configuration identity, draft presence/data and update time |
list_blocks | None | category; reads the bundled catalogue |
add_block | websiteConfigId, blockType | Numeric zero-based position (omit to append), string-valued content fields |
remove_block | websiteConfigId, nodeId | Removes that node from the draft |
update_block_content | websiteConfigId, nodeId, content | content is a map of string values |
set_theme | websiteConfigId | primaryColor, backgroundColor, fontPrimary, fontSecondary, borderRadius |
save_draft | websiteConfigId | Confirms the stored draft and its saved time; does not publish |
publish_website | websiteConfigId | Explicitly publishes valid draft content; requires write permission |
create_block | name, slug, category, components | Creates/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.