Publish static site preview via AIfra MCP
A temporary public URL for a static site preview is generated and returned, valid for 48 hours, allowing immediate sharing of web assets without permanent hosting.
How it works
The agent first verifies the project's 'dist' folder contains valid static assets (HTML/CSS/JS). It then explains the public nature of the link, the 48-hour expiration, and file size limits (50 MiB) to the user, requesting explicit consent. Upon approval, the agent calls 'create_preview' with the directory path and 'accept_terms: true'. Finally, it retrieves the status using 'get_preview_status' to confirm completion and returns the resulting URL and expiration time to the user.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Please check the 'dist' folder in the current project. If it contains a valid static site (index.html, CSS, JS), explain the AIfra preview conditions: the link will be public, noindexed, and expire in 48 hours. Ask for my explicit consent to publish. Once I agree, use the AIfra MCP to create a preview of the 'dist' directory, accept the terms, and return the final URL and expiration time.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
После вашего явного согласия агент вызывает create_preview с directory: "dist" и accept_terms: true.MCP AIfra: публикация из агента или облачного чата · AIfra