mcp-easy-ai__wp_create_preview_link
Creates a temporary preview link for an unpublished post, page or custom post type item (draft, pending, scheduled or private). Opening the link shows the item rendered by the theme exactly as a visitor will see it once published, with no login, so a browser or fetch tool can check layout, images and styling. Required: post_id. Optional: expires_in_minutes (5–1440, default 60). Anyone with the link can view the item until it expires; a link cannot be revoked early, and stops working if you lose edit access to the item. The page shows the item as saved when it is opened, so after editing ask for a new link, since a fetch tool may return its cached copy of an old URL. A published item is refused with its public URL. Requires edit access to the item. Returns { post_id, post_type, status, url, expires_at, expires_in_minutes, notice }. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ID of the post, page or custom post type item to preview. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| expires_in_minutes | No | How long the link works, in minutes: 5 to 1440 (24 hours). Default 60. |