Connect an AI client to WordPress with MCP
WPSays Free turns your WordPress site into an MCP server that 29 named AI clients can use. Pick your client for exact setup steps, or use the table to see which sign-in methods it supports. Every guide ends with a read-only check you can verify in WordPress.
Step-by-step guides
- Claude Add your WordPress site to Claude on the web or Claude Desktop as a custom connector, sign in with OAuth and check the connection with a safe first read.
- ChatGPT Add your WordPress site to ChatGPT as a custom MCP app in developer mode. Plan requirements, the exact settings path, OAuth sign-in and a first test.
- Claude Code Add your WordPress site to Claude Code with one command, sign in with OAuth in the browser, and confirm the connection with a read-only request.
- Cursor Add your WordPress site to Cursor with the one-click install button or mcp.json, then sign in with OAuth. Includes the exact config and file paths.
- VS Code Add your WordPress site to VS Code and GitHub Copilot agent mode through mcp.json, then sign in with OAuth. Exact config, file locations and a first test.
- Codex CLI Add your WordPress site to the Codex CLI in config.toml or with codex mcp add, then sign in with codex mcp login. Exact commands and file paths.
- Windsurf Add your WordPress site to Windsurf, now Devin Desktop, through mcp_config.json and sign in with OAuth. File paths for the new and old app names.
Every client the Connect screen supports
WPSays Free names 29 clients, each with the sign-in methods below. For clients without their own guide here, the Connect screen in WordPress shows the exact config and the file it goes in.
| Client | Sign-in methods | Guide |
|---|---|---|
| Claude Code | OAuth, token, Application Password | Open guide |
| Claude Desktop | OAuth, .mcpb bundle, token, Application Password | Open guide |
| Claude (web) | OAuth, token | Open guide |
| ChatGPT | OAuth | Open guide |
| Codex CLI | OAuth, token, Application Password | Open guide |
| Codex (desktop app) | OAuth | Connect screen |
| Cursor | OAuth, token, Application Password | Open guide |
| VS Code | OAuth, token, Application Password | Open guide |
| GitHub Copilot | OAuth, token, Application Password | Connect screen |
| Devin Desktop (Windsurf) | OAuth, token, Application Password | Open guide |
| Gemini CLI | OAuth, token, Application Password | Connect screen |
| Antigravity CLI | OAuth, token, Application Password | Connect screen |
| Antigravity IDE | OAuth, token, Application Password | Connect screen |
| Mistral Le Chat | OAuth, token | Connect screen |
| Perplexity | OAuth, token | Connect screen |
| Manus | OAuth, token | Connect screen |
| Zed | OAuth, token, Application Password | Connect screen |
| Cline | OAuth, token, Application Password | Connect screen |
| Kilo Code | OAuth, token, Application Password | Connect screen |
| Amazon Q / Kiro | OAuth, token, Application Password | Connect screen |
| OpenCode | OAuth, token, Application Password | Connect screen |
| Warp | OAuth, token, Application Password | Connect screen |
| Factory Droid | OAuth, token, Application Password | Connect screen |
| Kimi Code CLI | OAuth, token, Application Password | Connect screen |
| Qwen Code | OAuth, token, Application Password | Connect screen |
| ZCode (GLM) | OAuth, token, Application Password | Connect screen |
| OpenClaw | OAuth, token, Application Password | Connect screen |
| Hermes Agent | OAuth, token, Application Password | Connect screen |
| Roo Code | OAuth through mcp-remote, token, Application Password (discontinued upstream) | Connect screen |
Which sign-in method should I use?
- OAuth is the default. The client opens a browser, you sign in to WordPress and approve the access. WPSays uses OAuth 2.1 with PKCE; nothing secret is stored in the client config.
- Access tokens start with
flv_and are sent as a Bearer header. You choose which abilities or categories the token can use and a safety ceiling for it. Use one for scripts or clients without a browser. - Application Passwords are WordPress's own per-app passwords. They act with your full account permissions.
- Device sign-in is for agents with no browser: the agent shows a code, and an administrator approves it in wp-admin and sets the token's ceiling and lifetime.
Why some clients need a public HTTPS site
Claude (web and Desktop connectors), ChatGPT, Le Chat, Perplexity and Manus call your site from their own servers, so the site needs a public HTTPS address. Editors and terminal clients such as Claude Code, Cursor, VS Code and the Codex CLI connect from your own computer, so the site only has to be reachable from that computer.
When a client will 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.