SORNKan Publish

com.sornkanPublished by sornkan.comOfficial publisherv1.0.1Updated Nov 22, 2026

Host a static website from a zip: $1 USDC/month via x402 on Base, or card/PromptPay link.

VerifiedStreamable HTTPWeb executableCloud & InfrastructureBrowser Automation

Overview

AI-generated overview

Publishes a static website from a zip file to a hosted subdomain, with scanning, previews, paid go-live and renewal via USDC or card.

What you can do
Get a step-by-step publishing plan and upload a zip (up to 3MB) to a provided URL, or hand the human a drop link if no file exists locally. Scan an uploaded zip for unsafe files without deploying, and deploy a throwaway preview Worker to see the result. Check remaining preview time and whether a preview is still claimable. Claim an inspected preview as a live site on a chosen slug, renew hosting, and connect an existing hostname by CNAME. Redeploy an edited zip to a live site, and render any public URL in Chromium for markdown text, a screenshot and an evidence page.
When to use it
Useful when you want an assistant to take a finished static site packaged as a zip through scanning, preview and go-live on a hosted subdomain, or to render and capture a public page. It suits small static sites rather than application backends.
Requirements
Remote endpoint at publish.sornkan.com over streamable HTTP; no signup or API key declared. Publishing, previews beyond the free daily quota, edits, renewals, custom hostnames and page renders are paid, typically with an x402 wallet holding USDC on Base, or by card/PromptPay payment link. The zip must be uploaded by the client, not pasted into chat.
Before you install
Most actions cost money: go-live and renewal are $1 USDC, edits $0.50, extra previews $0.10, custom hostname $1, renders $0.005 per call. The server asks the assistant to confirm with the human before paying and to check legality of content. Ownership is tied to the paying wallet or an editToken, so losing either can block edits or renewal; an expired site is deleted and its slug may be lost. Uploaded content is deployed to a third-party host.

Installation

In SourceWeft

  1. Open SORNKan Publish in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.sornkan%2Fpublish-website/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "sornkan-publish": {
      "type": "http",
      "url": "https://publish.sornkan.com/mcp"
    }
  }
}

README

This repository has no README.

Tools

10

publish_website

START 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.

Takes no parameters.

upload_url

If 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.

Takes no parameters.

scan

Check 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.

ParametersuploadIdrequired

inspect

Deploys 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.

ParametersuploadIdrequired

preview_status

Read 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.

ParametersuploadIdrequired

claim

Claim (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.

ParametersslugemailuploadIdrequirededitToken

renew

Renew 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.

ParametersslugrequirededitToken

connect_custom_hostname

Connect 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.

ParametersslugrequiredhostnamerequirededitToken

edit

Check 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.

ParametersslugrequiredtokensuploadIdrequirededitToken

render_page

Render 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).

ParametersurlrequiredfullPage

Version history

2
  1. v1.0.1LatestOct 13, 2026
  2. v1.0.0Sep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.

Other Sornkan integrations