Some AI clients require a WordPress application password to connect to WholesaleX MCP.
Create an Application Password
- Log in to your WordPress dashboard as an administrator.
- Navigate to Users → Profile.
- Scroll down to Application Passwords.
- Enter an application name, such as WholesaleX Cursor.
- Click Add New Application Password.
- Copy the generated password and store it securely.
WordPress displays the generated password only once. Create a separate application password for each AI client so you can revoke its access independently.
Generate a Base64 Authentication Value
Clients using HTTP Basic authentication require your WordPress username and application password to be encoded in Base64.
Open Bash on macOS, Linux or Git Bash on Windows and run:
read -r -p 'WordPress username: ' wsx_username
read -r -s -p 'Application password: ' wsx_password
printf '\n'
printf '%s:%s' "$wsx_username" "$wsx_password" | base64 | tr -d '\r\n'
printf '\n'
unset wsx_username wsx_passwordEnter your WordPress username and generated application password when prompted.
Copy the resulting Base64 value and use it in your AI client’s authentication configuration.
Note: Base64 is encoding, not encryption. Treat the generated value as a password. Do not use public online encoders or share the value in AI conversations.
Application passwords authenticate requests as your WordPress account. WholesaleX access settings restrict the WholesaleX MCP tools only.
Revoke an Application Password
To remove an AI client’s application-password access:
- Navigate to Users → Profile → Application Passwords.
- Locate the password associated with the AI client.
- Click Revoke.
- Remove the saved credentials from your AI client’s configuration.
For more information, see the WordPress Application Passwords documentation.