Skip to content

Claude Desktop

import { Aside } from ‘@astrojs/starlight/components’;

  • Claude Desktop installed (Mac or Windows)
  • MCPWP plugin active on your WordPress site
  • An API key (generate one here)

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.

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" }
}
}
}
Run wp_onboard to get an overview of my site, then list all pages.