Connect Claude.ai and Claude Desktop
Add your site once on claude.ai and it shows up in Claude Desktop too, because connectors belong to your Claude account. Custom connectors work on every Claude plan. Free accounts can have one.
Before you start
Install and activate the MCP Adapter and the Toolkit (Get started has both). Then, in wp-admin, open Settings → AI Toolkit. It opens on the Connect tab. The MCP server URL is at the top of every tab with a Copy button. It looks like this:
https://your-site.com/wp-json/mcp/ppok-ai-toolkit/
Under Status, click Test the addresses to check that the endpoint answers. Then the tab asks two things: your site's name, which becomes the connection's name, and which client you're connecting. It shows that client's steps with both filled in. This guide follows the same steps and adds the detail the tab leaves out.
From version 2.0.1 the same endpoint also answers at the shorter https://your-site.com/mcp. The Connect tab lists it when your host allows it; test it before you rely on it.
Your site needs HTTPS. Connecting a staging site and a live site? Each one has its own URL, so add them as two connectors with names you can tell apart.
Add the connector
-
Open Connectors
On claude.ai or in Claude Desktop, open Settings → Customize and choose the Connectors tab. Click + Add, then Add custom connector.
-
Name it and paste the URL
Use a name you'll recognize in the connector list, like your site's name. Paste the URL from the Toolkit and click Continue.
-
Pick the sign-in settings
Claude shows the sign-in settings it found. Under Authentication, choose Sign in now. Under OAuth client, choose Register automatically. Leave Request headers empty and click Add.
On a Team or Enterprise plan, an Owner adds the connector once under Organization settings → Connectors (Add, then Custom, then Web). After that, each person finds it under Settings → Customize → Connectors and clicks Connect to sign in with their own WordPress account.
Claude connects from Anthropic's servers, not from your computer, so the site has to be reachable from the internet. A staging site behind a firewall or a password wall won't work.
Signing in
-
Log in to WordPress
Your client opens your site's login page in the browser. Log in as the account the agent should work as. It gets that account's permissions and nothing more.
-
Choose what it can do
The Authorize MCP client screen lists what the client is asking for. Read access comes ticked. Under Write access, tick only the abilities you want it to use, then click Authorize.
Write abilities also have to be switched on, on the Abilities tab under Settings → AI Toolkit. The post types and statuses they're allowed to touch are set on the Write rules tab.
Using it in a chat
In a conversation, click + at the lower left of the message box, open Connectors and switch your site on. Claude asks before it runs each ability. Allow always is fine for the read-only ones; keep approving writes one at a time until you trust how it uses them.
To change the URL later, remove the connector and add it again.
Check that it works
Start with something read-only, like: “List the block types registered on this site, grouped by plugin.” If it answers with your theme's blocks, you're connected.
If it won't connect
- Your host blocks
/wp-json/. Use the fallback URL under “If it does not connect” on the Connect tab. It looks likehttps://your-site.com/?rest_route=/mcp/ppok-ai-toolkit. - Sign-in never starts. Open
https://your-site.com/.well-known/oauth-authorization-serverin a browser. It should show a page of JSON. If it doesn't, a server rule or security plugin is catching that path. - Not sure where it's failing. The Connect tab has a status checklist and a “Test the addresses” button, which checks from the server. It also has a test command to run from a terminal, which shows whether the address answers from outside.
- A security plugin limits the REST API. Sign-in uses
/wp-json/ppok/v1/and the agent uses/wp-json/mcp/. Both have to answer requests from your client.
To disconnect a client later, revoke it on the Clients tab. It has to sign in and be approved again to reconnect.