Preview in a portal replica
gamealia_previewLaunch a local preview of a built web game inside a replica Gamealia page with mock ads, then get the page and bare game URLs to open. No login or upload; stop it when done.
Instructions
Serves the build (built first unless build:false) inside a local replica of the Gamealia game page (the real portal frame plus mock ads) on 127.0.0.1 and returns the page URL and the bare game URL for the user (or you) to open. No login, nothing is uploaded. It keeps running until stop:true or the MCP server exits; calling it again for the same folder restarts it. For automated checks use gamealia_run_autotest; to play it yourself, gamealia_playtest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Project folder (absolute, or relative to the server's working directory) | |
| stop | No | Stop the preview of this folder instead of starting one | |
| build | No | Run the build command first when the project has one (default true) | |
| title | No | Title shown on the replica page (default: the build's index.html <title>, else "Preview") |