List Draft Pages
Lists all draft pages on the site, from every author, newest-modified first. Users who cannot edit others' pages only see their own drafts.
| Property | Value |
|---|---|
| Ability slug | mosmcp/page-list-drafts |
| Wire tool name | mosmcp__page-list-drafts |
| Category | Pages (mosmcp-pages) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_pages |
| Minimum default role | Editor |
| 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 |
| drafts | object[] | Yes |
| drafts[].id | integer | Yes |
| drafts[].title | string | Yes |
| drafts[].author_name | string | |
| drafts[].excerpt | string | |
| drafts[].modified | string | Yes |
| drafts[].edit_url | string |
Example
Sample prompt
Which pages are still sitting in draft?
Example request (json)
{
"jsonrpc": "2.0",
"id": 39,
"method": "tools/call",
"params": {
"name": "mosmcp__page-list-drafts",
"arguments": {
"input": {
"per_page": 10
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 39,
"result": {
"isError": false,
"structuredContent": {
"showing": 1,
"total": 1,
"drafts": [
{
"id": 57,
"title": "Careers",
"author_name": "Jane Doe",
"excerpt": "Join our growing team of bakers and baristas.",
"modified": "2026-09-28 08:30:00",
"edit_url": "https://example.com/wp-admin/post.php?post=57&action=edit"
}
]
}
}
}
Edge cases / errors
- Users who cannot edit others' pages only see their own drafts.
- No drafts → showing and total are 0 with an empty drafts list.
- excerpt is the manual excerpt, or the first 20 words of the content; per_page is capped at 100.
| << Previous | Next >> |
|---|---|
| List All Pages | List Own Draft 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.