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.
In the Codex app or IDE extension, open MCP servers, select Add server, choose Streamable HTTP, then Authenticate.
Your MCP URL
Copy yours from MCPMate → Connections. It looks like this:
https://your-site.com/wp-json/ mcpmate/ mcp
Steps
-
Step 1
In your terminal, run:
Terminalcodex mcp add wordpress --url https://your-site.com/wp-json/mcpmate/mcp
-
Step 2
Then run codex mcp login wordpress and sign in on the page that opens.
-
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 Codex CLI.
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 Codex CLI, 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.