# Cursor and WordPress: add Widejoin to mcp.json

Add one block with your site's MCP address and an Authorization header to Cursor's mcp.json, and Cursor can read and edit your WordPress site through Widejoin. The block goes in `~/.cursor/mcp.json`. Before you edit that file, the site needs the free plugin, its own WordPress user for Cursor and a password that works only for Widejoin. A test client using the console's form of that block, not the Cursor app, passed on 14 October 2026, against a mock site.

## Does Cursor work with WordPress through Widejoin?

Yes. Cursor is marked Tested on our [connect guide](/docs/connect/). It talks to your site over streamable HTTP at `/wp-json/widejoin/v1/mcp`, signed in as the WordPress user you made for it, so it can do only what that user may.

Cursor then has the same [WordPress tools](/tools/) as every other client: content and media, page builders, SEO plugins, forms, WooCommerce products and maintenance. Each change is recorded with its before state, and [most can be undone](/docs/restore/). The tools come from the [free WordPress MCP plugin](/), and [Widejoin pricing](/pricing/) shows which writes need Pro.

## How do I connect Cursor to my WordPress site?

1. **Install the plugin.** Add the [Widejoin ZIP](/download/) in Plugins > Add New and activate it. The site needs WordPress 6.9 or later and HTTPS. The MCP Adapter 0.7.x from WordPress.org, which the plugin needs before it serves any tool, goes in with the next step. The [connect guide's direct route](/docs/connect/#direct) lists the same steps with each button named. [Install Widejoin on WordPress](/docs/install/) covers the upload, updates and removal.
2. **Give Cursor its own user and password.** The Widejoin screen in wp-admin does this for you: pick Editor or Administrator and click **Create connection**. That one click adds the MCP Adapter, makes the user and a password, and tests it. To do it by hand, add a WordPress user for Cursor, sign in as it, open Widejoin > Settings > Connection and choose **Create Widejoin password**.

   ![First connect screen after Create connection: the line saying the connection works, then the endpoint, the user name widejoin-agent, the password and the header, each with a Copy button, the password hidden](/lab/docs-cursor-connection-details-420.webp "Create connection's details, the password hidden; Cursor's block sits further down this screen.")
3. **Add the block to `~/.cursor/mcp.json`.** The connection details show it under "Cursor (~/.cursor/mcp.json)" with your values filled in and a Copy button:

```json
{
  "mcpServers": {
    "widejoin": {
      "url": "https://your-site.example/wp-json/widejoin/v1/mcp",
      "headers": {
        "Authorization": "Basic <credential>"
      }
    }
  }
}
```

If you made the password by hand, `<credential>` is the user name and the password joined by a colon, then base64 encoded.

4. **Open Cursor's MCP settings** and check that `widejoin` is on and lists its tools. If it lists none, [the troubleshooting page](/docs/troubleshooting/) has the fix for each cause.

   ![Illustration of one row in Cursor's MCP list: widejoin with a green status dot and its switch on](/lab/docs-client-cursor-row-410.webp "Illustration, drawn by us: the widejoin row in Cursor's MCP list, switched on.")

The file now holds a password, so keep it out of any repository you share. Cursor's docs say remote servers do not read `envFile`, so the header has to sit in this file, though its value can come from an environment variable with `${env:NAME}`.

Using the Widejoin console? The [connect guide](/docs/connect/) has the same block with a console token in place of the password.

## What should I ask Cursor first?

Begin with three read-only requests. Nothing on the site changes, and you learn whether the connection and the user's role are right.

1. "Use the site-info tool and tell me the WordPress version, the theme and the page builder." Our connection test makes this call.
2. "List the ten most recent draft pages with the list-content tool."
3. "Run the maintenance-inventory tool and list the plugins with an update waiting."

Cursor asks you to approve each tool call by default, per [Cursor's MCP docs](https://cursor.com/docs/context/mcp) (read 11 October 2026). Leave that on for your first session, so you see every call it makes.

## What did we test, and what did we not?

| Check | Result |
|---|---|
| The console's mcp.json block, scripted | Passed 14 October 2026 against a mock site: initialize, tools/list and one read-only call over streamable HTTP |
| The direct block the connection details show | Its URL and Basic header are checked in our plugin tests; not yet run against a real site |
| A full editing session inside the Cursor app | Not part of our test; our end to end run used Claude Code |
| A Cursor version number | Not recorded for the scripted test |
| Multisite networks | Not supported; First connect stops with a message |

Our Cursor test is a script that reads the same mcp.json shape Cursor uses, with the console's URL and token, against a mock WordPress site. It connected, listed the tools and called the `site-info` tool, which returned the mock site. It does not prove how the Cursor app shows long replies, so tell us if a builder page read looks cut short.

## Which builders can Cursor work with?

All of them, since every client gets the same tools. Each builder page says what we tested and on which version:

- [Elementor](/integrations/elementor/) and Elementor Pro
- [Gutenberg](/integrations/gutenberg/) blocks
- [Bricks](/integrations/bricks/), with Divi listed on the integrations hub
- [WooCommerce](/integrations/woocommerce/) products, prices and stock

See all 23 tested integrations on the [integrations hub](/integrations/). The [Claude Code page](/clients/claude-code/) covers the terminal setup, and [Claude Desktop's WordPress setup](/clients/claude/) covers the config file. For a whole site an agent built through these tools, see the [WordPress AI website builder page](/wordpress-ai-website-builder/). The [WordPress MCP comparison](/compare/) sets Widejoin next to the other servers.

## Questions

### Is the Cursor connection free?

Yes. The Widejoin plugin is free, and connecting Cursor straight to your site needs no account with us. Cursor has its own plans.

### Can I connect Cursor to several WordPress sites?

Yes. Add one block per site under `mcpServers`, each with its own name, endpoint and credential. Each site keeps its own agent user and its own change history.

### Why does Cursor show the server but no tools?

Look for the sign that matches what you see.

- **wp-admin says "Widejoin needs the MCP Adapter plugin".** The Adapter is missing, inactive, below 0.6.2 (from Widejoin 0.7.9; before that, below 0.7.0) or at 0.8.0 or later, so the plugin serves no tools. Install and activate MCP Adapter 0.7.x from WordPress.org.
- **Calls fail with HTTP 403 and "Widejoin only accepts a Widejoin Application Password".** The password came from the user's profile. Make one with **Create Widejoin password**, or tick **Limited to Widejoin** next to it.
- **Only a few update tools are listed.** WordPress is below 6.9. Update it and reload the server in Cursor.

The [connect guide's error table](/docs/connect/#errors) lists each fix, along with the token and reload errors.
