Install the WordPress MCP Plugin
- Go to your WordPress admin dashboard.
- Navigate to “Plugins” > “Add New.”
- In the search field, search for “wordpress-mcp.”
- Install and activate the wordpress-mcp plugin.
Enable MCP Functionality
- In your WordPress admin, go to “Settings” > “MCP Settings.”
- Enable MCP functionality as described there.
Generate a WordPress Application Password
- Go to “Users” > “Profile” (or edit your profile via “Users” > “All Users” then select your user).
- Scroll down to the “Application Passwords” section.
- Enter a name for the new application password (e.g., “FastMCP Connection”).
- Click “Add New Application Password.”
- Copy the generated password. You will not have another chance to see it!
- Use your actual WordPress username as the
WP_API_USERNAME
and the application password as WP_API_PASSWORD
.
Get Your WordPress API URL
- This is usually your site URL followed by
/wp-json/
, e.g., https://yourdomain.com/wp-json/
.
(Optional) Get WooCommerce API Keys
- If you need WooCommerce MCP assets:
- In your WordPress admin, navigate to “WooCommerce” > “Settings” > “Advanced” > “REST API.”
- Click “Add Key.”
- Enter a description, select the appropriate user, and set permissions (e.g., “Read/Write”).
- Click “Generate API Key.”
- Copy the generated “Consumer Key” (
WOO_CUSTOMER_KEY
) and “Consumer Secret” (WOO_CUSTOMER_SECRET
).
Fill in the FastMCP Connection Interface
- Click your ready-made “Install Now” button.
- Enter the following values in the FastMCP connection interface:
WP_API_URL
: (Your WordPress API URL)
WP_API_USERNAME
: (Your WordPress username)
WP_API_PASSWORD
: (Your WordPress application password)
WOO_CUSTOMER_KEY
& WOO_CUSTOMER_SECRET
: (if WooCommerce access is required)
You do not need to enter a value for LOG_FILE
. (This is optional.)
Ready to continue? Use your application password and site information in the FastMCP setup interface!