Schedule Post


Schedules a draft or pending post to be published automatically at a future date and time (site timezone).

Property Value
Ability slug mosmcp/post-schedule
Wire tool name mosmcp__post-schedule
Category Posts (mosmcp-posts)
Plan Free

 

Required access

Requirement Value
Capability publish_posts
Minimum default role Author
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 post 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 post 42 to go live on October 15th at 9am.

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 23,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__post-schedule",
    "arguments": {
      "input": {
        "id": 42,
        "date": "2026-10-15 09:00:00"
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 23,
  "result": {
    "isError": false,
    "structuredContent": {
      "id": 42,
      "title": "Autumn Sale",
      "previous_status": "draft",
      "new_status": "future",
      "scheduled_for": "2026-10-15 09:00:00",
      "edit_url": "https://example.com/wp-admin/post.php?post=42&action=edit"
    }
  }
}

 

Edge cases / errors

  • date not in YYYY-MM-DD HH:MM:SS form → invalid_date (YYYY-MM-DD HH:MM is accepted and gets :00 appended).
  • date now or in the past → refused with date_not_future.
  • Post that is published, private or trashed → invalid_status; an already-scheduled post can be rescheduled.
  • The time is interpreted in the site timezone set under Settings > General.

 


<< Previous Next >>
Restore Post from Trash Set Post 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.