Skip to content

Connect Cursor

Cursor reads MCP servers from a JSON file, so this is a copy, paste, and restart.

  1. 1

    Open your MCP settings

    In Cursor, open Settings, then MCP, then Add new global MCP server. That opens the JSON file.

    Screenshot to come
    The MCP settings pane in Cursor
  2. 2

    Paste the server block

    Add the block below, replacing the URL with your endpoint and the token with yours.

    json
    {
        "mcpServers": {
            "wordpress": {
                "url": "https://your-site.com/wp-json/wpwithai/mcp/v1",
                "headers": {
                    "Authorization": "Bearer YOUR_TOKEN"
                }
            }
        }
    }
    Screenshot to come
    The mcp.json file with the wordpress server added
  3. 3

    Restart Cursor

    The tools show up in the composer once the editor restarts. Ask it to read your site title.

    Screenshot to come
    The tool list in Cursor showing the WordPress tools

Common problems

  • The client says it cannot reach the server

    Open the endpoint URL in a browser first. If it does not return JSON, the plugin is not active or your permalinks are set to plain. Both are two-minute fixes in wp-admin.

  • It connects but every action is refused

    The connected account does not have the capability you are asking for. Check which user the application password belongs to and what role that user has.

  • The tools do not appear

    Restart the client fully. Most of them read MCP configuration once at launch and will not pick up a change until they are closed and reopened.

Other clients

Not downloaded it yet?

The plugin is free and the account takes a minute.

One plan. $0. No credit card.