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 server

  1. Edit mcp.json

    Use ~/.cursor/mcp.json to have the site in every project, or .cursor/mcp.json inside one project to share it with your team. Add your URL:

    {
      "mcpServers": {
        "ppok": {
          "url": "https://your-site.com/wp-json/mcp/ppok-ai-toolkit/"
        }
      }
    }

    You can also manage servers from Customize in Cursor's sidebar instead of editing the file.

  2. Sign in

    Find the server under Customize and sign in when Cursor asks. It opens your site's login page in the browser.

On a Team plan, shared servers go under Dashboard → Plugins & MCPs. On Enterprise, an admin may need to add your site's URL to the MCP allowlist under Team Settings → MCP Configuration first.

Signing in

  1. 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.

  2. 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

Cursor uses the abilities when they fit what you asked, or you can ask for one by name. It asks before each call. Click the arrow next to an ability's name to see exactly what it's about to send.

If something goes wrong, open the Output panel (Cmd+Shift+U) and choose MCP Logs.

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

To disconnect a client later, revoke it on the Clients tab. It has to sign in and be approved again to reconnect.

Connecting something else?