Every ChaiBuilder deployment includes a built-in MCP server at /api/mcp. Your onboarding team and your customers can connect Claude, Cursor, VS Code, or any MCP client to find, edit, translate, and audit pages using their exact user permissions. Every change saves as a draft for human review, with no third-party cloud in between.

Real tasks your onboarding team and customers can hand to an AI agent on a ChaiBuilder site.
“Build a seasonal catering page from this brief using our custom menu blocks.”
“Find every page on this site with a missing meta description and draft the fixes.”
“Translate the Services and About pages into Spanish and German.”
“Pull this week's featured listings using our custom inventory tool and update the homepage hero.”
“We moved /services/dental-implants to /implants. Set up the redirect.”
“What changed on the Pricing page since Tuesday? Restore the previous version.”
An agent is not a superuser. It runs through the exact same permission checks, draft workflow, and revision history as the visual builder.
Each user connects with their own personal API key. Every MCP tool requires the same RBAC permission as the matching action in the visual builder, and tools the user is not allowed to run are hidden from the agent.
Connecting an AI agent is gated by its own permission key. You can let a customer edit visually in the builder without allowing them to connect an external agent.
Content, block, SEO, and translation edits always land in the page's draft state with a preview link, and the agent is instructed to ask before publishing.
While an agent edits a page, the visual builder marks that page "AI is editing" and opens it read-only. Conversely, if a person already has a page open in the builder, the agent's write is refused so no one ever loses work.
Enable designSystem on the MCP plugin to check every block an agent writes against your site's typography, color, and layout rules before it lands.
Every agent edit is tagged in page revision history for one-click rollback, and your app can log every tool call (user, page, tool, duration, and outcome with secrets redacted) via the onToolCall hook.
The 33 built-in MCP tools handle pages, blocks, SEO, translations, redirects, and revisions. Your engineers can register custom MCP tools right alongside your custom React blocks.
Let an agent look up a customer's live inventory, property listings, staff bios, or appointment availability while drafting a page.
Expose validated backend actions you already wrote for the visual builder so agents can invoke them under the same permission checks.
Provide custom agent instructions and design rules tailored to your vertical so every page an agent drafts follows your platform's best practices.
Your customer's agent connects to a third-party vendor's cloud, under the vendor's rate limits and terms, to edit content stored in the vendor's database.
An agent writes raw source code that still has to be reviewed, compiled, built, and deployed through CI/CD before a single text change goes live.
The MCP endpoint (/api/mcp) runs inside your own Next.js deployment and writes structured JSON drafts directly into your own PostgreSQL or SQLite database. When approved, publishing is live instantly with no build or deploy.
Because the model runs inside the user's own AI client and talks directly to your self-hosted /api/mcp endpoint, ChaiBuilder charges no AI credits and no per-agent fees. The MCP server is included in every Pro license.
Because MCP lets external agents write drafts to your sites, it is opt-in: register the MCP plugin, enable user API keys, and add the route handler once in your Next.js app.
Any user granted the mcp:use permission creates an API key in their profile. That key carries their exact identity and site permissions.
Paste the site's MCP URL and personal API key into the AI client and start drafting pages.
Yes. Every Pro license includes the built-in MCP server, all 33 built-in tools, custom MCP tool registration, and the opt-in Design System for Agents at no extra cost.
Edits to page content, SEO, and translations always save as a draft first, and the agent is instructed to return a preview link and ask for human confirmation before publishing. If you want to prohibit agents from publishing altogether, simply withhold the publish permission from that user role or omit the publish tool in your config.
It is enabled in new starter deployments, and on existing projects a developer switches it on once in code so you stay in full control of when agent access is opened.
Directly between your self-hosted /api/mcp endpoint and the AI client the user connected (such as Claude or Cursor). ChaiBuilder never sits in the middle or sees your traffic.
Yes. The MCP endpoint is stateless and runs cleanly on serverless Next.js hosts as well as standard Node or Docker servers.
Book a 30-minute demo to see the built-in MCP server, custom data tools, and draft-approval workflow in action.

The website builder for agents and humans. Owned by you. The website module for platforms and agencies that run many sites, self-hosted on Next.js.
© ChaiBuilder. All rights reserved.