How To Connect WholesaleX to Cursor

You can connect WholesaleX to Cursor using a direct HTTP connection authenticated with a WordPress application password.

Before You Begin

Complete the Getting Started with WholesaleX MCP guide and copy your server address.

Create a separate application password and generate a Base64 authentication value by following How to Create a WordPress Application Password for WholesaleX MCP.

Configure WholesaleX in Cursor

  1. Open or create your personal Cursor MCP configuration file: ~/.cursor/mcp.json.
  2. Add the following configuration to the mcpServers object. Preserve any existing server configurations.
{

  "mcpServers": {

    "wholesalex": {

      "url": "https://example.com/wp-json/wholesalex/mcp",

      "headers": {

        "Authorization": "Basic YOUR-BASE64-VALUE"

      }

    }

  }

}

  1. Replace the example URL with your WholesaleX server address.
  2. Replace YOUR-BASE64-VALUE with your generated authentication value.
  3. Save the configuration file and refresh Cursor’s MCP connections.

Verify Your Connection

Check whether WholesaleX appears in Cursor’s MCP server list and enable its tools in Agent.

Follow the Verify Your WholesaleX MCP Connection instructions in the Getting Started guide to confirm that Cursor can retrieve your store information.

Keep your MCP configuration file private because it contains authentication credentials.

For more information, see the official Cursor MCP documentation.