Claude Desktop
import { Aside } from ‘@astrojs/starlight/components’;
Prerequisites
Section titled “Prerequisites”- Claude Desktop installed (Mac or Windows)
- MCPWP plugin active on your WordPress site
- An API key (generate one here)
Configuration
Section titled “Configuration”Open your Claude Desktop config file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the MCPWP server:
{ "mcpServers": { "my-wordpress-site": { "url": "https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp", "headers": { "X-API-Key": "mcpwp_YOUR_KEY_HERE" } } }}Restart Claude Desktop. The connection is established on startup.
Managing multiple sites
Section titled “Managing multiple sites”Add one entry per site:
{ "mcpServers": { "client-a": { "url": "https://client-a.com/wp-json/mcpwp/v1/mcp", "headers": { "X-API-Key": "mcpwp_KEY_A" } }, "client-b": { "url": "https://client-b.com/wp-json/mcpwp/v1/mcp", "headers": { "X-API-Key": "mcpwp_KEY_B" } } }}First prompt
Section titled “First prompt”Run wp_onboard to get an overview of my site, then list all pages.