Schedule Page
Schedules a draft or pending page to be published automatically at a future date and time (site timezone).
| Property | Value |
|---|---|
| Ability slug | mosmcp/page-schedule |
| Wire tool name | mosmcp__page-schedule |
| Category | Pages (mosmcp-pages) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | publish_pages |
| Minimum default role | Editor |
| Annotations | readOnly: false · destructive: false · idempotent: false · openWorld: true |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | The ID of the draft or pending page to schedule. |
| date | string | Yes | — | Future date and time in the site timezone, format: YYYY-MM-DD HH:MM:SS (e.g. 2026-08-01 09:00:00). |
Output schema
| Field | Type | Required |
|---|---|---|
| id | integer | Yes |
| title | string | Yes |
| previous_status | string | |
| new_status | string | Yes |
| scheduled_for | string | Yes |
| edit_url | string |
Example
Sample prompt
Schedule the 'Black Friday' page to go live on November 27 at 9am.
Example request (json)
{
"jsonrpc": "2.0",
"id": 48,
"method": "tools/call",
"params": {
"name": "mosmcp__page-schedule",
"arguments": {
"input": {
"id": 57,
"date": "2026-11-27 09:00:00"
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 48,
"result": {
"isError": false,
"structuredContent": {
"id": 57,
"title": "Black Friday",
"previous_status": "draft",
"new_status": "future",
"scheduled_for": "2026-11-27 09:00:00",
"edit_url": "https://example.com/wp-admin/post.php?post=57&action=edit"
}
}
}
Edge cases / errors
- date not in YYYY-MM-DD HH:MM:SS form → refused with invalid_date (a YYYY-MM-DD HH:MM value is accepted and gets :00 appended).
- date is now or in the past (site timezone) → refused with date_not_future.
- The page is published, private or trashed → refused with invalid_status; draft, pending and already-scheduled pages can be (re)scheduled.
- Requires the publish-pages capability plus edit rights on that page; id that is not a page → page_not_found.
| << Previous | Next >> |
|---|---|
| Restore Page from Trash | Set Page Featured Image |
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.