M
mcp
/publish_site
publish site
Deploy files to a live URL. No slug → create a NEW site (works without auth; anonymous sites expire in 24h — always show the user the claimUrl). With slug → UPD
liveunknown~5s typical
mcpmcp
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-dataecho-mcp /publish_site for me.
Input
| Field | Type | Description |
|---|---|---|
| files* | array | Files to publish. Each file: { path, content (utf-8 text) OR contentBase64 (binary), conte |
| slug | string | Existing site slug to update (omit to create a new site) |
| title | string | Viewer page title (used when there's no index.html) |
| description | string | Viewer page description |
| spa | boolean | Enable SPA fallback routing (serve index.html for unknown paths) |
| ttlSeconds | number | Expiry for authenticated sites, in seconds |
| claimToken | string | Claim token — required to update an anonymous site without auth |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-ai-dataecho-mcp","endpoint":"/publish_site","input":{"files":[]}}'cli
npx cracked-ai run -p mcp-ai-dataecho-mcp -e /publish_site -i '{"files":[]}'mcp
run_tool({ provider: "mcp-ai-dataecho-mcp", endpoint: "/publish_site", input: {"files":[]} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.