SORNKan Publish
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Host a static website from a zip: $1 USDC/month via x402 on Base, or card/PromptPay link.
| Author | com.sornkan |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 443 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"SORNKan Publish": {
"url": "https://publish.sornkan.com/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (10)
publish_websiteread-onlySTART HERE: get the step-by-step website publishing plan. This tool only returns instructions — it never uploads, deploys, or goes live by itself; follow the plan with upload_url → scan → inspect → claim. ALWAYS ask the human first: go live for $1 USDC first 30 days? content legal? Then: upload_url → PUT putUrl (else give dropUrl) → inspect → show previewUrl → preview_status to read remaining time (never inspect again just for the clock) → ask which slug they want → claim with the UUID from inspect plus slug, never the preview URL. Live URL is {slug}.worldsite.workers.dev — not {slug}.workers.dev. Pretty names: CNAME their domain after claim. If claim returned PRICE_COMPUTE_FAILED, retry claim — no USDC was taken. Only if a signed payment failed settlement, tell the human [email protected] and do not retry payment. Never put the zip in chat.
Hints: read-only yes · destructive no · idempotent yes · open-world no
upload_urlIf you have the zip, PUT putUrl yourself (max 3MB). Do not put zip in chat. Only send dropUrl to the human if you have no file.
Hints: read-only no · destructive no · idempotent no · open-world no
scanread-onlyCheck an uploaded zip for unsafe files WITHOUT deploying anything. Free, never 402, burns no preview quota — use this while iterating on the zip (scan → fix → upload_url again → scan). When the content is clean and the human wants to SEE it, call inspect to deploy a throwaway preview Worker. Verdict here is advisory: inspect re-checks before deploying.
Parameters:
uploadId(required) — string — UUID of the uploaded zip to check, from upload_url
Hints: read-only yes · destructive no · idempotent yes · open-world no
inspectDeploys a throwaway preview Worker at preview-*.worldsite.workers.dev (not publish.sornkan.com) after scanning the zip. This is the DEPLOY step — it counts against the free preview quota (first 3/day, then $0.10). The 4th+ can be paid two ways: sign the x402 retry with USDC on Base, or show the 402’s payment_url to the human (card / Thai PromptPay, same $0.10). Use scan (free, nothing deployed) while iterating on the zip; call inspect only when the human wants to see a preview. Do NOT inspect again just to read remaining time — use preview_status. If claimable is false, upload_url again; do not pay for that old id. Successful claim resets the free preview quota. After the human approves, ask which slug they want, then claim with the UUID and slug.
Parameters:
uploadId(required) — string — UUID of the uploaded zip to deploy as a preview, from upload_url
Hints: read-only no · destructive no · idempotent no · open-world no
preview_statusread-onlyRead remaining preview time. uploadId is the UUID (a preview URL is OK). Does not scan, does not reset the clock, never 402. If claimable is false, the preview was deleted — call upload_url, PUT a new zip, inspect, then claim. Do not inspect or claim the old id. Do not pay. Use this instead of inspect when you only need the clock.
Parameters:
uploadId(required) — string — Preview UUID to check — the part after /preview/ if you only have a preview URL
Hints: read-only yes · destructive no · idempotent yes · open-world no
claimClaim (activate) an inspected preview as a live site at {slug}.worldsite.workers.dev. This is the paid go-live step ($1 USDC first 30 days); publish_website only returns the plan and never goes live by itself. Call preview_status first — if claimable is false, do not pay. Ask which slug they want before paying. Live URL is {slug}.worldsite.workers.dev — not {slug}.workers.dev. Pretty names: CNAME their domain after claim. uploadId MUST be the UUID from inspect (not previewUrl). If you only have https://publish.sornkan.com/preview/<uuid>, pass that UUID. If you have no wallet, get payment_url from the 402 response and show it to the human — they pay by card or Thai PromptPay in THB (no crypto needed); after they pay, poll preview_status/retry until live. If the last claim returned PRICE_COMPUTE_FAILED, retry this tool — no USDC was taken. If a signed payment failed settlement, tell the human [email protected] and do not retry payment.
Parameters:
uploadId(required) — string — UUID from inspect — the part after /preview/, never the full preview URLslug— string — Lowercase site name to claim; live URL is {slug}.worldsite.workers.dev (ask the human first)email— string — Receipt email for card/PromptPay payers (optional)editToken— string — Edit token of a site paid by card/PromptPay (shown once at claim and emailed to the payer). Required to edit/renew/connect a domain on such a site.
Hints: read-only no · destructive no · idempotent no · open-world yes
renewRenew hosting +30 days for $1 USDC. Same claiming wallet (or editToken for a card-paid site). Allowed only while the site is live and remaining < 90 days (stacked cap 90). After expiry renew is unavailable — claim again as a new site; last day without renew means the site is deleted and the slug is free. Support: [email protected]. If you have no wallet, get payment_url from the 402 response and show it to the human — they pay by card or Thai PromptPay in THB (no crypto needed); after they pay, poll preview_status/retry until live.
Parameters:
slug(required) — string — Live site slug to renew — the {slug} in {slug}.worldsite.workers.deveditToken— string — Edit token of a site paid by card/PromptPay (shown once at claim and emailed to the payer). Required to edit/renew/connect a domain on such a site.
Hints: read-only no · destructive no · idempotent no · open-world yes
connect_custom_hostnameConnect an existing hostname via CNAME to sites.sornkan.com (no registrar). One-time $1 USDC, same claiming wallet (or editToken for a card-paid site), while lease is live. If the bind is refused after a card payment, the payment stays as a credit: retry with HTTP POST https://publish.sornkan.com/custom-hostname {slug, hostname} plus header X-Edit-Token — no new payment. If the hostname is already on Cloudflare, keep the CNAME proxied. Not a monthly fee. If you have no wallet, get payment_url from the 402 response and show it to the human — they pay by card or Thai PromptPay in THB (no crypto needed); after they pay, poll preview_status/retry until live.
Parameters:
slug(required) — string — Live site slug to attach the hostname tohostname(required) — string — Your own domain to point at the site (e.g. www.example.com); CNAME it to sites.sornkan.comeditToken— string — Edit token of a site paid by card/PromptPay (shown once at claim and emailed to the payer). Required to edit/renew/connect a domain on such a site.
Hints: read-only no · destructive no · idempotent no · open-world yes
editCheck the zip for unsafe files, then redeploy the live Worker. Flat $0.50 per edit on every rail (x402 wallet or card/PromptPay payment_url). Does not extend lease days. Ownership: a site claimed with a wallet must be edited by paying from that same wallet; a site paid by card/PromptPay needs its editToken (shown once at claim and emailed to the payer). If you have no wallet, get payment_url from the 402 response and show it to the human — they pay by card or Thai PromptPay in THB (no crypto needed); after they pay, poll preview_status/retry until live.
Parameters:
uploadId(required) — string — UUID of the new zip to deploy (call upload_url first)slug(required) — string — Live site slug to redeploytokens— number — Approximate token size of the change (optional, informational — edits are flat $0.50)editToken— string — Edit token of a site paid by card/PromptPay (shown once at claim and emailed to the payer). Required to edit/renew/connect a domain on such a site.
Hints: read-only no · destructive no · idempotent no · open-world yes
render_pageread-onlyRender any public URL in a real browser (Chromium). Returns markdown text, a screenshot URL, and a human-checkable evidence page URL. $0.005 per call. No signup, no API key. x402 wallet required. Pass fullPage:true for the entire scrollable page (same price).
Parameters:
url(required) — string — Public https URL to renderfullPage— boolean — Capture entire scrollable page (same $0.005)
Hints: read-only yes · destructive no · idempotent yes · open-world yes
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.