Read REST Route


Sends a GET request to a WordPress REST API route and returns its response. Read-only: it cannot create, update or delete anything. Use this for reads; writes go through Call REST Route. The call is refused unless this connection has been granted GET on that route, and the endpoint's own permission check also applies. Use "_fields" to keep responses small; large list responses are trimmed.

Property Value
Ability slug mosmcp/rest-read
Wire tool name mosmcp__rest-read
Category REST API (mosmcp-rest)
Plan Free

 

Required access

Requirement Value
Capability edit_posts
Minimum default role Contributor
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
route string Yes — Route to read, with any path placeholders filled in, for example "/wp/v2/posts" or "/wp/v2/posts/42".
params object — Query parameters for the GET request.
_fields string — Comma-separated list of response fields to return, for example "id,title,status". Strongly recommended on list routes.

 

Output schema

No structured output.

 


<< Previous Next >>
List REST Routes Apply Style Variation

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.