SORNKan Publish

com.sornkan由 sornkan.com 發布官方發布者v1.0.1更新於 Nov 22, 2026

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

已驗證Streamable HTTP可網頁執行雲端與基礎設施瀏覽器自動化

概覽

AI 產生的概覽

把 zip 打包的靜態網站發佈到託管子網域,支援掃描、預覽,並透過 USDC 或信用卡付費上線與續約。

可以做什麼
取得逐步發佈計畫,把 zip(最大 3MB)上傳到指定網址;本機沒有檔案時把投遞連結交給使用者。在不部署的情況下掃描 zip 中的不安全檔案,並部署一次性預覽 Worker 查看結果。查詢預覽剩餘時間以及預覽是否仍可認領。把已預覽的網站認領為指定 slug 的正式網站、續約託管,並透過 CNAME 綁定既有網域。把修改後的 zip 重新部署到線上網站,並用 Chromium 渲染任意公開網址,回傳 Markdown 文字、截圖與證據頁。
適用情境
適合讓助理把已完成的靜態網站 zip 走完掃描、預覽與上線流程,託管在子網域上;也適合渲染並留存公開網頁的證據。較適合小型靜態網站,而非應用程式後端。
執行需求
遠端端點 publish.sornkan.com,使用 streamable HTTP;未宣告註冊或 API 金鑰。發佈、超出每日免費額度的預覽、編輯、續約、自訂網域與網頁渲染都需付費,通常使用持有 Base 上 USDC 的 x402 錢包,或透過信用卡/PromptPay 付款連結。zip 須由用戶端上傳,不能貼進對話。
安裝前請注意
多數操作會產生費用:上線與續約 1 USDC,編輯 0.50 USDC,額外預覽 0.10 USDC,自訂網域 1 USDC,渲染每次 0.005 USDC。伺服器要求助理在付費前先與使用者確認,並確認內容合法。網站歸屬綁定付款錢包或 editToken,遺失後可能無法編輯或續約;過期網站會被刪除,slug 可能無法保留。上傳內容會部署到第三方託管。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 SORNKan Publish,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.sornkan%2Fpublish-website/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

README

該儲存庫沒有 README。

工具

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.

無需輸入參數。

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.

無需輸入參數。

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.

輸入參數uploadId必填

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.

輸入參數uploadId必填

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.

輸入參數uploadId必填

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.

輸入參數slugemailuploadId必填editToken

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.

輸入參數slug必填editToken

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.

輸入參數slug必填hostname必填editToken

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.

輸入參數slug必填tokensuploadId必填editToken

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

輸入參數url必填fullPage

版本歷史

2
  1. v1.0.1最新Oct 13, 2026
  2. v1.0.0Sep 16, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。

其他 Sornkan 整合