AI Assistant & MCP
AI Assistant & MCP
You can let an AI assistant such as Claude help manage your site for you. This page shows you how to connect one, and how to choose which AI builds your pages.
What MCP does for you
MCP is a standard way for AI assistants to connect to other software. Once you switch on the MCP server, an AI assistant such as Claude can create and edit listings, blog posts, members, pages and your site's design for you, whenever you ask it to.
You'll find everything under Settings → MCP server, in the Integrations & tools band of the Settings page.
An agent key gives full administrator access to your site, so please look after it like a password. Your site should also use HTTPS (an address starting https://). If it doesn't, you'll see a warning on the screen, because without HTTPS your keys wouldn't be protected on their way to your site.
Connecting Claude Code
- Open MCP server and switch on the API. The label changes to API is enabled. This switch saves straight away, so there's nothing else to click.
- Under Connect your AI agent you'll see the MCP endpoint (Streamable HTTP). That's the address your AI assistant connects to.
- Just below it is a ready-made command for Claude Code. Click the box to select it, and copy it.
- Under Agent keys, type a New key label, for example "Claude on my laptop", and click Generate key.
- Copy the new key from the green box straight away, because you won't be able to see it again later.
- Paste the command into the terminal where you use Claude Code. Replace the key placeholder at the end with your new key, and press Enter.
Keys work with Claude Code, Claude Desktop and the Claude Agent SDK. If you'd like to use claude.ai in a web browser, see the last section below.
Choosing what a key can do
Before you click Generate key, you can use What this key can do to limit what the key is allowed to do. Every area is ticked to begin with, which gives full access:
- Content — listings, blog, media
- Members — read & moderate
- Users — create, edit, delete accounts
- Design & branding
- Page layouts
- Marketplace orders & payouts — read only
- Read-only — view everything
If you'd like an assistant that can look but not change anything, tick only Read-only — view everything. A key can only use the areas you tick. Please note that if you untick everything, the key gets full access, so always leave at least one ticked.
The Agent keys table lists each key with its Label, the start of the key, its Access, when it was Created and when it was Last used.
To stop an assistant using your site, click Revoke next to its key and confirm. It loses access straight away.
We only show a key once, when you create it. If you lose it, we can't show it again. Don't worry, though. Just revoke it and generate a new one.
Connecting claude.ai in your browser
claude.ai in a web browser can't use a pasted key. Instead it uses OAuth, which simply means you sign in and approve the connection.
- Under claude.ai web (OAuth), switch it on. The label changes to OAuth is enabled.
- Copy the connector address shown below the switch.
- On claude.ai, go to Settings → Connectors → Add custom connector and paste the address. You don't need a key for this.
- claude.ai then sends you to your site to approve the connection. Sign in as an administrator and approve it.
OAuth needs HTTPS on a live site, and only administrators can approve a connection. Claude Code carries on using an agent key, just as before.
Adding your AI key
The Site Generator's Assistant, AI page building and generated hero images all need a key from Anthropic (Claude) or OpenAI. These keys are kept in WordPress itself, not in the theme:
- Open Settings → Connectors in the WordPress menu. (If the Site Generator's Assistant is offline, its Settings → Connections link takes you straight there.)
- Click Install next to Anthropic or OpenAI. WordPress adds the connector for you.
- Paste your key into API key and click Save. You can get a Claude key at platform.claude.com, or an OpenAI key at platform.openai.com.
Open the Site Generator again, and the Assistant will now say it's connected.
Choosing which AI builds your pages
The MCP server screen also has an AI site generator box. Here you choose which AI writes your pages when you create a site from a description:
- Auto — use whichever key is set (Claude preferred)
- Anthropic (Claude)
- OpenAI (GPT)
Whichever you choose needs its own key from Anthropic or OpenAI, added under Settings → Connectors (see Adding your AI key). The OpenAI key is also what creates generated hero images.
On Auto, we use Claude when its key is set, and OpenAI otherwise. If you pick one provider and it has no key, the AI assistant stays offline. It won't switch to the other provider for you. Remember to click Save changes once you've made your choice.