Skip to main content

Build Custom Pages with an AI Assistant

Create custom pages from HTML and update them with an AI assistant connected to Gradual through MCP.

You can use an AI assistant connected to Gradual through MCP to create custom pages from HTML and update them. This is useful when a page is written outside Gradual — for example, by a design tool or another system — and you want to publish it in your community.

Before you get started

You need:

What your assistant can do

  • List your community’s custom pages

  • Read a custom page’s HTML

  • Create a custom page

  • Replace a custom page’s HTML

Your assistant works with community custom pages only. It can’t change your homepage, built-in pages, club custom pages or course lessons.

Create a page

For example:

  • Create a custom page called “Partner Program” with this HTML: …

Your assistant creates the page as an unpublished draft with a single HTML block, and gives you a link to open it in the page builder. Review it there and publish it when it’s ready. Nothing goes live until you publish.

New pages are public unless you ask for a different access setting. You can also ask for the page to be visible to all members or only to selected spaces. In a sign-in-only community, a page can’t be public. A community can have up to 25 custom pages.

Update a page

Your assistant can replace the HTML of a page it can edit. The change is saved as a draft; publish it from the page builder.

Your assistant can read and edit a page only if it’s made of a single HTML block. For a page that uses other page builder elements, such as a Hero or Split Section, it gives you a link to edit the page in the page builder instead.

If someone has unpublished changes to the page in the dashboard, your assistant won’t overwrite them unless you tell it to. It will let you know and give you the page builder link instead.

What happens to your HTML

Gradual cleans HTML before saving it, the same way in the page builder and through MCP. Scripts, event handlers such as onclick, forms and password fields are removed. Images, videos and iframes must load over https://. Your assistant tells you what was removed.

Styles, web fonts loaded over https://, and embeds such as YouTube videos and form tools are kept.

Each HTML block can hold up to 200 KB.

What this does not cover

Your assistant can’t publish pages, delete them, or edit pages made of other page builder elements. Do these in the dashboard.

Did this answer your question?