You can configure WholesaleX MCP in Claude Code 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 Claude Code
Open your terminal and run the following command:
claude mcp add --transport http --scope user wholesalex \
https://example.com/wp-json/wholesalex/mcp \
--header "Authorization: Basic YOUR-BASE64-VALUE"Replace the example URL with your WholesaleX server address and YOUR-BASE64-VALUE with your generated authentication value before running the command.
The --scope user option makes the connection available across your Claude Code projects for your user account.
Verify Your Connection
Run the following command to list your configured MCP servers:
claude mcp listThen, inside Claude Code, run:
/mcpCheck whether WholesaleX is connected and its tools are available.
Follow the Verify Your WholesaleX MCP Connection instructions in the Getting Started guide to confirm that Claude Code can retrieve your store information.
Protect your terminal history and saved MCP configuration because they may contain authentication credentials.
For more information, see the official Claude Code MCP documentation.