canvasbuilder-mcp
v1.0.0MCP server for Canvas Builder — let AI agents build, refine, publish, and download real multi-page websites.
MCP server for Canvas Builder — let Claude (or any MCP client) build, refine, publish, and download real multi-page websites from plain-language descriptions. Add to your MCP config (claude_desktop_config.json or .mcp.json): Ask your assistant to *"link my Canvas Builder account"*. It will give you a URL — open it, sign in (free accounts work), and approve the requested permissions. That's it: the token is stored locally at ~/.canvasbuilder/token (mode 600) and never shown to the model.
Summary extracted from the README.
canvasbuilder-mcp
MCP server for Canvas Builder — let Claude (or any MCP client) build, refine, publish, and download real multi-page websites from plain-language descriptions.
You: "Build me a landing page for my coffee subscription startup"
Claude: *builds a complete responsive website, shows you the live preview,
publishes it to acme-coffee.cnvs.site*
Quick start
Claude Desktop / Claude Code
Add to your MCP config (claude_desktop_config.json or .mcp.json):
{
"mcpServers": {
"canvasbuilder": {
"command": "npx",
"args": ["-y", "canvasbuilder-mcp"]
}
}
}
First run: link your account
Ask your assistant to "link my Canvas Builder account". It will give you a
URL — open it, sign in (free accounts work), and approve the requested
permissions. That's it: the token is stored locally at ~/.canvasbuilder/token
(mode 600) and never shown to the model.
Alternatively, set the CANVASBUILDER_TOKEN environment variable if you
already have an agent token.
Tools
| Tool | What it does |
|---|---|
link_account |
Start the one-time consent flow (returns a URL/QR for the user) |
link_account_poll |
Complete linking after the user approves |
whoami |
Show linked account, scopes, credit balance |
build_site |
Build a complete website from a description (async, 2–6 min) |
get_site_status |
Poll a build; returns status + preview |
refine_site |
Change anything with a sentence ("make the hero darker…") |
publish_site |
Publish to a live *.cnvs.site URL |
attach_custom_domain |
Connect your own domain (DNS instructions returned) |
download_site |
Save the full static site as a ZIP |
Permissions model
Access is scoped, revocable, and user-approved:
sites:build— build, refine, download, read status (default)sites:publish— publish to a live URL (opt-in)sites:domain— attach custom domains (opt-in)
The user approves the exact scopes at link time and can revoke the connection anytime from their Canvas Builder account. Tokens expire after 90 days. Every action is audit-logged.
Credits
Builds consume the linked user's Canvas Builder credits (new accounts get free credits to start). If the balance runs out the API returns a clear "insufficient credits" error — the user can top up at canvasbuilder.co/credits.
Links
- Agent API docs: https://agents.canvasbuilder.co
- OpenAPI 3.1 spec: https://agents.canvasbuilder.co/agents-openapi.yml
- Canvas Builder: https://canvasbuilder.co
License
MIT