Before you begin, make sure you have:
Option A: From WordPress.org
Option B: Manual Upload
spai_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Add the following configuration to your AI client of choice. Replace yoursite.com with your domain and spai_your_key_here with your API key.
For Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"wordpress": {
"url": "https://yoursite.com/wp-json/site-pilot-ai/v1/mcp",
"headers": {
"X-API-Key": "spai_your_key_here"
}
}
}
}For Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"wordpress": {
"url": "https://yoursite.com/wp-json/site-pilot-ai/v1/mcp",
"headers": {
"X-API-Key": "spai_your_key_here"
}
}
}
}For Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"wordpress": {
"type": "url",
"url": "https://yoursite.com/wp-json/site-pilot-ai/v1/mcp",
"headers": {
"X-API-Key": "spai_your_key_here"
}
}
}
}Once configured, restart your AI client and test the connection:
"What tools do you have for WordPress?"
wp_list_posts, wp_create_page, wp_set_elementor, and more.
"List all pages on my WordPress site"
API keys support three permission scopes:
| Scope | Operations | Description |
|---|---|---|
read |
GET operations | List and retrieve posts, pages, media, settings |
write |
POST / PUT operations | Create and update content, upload media |
admin |
DELETE, options, batch | Delete content, manage settings, batch operations |
WHAT'S NEXT
Dive deeper into everything mumcp can do.