canvasbuilder-mcp
v1.0.0MCP server for Canvas Builder — let AI agents build, refine, publish, and download real multi-page websites.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
link_account Link Canvas Builder account
Start the one-time device-link flow to connect this MCP server to the user's Canvas Builder account. Returns a URL the user must open and approve. After they approve, call link_account_poll with the code. Scopes: sites:build (build/refine/download — default), sites:publish (publish to a live URL), sites:domain (attach custom domains). Request only what's needed.
| Parameter | Type | Description |
|---|---|---|
scopes | array | Permissions to request from the user |
link_account_poll Complete account linking
Poll the device-link flow after the user approves. On success the access token is stored locally (~/.canvasbuilder/token) and all other tools start working.
| Parameter | Type | Description |
|---|---|---|
code * | string | The link code from link_account (e.g. WXYZ-1234) |
whoami Check linked account
Show the linked Canvas Builder account: user id, granted scopes, credit balance, token expiry.
build_site Build a website
Build a complete multi-page responsive website from a plain-language description. Builds run asynchronously and typically take a few minutes — poll get_site_status until status is 'complete'. Costs the linked user's credits (scaled to size/complexity).
| Parameter | Type | Description |
|---|---|---|
description * | string | What to build, in plain language. Include the business/purpose, desired pages or sections, tone, and any color/style preferences. More detail = better results. |
title | string | Short project title (e.g. 'Acme Coffee') |
get_site_status Get site status
Check a build's status. Returns building | complete | error, plus the live URL (if published) and metadata. When complete you can refine, publish, or download.
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The siteId returned by build_site |
includeHtml | boolean | Include the rendered preview HTML (can be large — only request when you need to inspect it) |
refine_site Refine a website
Request changes to an existing site in plain language (e.g. 'Make the hero darker and add a pricing section'). Runs asynchronously — poll get_site_status until 'complete'. Costs credits.
| Parameter | Type | Description |
|---|---|---|
description * | string | The change, described in plain language |
siteId * | string | The site to change |
publish_site Publish a website
Publish a completed site to a live URL at https://<subdomain>.cnvs.site. Requires the sites:publish scope (granted at link time).
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The site to publish |
subdomain * | string | Desired subdomain (e.g. 'acme-coffee') |
attach_custom_domain Attach a custom domain
Attach the user's own domain (e.g. shop.acme.com) to a published site. Requires the sites:domain scope and a paid plan. Returns DNS instructions (an A record); SSL is automatic once DNS propagates.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | The custom domain, e.g. shop.acme.com |
siteId * | string | The published site |
download_site Download site as ZIP
Download the full static site (HTML/CSS/assets) as a ZIP file saved to a local path. Useful for self-hosting or handing off the code.
| Parameter | Type | Description |
|---|---|---|
outputPath * | string | Absolute local file path to save the ZIP, e.g. /tmp/acme-site.zip |
siteId * | string | The site to download |
minify | boolean | false = unminified, human-readable output |