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
- Open or create your personal Cursor MCP configuration file:
~/.cursor/mcp.json. - Add the following configuration to the
mcpServersobject. Preserve any existing server configurations.
{
"mcpServers": {
"wholesalex": {
"url": "https://example.com/wp-json/wholesalex/mcp",
"headers": {
"Authorization": "Basic YOUR-BASE64-VALUE"
}
}
}
}
Replace the example URL with your WholesaleX server address.- Replace
YOUR-BASE64-VALUEwith your generated authentication value. - 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.