Connect Cursor to your WordPress site

Add one line to Cursor’s MCP settings, sign in from Cursor, and approve the connection in your browser.

Steps checked on 26 October 2026. Guide available; not tested end to end yet. Steps look different? See Cursor’s help

Before you start

  • MCPMate is installed on your site, and its setup checks pass.
  • Cursor installed on your computer.
  • WordPress 6.0 or later and PHP 7.4 or later, your site on HTTPS, permalinks set to anything but “Plain”, and an administrator account.

Your MCP URL

Copy yours from MCPMate → Connections. It looks like this:

Your MCP URL
https://your-site.com/wp-json/mcpmate/mcp

Steps

  1. Add your site to Cursor’s MCP settings

    Open ~/.cursor/mcp.json (create it if it isn’t there) and add your site under mcpServers, with your own MCP URL:

    mcp.json
    {
      "mcpServers": {
        "wordpress": {
          "url": "https://your-site.com/wp-json/mcpmate/mcp"
        }
      }
    }
  2. Sign in from Cursor

    In Cursor’s Customize page, find “wordpress” in your MCP servers and start its sign-in.

  3. Approve in your browser

    Your browser opens your site’s approval page. Check it, then approve.

Approve on your site

The approval page shows three things:

  • the app’s name, marked “not verified” if it registered itself;
  • where it will send you back;
  • the access choice: Full or Read-only.

Approval links last 10 minutes. If one expires, start again from Cursor.

Try it

Three first prompts. They only read, so nothing on your site changes.

  • Prompt

    Give me a health summary of my WordPress site.

  • Prompt

    Which theme and plugins does my site use, and are any out of date?

  • Prompt

    Read my homepage and suggest three ways to make it clearer.

If it doesn’t work

The approval page warns about “this computer”. That’s expected for desktop apps like Cursor, so you can approve.

For hosting problems, such as a stripped Authorization header or a blocked /.well-known address, see troubleshooting. Each fix names the Site checks row in the plugin that matches it.

Other apps