How-to guides
Build Websites with MCP: Get Your AI Assistant to Do the Work
Learn how to build websites with MCP using an AI assistant that works inside your page builder. Step-by-step instructions for setup, creation and troubleshooting.

You can use an AI assistant to build and manage a website inside your page builder account, no code needed. The Model Context Protocol (MCP) connects the two. Set up an MCP server once, connect your assistant, then ask for what you want in plain English.
This guide shows the full process. You will learn what an MCP server is, how to connect it, and the exact steps to create a website with it. We cover what to do when things go wrong, then point you to practical next steps.
What Building Websites with MCP Looks Like
An MCP server is a bridge between an AI assistant and your page builder account. Once it is running and your assistant is connected, the assistant can take real actions in your account: create a site, publish pages into it, choose a home page and more. No copying and pasting. No tab switching to check if it worked. You give an instruction and the assistant makes the change.
It works with assistants you may already use: Claude.ai, ChatGPT, Claude Code, Claude Desktop, Cursor and n8n. You connect by adding the server URL in your assistant's MCP settings, then signing in with your account. From there, the assistant can manage your sites and pages through a defined set of tools.
A typical session looks like this:
- You type "create a new site called Sunset Yoga Studio and publish the page I just built into it."
- The assistant calls the tools it needs and replies "Done. The site is live at the address you set, with that page as its home page."
You stay in one chat window and give instructions in plain language.
Step by Step: How to Build a Website with MCP
This process assumes you already have a page builder account. The steps are the same if you are building a single page for a webinar, a multi-page site for a small business, or a set of sites for clients.
1. Add the MCP server to your AI assistant
Every assistant adds an MCP server a little differently, but the details are similar.
Open your assistant (for example, Claude Desktop or Cursor) and find its MCP settings. Look for Integrations, MCP or Tools. You need the place where you can add a server.
Add the server using the URL your page builder gives you. In Leadpages, pick the assistant you use, then copy its server URL from your account settings. You may also paste a JSON configuration block that includes the server name and URL. The exact format is in the assistant's MCP docs.
After you add the server, sign in with your page builder account. This links your assistant so it can act on your behalf. Sign in once. The connection stays until you remove the server or sign out.
For setup steps for Claude, ChatGPT and Cursor, see the official connection guide.
2. Create a new site
Open a chat with your assistant. Before you ask it to build a site, decide:
- The site name. This is the internal name you see in your account, not always the public domain.
- A favicon if you have one. The assistant can set it on the site.
- Which page will be the home page.
Ask the assistant to create the site. Keep it simple: "Create a new site called Metro Diner Promo."
The assistant confirms when the site is created. If you check your page builder account, you will see the new site. It is empty for now, which is fine.
3. Publish pages into the site
A site is a group of pages that share one address. Without pages in it, the site is just a container.
If you already have pages, ask the assistant to move them into the new site: "Move the 'Weekly Special' page and the 'About Us' page into the Metro Diner Promo site."
If you need new pages, ask the assistant to create them. In Leadpages, the assistant writes the HTML for each page and a brand kit can keep pages in a site consistent. Try: "Create a new page called 'Contact' with a simple form and publish it to Metro Diner Promo." The assistant writes and publishes the page in one step.
Since the assistant works with HTML, you can ask for specifics: exact colours, a layout, or form fields. The clearer your request, the closer the result will match what you want.
4. Choose the home page and set site details
Every site needs a home page. That is the first page visitors see on your domain.
Ask the assistant to set it: "Make the 'Weekly Special' page the home page of Metro Diner Promo." The assistant updates the setting.
Now set your favicon if you have one: "Set the Metro Diner Promo favicon to this file." Attach the image and the assistant handles it. A favicon is small, but it completes the site and helps people spot your tab among many.
5. List and manage your sites
As you build more sites, keep track of them. Ask the assistant to list what exists: "List all my sites" or "Show me which pages are in Metro Diner Promo."
This helps when you manage sites for several clients. A quick list shows how many sites you have, their names and which pages each holds. You can rename a site too: "Rename the Metro Diner Promo site to Metro Diner Spring Campaign." The assistant updates the name and you move on.
6. Edit pages as your needs change
Websites change. You update offers, messaging and add new campaign pages.
Because the assistant edits each page’s HTML, you can request precise changes: "On the Weekly Special page, change the headline to 'Spring Menu Is Here' and update the offer to a free appetiser." The assistant edits the page and the change goes live.
If you prefer to keep the original intact, ask the assistant to publish a fresh version of the page and use that going forward.
7. Use a brand kit to keep pages consistent
When a site has several pages, consistency matters. Use the same fonts, colours and button styles across pages. That is what a brand kit is for.
In Leadpages, a brand kit stores your visual settings and the assistant can apply them to every page in a site. You do not have to repeat "use our brand colours" each time. The assistant uses the kit and the pages look like they belong to the same business.
Tell the assistant which brand kit to use once, usually when you create the site, and let that setting carry across new pages.
Common Problems and How to Fix Them
Building websites with MCP is straightforward, but a few things can trip you up. Here is what you might see and how to fix it.
The assistant cannot see my sites or pages
This usually means the connection is not set up right. Check two things. First, confirm the MCP server is running and that you signed in with your account in the assistant's MCP settings. Second, restart the chat and try "List my sites." If it still cannot see anything, remove the server, add it again, and sign in. This fixes most visibility issues.
I asked for a site but it was not created
Read the assistant's reply. If it says "I can create a site but I need you to name it first," your instruction was too vague. Try: "Create a new site called Riverbend Bakery." If the assistant reported success but you do not see the site, wait a moment and refresh your dashboard. In some cases, a second attempt with the same wording works.
Pages are in the wrong site or one page is missing
Ask the assistant to move pages: "Move the 'Hours' page into Riverbend Bakery." This is a simple tool call. If a page seems missing, ask the assistant to list pages in each site. You may have published the page to a different site by accident, and the list shows where it is.
The home page is wrong or missing
This is a fast fix. Tell the assistant which page to use: "Make the 'Menu' page the home page of Riverbend Bakery." The change is immediate. If no home page is set, visitors may see an error or a blank page. Set it as soon as you publish at least one page into the site.
The assistant's HTML page looks off
When an assistant writes HTML, it guesses based on your description. If something is off, be specific about what you see and what you want: "On the Menu page, make the background white instead of grey and increase the font size on the menu items." If the page is not using your brand kit colours, tell the assistant which brand kit to use.
A landing page analyzer can spot issues you might miss. It scores clarity, layout and conversion factors. Run your new page through it after the assistant publishes it.
What to Do Next
You now have a site, pages in it and an assistant that can manage them. The next step is to make those pages better at their job: turning visitors into leads, sign-ups or customers.
Start with your headline. A free headline analyzer scores it for clarity, emotion and structure. Good pages can have weak headlines, and stronger ones often improve results.
Next, check your call to action. If the button says "Submit", you can do better. Use a CTA generator for sharper options, then ask your assistant to update the page.
If you plan to run a test between two versions of a page, an A/B test calculator tells you when your results are statistically meaningful. Do not guess. Do the maths.
For a deeper look at what a connected assistant can do, read the MCP server documentation. It lists the full set of tools and gives you prompt ideas beyond the basics here.
When you are ready to build more pages, browse the landing page template gallery for starting points. Pick one, publish it, then ask your assistant to move it into a site and customise it.