List Published Pages


Lists published (publicly visible) pages, newest first.

Property Value
Ability slug mosmcp/page-list-published
Wire tool name mosmcp__page-list-published
Category Pages (mosmcp-pages)
Plan Free

 

Required access

Requirement Value
Capability read
Minimum default role Subscriber
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
per_page integer (1–100) 20 Maximum number of pages to return.
offset integer (min 0) 0 Number of pages to skip, for fetching the next page.

 

Output schema

Field Type Required
showing integer Yes
total integer Yes
pages object[] Yes
pages[].id integer Yes
pages[].title string Yes
pages[].author_name string
pages[].excerpt string
pages[].date string Yes
pages[].link string Yes
pages[].edit_url string

 

Example

Sample prompt
List the pages that are live on my website.

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 43,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__page-list-published",
    "arguments": {
      "input": {
        "per_page": 20
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 43,
  "result": {
    "isError": false,
    "structuredContent": {
      "showing": 1,
      "total": 9,
      "pages": [
        {
          "id": 42,
          "title": "About",
          "author_name": "Jane Doe",
          "excerpt": "We are a family-run bakery.",
          "date": "2026-01-05 10:00:00",
          "link": "https://example.com/about/",
          "edit_url": "https://example.com/wp-admin/post.php?post=42&action=edit"
        }
      ]
    }
  }
}

 

Edge cases / errors

  • Only publish status pages are included; private, draft and scheduled pages are not.
  • Ordered by publish date, newest first; per_page is capped at 100 and offset pages through the rest.
  • Available to any logged-in role, including subscribers.

 


<< Previous Next >>
List Private Pages List Scheduled Pages

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.