Connect Cursor to your WordPress site
Cursor can install the server from a one-click button on the WPSays Connect screen, or you can add it to mcp.json yourself. Cursor shows the server as needing a login until you finish the browser sign-in.
What you need
- WPSays Free on WordPress 6.9 or later with PHP 8.0 or later.
- Cursor installed on the same machine where you click the install button.
Add your site to Cursor
- In WordPress admin, open the WPSays MCP server dashboard and make sure AI Abilities is on. Under Connect a client, choose OAuth, then Cursor. The screen fills in your own site address and a server name for you.
- Press the one-click install button, or paste the config below into
~/.cursor/mcp.json(all projects) or.cursor/mcp.json(one project). - In Cursor's MCP settings, the server shows needs login. Start the sign-in and approve access in the browser.
{
"mcpServers": {
"your-site": {
"url": "https://your-site.com/wp-json/mcp/flavors-engine-oauth"
}
}
}Check the connection with a safe read
Ask your client for something you can check in WordPress, such as: What is my site title? The client should call Get Site Settings and return the same value you see under Settings → General. A read like this changes nothing on the site. Get Site Settings reference
If it does not connect
- 401 or a sign-in loop. Sign in again from the client, and check that it uses the exact URL from Connect a client, including the full path.
- 403 or a firewall page. A security plugin, host firewall or Cloudflare rule is blocking
/wp-json/. WPSays Free has a Diagnostics screen with a Run Connection Doctor button that tests the route and, if needed, switches the Connect screen to the?rest_route=form of the address. - Tools are missing. The connection only lists the abilities its scope allows, and kits for other plugins load only when that plugin is active. Check the access you approved at sign-in, or the scope of the access token.
All client guides · What the AI can change and how to undo it