Security and permissions
The AI acts as a user
Section titled “The AI acts as a user”Every request runs as the WordPress user who approved the connection, with that user’s permissions. RealMCP goes through WordPress’s own REST endpoints, so per-post checks apply: the AI can’t read or edit what that user can’t. What the assistant saves is always filtered, whatever the user’s role: see What the assistant can write.
Use a dedicated user with the role you’re comfortable with. An Editor is enough for every tool except site-health, which needs an Administrator.
Safe defaults
Section titled “Safe defaults”- New pages are drafts unless the AI sets another status, and publishing needs the user’s permission to publish.
- Updates are rejected if the page changed since the AI read it.
- Administrators can turn off any tool, for example every Write tool for read-only access.
- Every call is recorded in the activity log, with the name of the connection that made it.
Comments
Section titled “Comments”- The AI never receives a commenter’s email, IP address, browser or website.
- Comment text is written by visitors and could try to give the AI orders. RealMCP tells the AI to treat it as data, never as instructions.
- Moderating and replying start disabled, because they’re visible outside the site.
How sign-in works
Section titled “How sign-in works”- RealMCP is its own OAuth 2.1 authorization server, as the MCP specification describes. Assistants never see your WordPress password: you log in on your own site and approve.
- Sign-in uses PKCE (S256 only). Apps identify themselves with a public metadata document (Client ID Metadata Documents); there’s no dynamic client registration.
- The approval screen names the app, the user it will act as, who publishes it and where it returns. It can’t be shown inside another site’s frame, which prevents clickjacking. When the app returns to a program on the same computer (Claude Code, Codex), the screen warns that any local program could be the one asking: approve only if you started the connection yourself just now.
- Tokens are stored only as SHA-256 hashes. Access tokens last 1 hour; refresh tokens last 60 days and change every time they’re used. Reusing an old refresh token within 2 minutes counts as a retry; reusing it later revokes the whole connection.
- Tokens only work on the MCP endpoint, not on the rest of the REST API or in wp-admin.
- Connection tokens (
rmcp_mt_…) expire when you choose on creating them: in 30, 90 (the default) or 365 days, or never. Keep them private and disconnect them when you’re done. - On a multisite network, each site keeps its own connections.
What the assistant can write
Section titled “What the assistant can write”Whatever an assistant saves goes through WordPress’s HTML filter, also when the connected user is an administrator: scripts, iframes and event-handler attributes are removed from pages, posts and comment replies. An assistant can be misled by text it reads, such as a comment, and a script in a page would run in every visitor’s browser.
Revoking access
Section titled “Revoking access”Click Disconnect in RealMCP → Connect → Your connections, or delete the connection’s Application Password (“RealMCP: app (date)”) in Users → Profile → Application Passwords. The assistant stops working immediately. Administrators also see Other users’ connections there and can disconnect them. Approvals that are never used are cleaned up after a day.
An assistant can also revoke its own token (RFC 7009), for example when you remove the connector, if the assistant supports it: the site then disconnects that connection.
Uninstalling the plugin deletes its tables, options and scheduled tasks, and the Application Passwords RealMCP created.
Network
Section titled “Network”- Connections need HTTPS: WordPress only allows Application Passwords, which back every connection, over HTTPS, except on local development sites.
- The endpoint rejects browser requests from other origins.
- When someone approves an app, the site fetches the app’s public metadata document over HTTPS: public addresses only, no redirects, up to 5 KB, cached. Check now in RealMCP → Connect makes the site request two of its own addresses.
- Apart from that, the plugin doesn’t contact any external service; the activity log stays in your database. The other exception is asking
site-healthto check the site now: it runs WordPress’s own Site Health tests, which check that the site can reach WordPress.org, as in their weekly run. What your AI assistant does with the content it reads depends on that assistant.
Reporting a vulnerability
Section titled “Reporting a vulnerability”Write to [email protected], and please don’t post it in public forums until it’s fixed.