Skip to content
  • There are no suggestions because the search field is empty.

Connecting an AI agent to B12's MCP server

Use B12's remote MCP server to let Claude and other MCP-compatible AI tools build websites and web apps on your behalf.

Written by: Aditya B.

Last updated: 23 Jul., 2026

The Model Context Protocol (MCP) is an open standard that lets AI assistants connect directly to external tools and services. B12 hosts a remote MCP server that exposes B12's website generation to any MCP-compatible AI client, so you can create B12 websites from within the AI tools you already use, without writing custom integration code.

What the B12 MCP server does

Once connected, your AI client can use the B12 MCP server to:

  • Generate a complete, editable website from a short prompt (name, description of the project)
  • Return a link to the generated site so you can preview, refine, and publish it on B12

The AI client sends requests to B12's server; B12 handles the actual site creation and hosting. You don't need to manage any infrastructure yourself.

Before you begin

You'll need:

  • An MCP-compatible AI client (such as Claude, Cursor, or Windsurf)
  • The B12 MCP server URL: https://mcp.b12.io/mcp

Connecting Claude

Claude supports remote MCP servers through custom connectors. To add the B12 MCP server:

  1. In Claude, go to Settings > Connectors.
  2. Click the + button, then select Add custom connector.
  3. Enter https://mcp.b12.io/mcp as the remote MCP server URL.
  4. Click Add to finish.

Once added, enable the connector for a specific conversation using the + button in the lower left of the chat window, then toggling it on under Connectors.

Note: On Claude Team or Enterprise plans, only an Owner can add the connector at the organization level first (Organization Settings > Connectors > Add > Custom > Web). Individual members then connect to it from their own Settings > Connectors.

Free Claude accounts are limited to one custom connector at a time, so you may need to remove an existing custom connector before adding B12's.

Connecting other MCP-compatible clients

Other AI tools that support remote MCP servers, such as Cursor and Windsurf, follow a similar pattern: look for an MCP or Connectors section in the client's settings, add a new server, and enter the B12 MCP server URL.

Troubleshooting

If the connector doesn't work as expected, try the following:

  • Double-check that the URL is entered correctly, with no trailing characters.
  • Confirm the connector is toggled on for the specific conversation you're using, not just added to your account.
  • If you're on a Claude Team or Enterprise plan, confirm an Owner has added the connector at the organization level first.
  • Restart your AI client and try reconnecting.

Frequently asked questions

→What's the difference between the remote MCP server and running B12's local server?

⇒The remote server at mcp.b12.io is hosted by B12, so there's nothing to install or maintain. It's the recommended option for most users. A local, open-source version is also available for developers who want to self-host or modify the server.

→Do I need a B12 account to use the MCP server?

⇒You can connect to the B12 MCP server and generate a site without an existing account.

→Is the B12 MCP server free to use?

⇒Connecting to B12's MCP server doesn't cost anything.

→Can I use this to update a site I've already built in B12?

⇒Once the Website Generator creates a site, it provides a unique link. Users simply click on this link, and it will take them directly to B12's platform. From there, they can preview the website, make any final adjustments or tweaks, and then publish it to make it live.

→What happens to the site after it's generated?

⇒Your AI client returns a link to the site. Open it to preview the result on B12, make any final adjustments, and publish it when you're ready.