Access model — three layers


Every tool call passes all three layers, in this order:

  1. The connection is a WordPress user. An AI client connects with OAuth 2.1 (PKCE), and the token is bound to the WordPress user who approved the connection and to this site. Every tool runs as that user. Expired, revoked or wrong-audience tokens are refused.
  2. Role-scoped AI identity grants. Administrators decide, per role, which abilities the AI identity may use. Abilities outside the grant are not listed to the client and cannot be called. (An install can also expose only abilities with given prefixes via the MOSMCP_EXPOSED_PREFIXES constant.)
  3. The WordPress capability, on every call. The ability's required capability is checked for the connected user — per item where it says so — exactly as WordPress would in wp-admin. A role that cannot do something in wp-admin cannot do it through an AI either. Referencing an item that does not exist returns a not-found error rather than a permission error.

Every call, allowed or refused, is written to the plugin's audit log with the user, AI identity, client, tool, outcome and time.

 


<< Previous Next >>
Initial Setup Update the Plugin

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.