Skip to content

Your First Connection

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

Once you have an API key, add MCPWP as an MCP server in your AI client. The MCP endpoint is:

https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
"mcpServers": {
"my-site": {
"url": "https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp",
"headers": {
"X-API-Key": "mcpwp_YOUR_KEY"
}
}
}
}

Restart Claude Desktop. The site tools appear automatically.

Terminal window
claude mcp add my-site \
--transport http \
--url "https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp" \
--header "X-API-Key: mcpwp_YOUR_KEY"

In .cursor/mcp.json or .windsurf/mcp.json:

{
"mcpServers": {
"my-site": {
"url": "https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp",
"headers": {
"X-API-Key": "mcpwp_YOUR_KEY"
}
}
}
}

Once connected, ask your AI agent:

“What pages are on my WordPress site?”

Or call wp_onboard — it returns a full site briefing with content inventory, active integrations, and available tools.

→ See Claude Desktop setup for a full walkthrough.