Before you start
- MCPMate is installed on your site, and its setup checks pass.
- An installed client that supports remote MCP and OAuth sign-in. Availability can depend on your plan or workspace settings.
- WordPress 6.0 or later and PHP 7.4 or later, your site on HTTPS, permalinks set to anything but “Plain”, and an administrator account.
Windsurf's docs now live under Devin Desktop; an older Windsurf may keep its MCP settings elsewhere.
Windsurf’s documentation now redirects to Devin Desktop. The names of configuration screens vary by the installed version; follow the vendor help if your interface differs.
Your MCP URL
Copy yours from MCPMate → Connections. It looks like this:
https://your-site.com/wp-json/ mcpmate/ mcp
Steps
-
Step 1
Add this to ~/.config/devin/mcp_config.json (create it if it doesn't exist):
Configuration{ "mcpServers": { "wordpress": { "url": "https://your-site.com/wp-json/mcpmate/mcp", "transport": "http" } } }
-
Step 2
Sign in when asked the first time it is used, or open Customize, the MCPs tab, and select Authenticate.
-
Step 3
Approve on the page that opens on this site.
Approve on your site
The approval page shows three things:
- the app’s name, marked “not verified” if it registered itself;
- where it will send you back;
- the access choice: Full or Read-only.
Approval links last 10 minutes. If one expires, start again from Windsurf.
Try it
Three first prompts. They only read, so nothing on your site changes.
-
Prompt
Give me a health summary of my WordPress site.
-
Prompt
Which theme and plugins does my site use, and are any out of date?
-
Prompt
Read my homepage and suggest three ways to make it clearer.
If it doesn’t work
The approval page warns about “this computer”. That’s expected for desktop apps like Windsurf, so you can approve.
If sign-in does not open, check that the client supports remote MCP with OAuth, then run the site’s connection checks.
For hosting problems, such as a stripped Authorization header or a blocked /.well-known address, see troubleshooting. Each fix names the Site checks row in the plugin that matches it.