Create Preview Link


Makes a private, expiring link to a draft, pending or scheduled post, page or other public content, which anyone holding it can open without signing in. Use it so the person can check your work straight from the chat, or share a draft with a colleague or client before it goes live. The link shows the latest saved version, is hidden from search engines and caches, expires after 48 hours by default (up to 7 days), and can be cancelled with mosmcp/preview-link-revoke. Published content does not need one.

Also known as: share draft, preview link, show me the draft, send draft for review, public preview.

Property Value
Ability slug mosmcp/preview-link-create
Wire tool name mosmcp__preview-link-create
Category Preview Links (mosmcp-previews)
Plan Free

 

Required access

Requirement Value
Capability edit_post (checked against the specific post)
Minimum default role Contributor
Annotations readOnly: false · destructive: false · idempotent: false · openWorld: false

 

Input schema

Field Type Required Default Description
id integer (min 1) Yes — ID of the draft post, page or other content item.
hours integer (1–168) 48 How long the link works, in hours.

 

Output schema

Field Type Required Description
id integer Yes
title string
status string
url string Yes The link to share.
expires_at string Yes Expiry in the site's time zone.
expires_at_gmt string
active_links integer Unexpired links for this content, including this one.
notes string[]

 


<< Previous Next >>
Update Widget Revoke Preview Links

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.