demo.st

st.demo由 demo.st 發布官方發布者v1.1.0更新於 Oct 25, 2026

Reserve a subdomain, upload .zip via MCP, get a link. Optional document API at api.demo.st.

已驗證Streamable HTTP可網頁執行雲端與基礎設施檔案與儲存

概覽

AI 產生的概覽

demo.st 的遠端 MCP 伺服器,讓助理預留子網域、發布打包的靜態網站,並管理該網站的小型文件儲存。

可以做什麼
檢查子網域是否可用,每個帳號預留一個子網域,完成後可釋放(釋放會同時刪除網站及其文件資料)。透過 base64、公開網址或本機路徑上傳 .zip 作為網站內容,並可清除已部署內容而保留預留。取得或輪換用於呼叫網站文件 API 的公開網站 API 金鑰。列出、建立和刪除文件集合,並列出、寫入或更新、刪除其中的 JSON 記錄。
適用情境
適合讓助理把快速製作的靜態原型或展示發布到乾淨的公開連結,無需自行架設主機,並在其後保留一個小型 JSON 文件儲存。
執行需求
透過 streamable HTTP 連線至 demo.st 的遠端端點。需要 demo.st 帳號,並在 Authorization 標頭中提供 Bearer 權杖,登入後從 MCP 頁面或權杖端點複製;README 建議將其存入 DEMO_ST_MCP_TOKEN 環境變數。需要網路存取。
安裝前請注意
Authorization 中的 Bearer 權杖可存取你帳號的託管和文件工具,請妥善保管。釋放會刪除預留、已部署網站及該網站的全部文件資料,刪除集合會移除其中所有記錄,皆無法復原。網站 API 金鑰是公開的並嵌入靜態網站中,外洩後應輪換,且切勿使用其他網站的金鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 demo.st,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "demo-st": {
      "type": "http",
      "url": "https://demo.st/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

demo.st

Demo stage for vibe-coded prototypes. Reserve a subdomain, publish from your agent via MCP, get a clean link like yourproject.demo.st. Static hosting only (Nginx; no PHP, no databases).

Cursor plugin

This repo is a Cursor plugin. Install it from the Cursor Marketplace (after it’s published) or add the repo in Cursor to use the demo.st MCP server.

Getting your MCP token

Authenticated tools (reserve subdomain, upload zip, clear, release) require a Bearer token:

  1. Sign in at https://demo.st (create an account if needed).
  2. Open https://demo.st/api/mcp/token or the MCP page and copy the token.
  3. Set it as an environment variable:
    • Windows (PowerShell): $env:DEMO_ST_MCP_TOKEN = "your-token-here"
    • macOS / Linux: export DEMO_ST_MCP_TOKEN="your-token-here"
    • Or add to your shell profile (.bashrc, .zshrc) so Cursor picks it up.
  4. Restart Cursor (or reload the window). The Agent can then use demo.st tools.

MCP tools

  • check_subdomain_availability — Check if a subdomain is available (no token).
  • reserve_subdomain — Reserve a subdomain (token required).
  • upload_site — Upload a .zip as site content; use zip_base64 (easiest for agents) or file_url for a public zip URL (token required).
  • clear_site — Remove deployed content; subdomain stays reserved (token required).
  • release_subdomain — Release your subdomain (token required).

License

See LICENSE.

來源:README.md,提交 8005b98

工具

13

check_subdomain_availability

Check if a subdomain name is available on demo.st (e.g. "my-site" → my-site.demo.st).

輸入參數name必填

reserve_subdomain

Reserve a subdomain for the logged-in account. One subdomain per account.

輸入參數subdomain必填

upload_site

Upload a .zip as site content for your reserved subdomain. Easiest for agents: zip_base64 (base64-encoded zip). Or file_url (public URL to zip). Or file_path (local path, when MCP runs locally).

輸入參數file_urlfile_pathzip_base64

clear_site

Remove deployed site content from your subdomain. Subdomain remains reserved.

無需輸入參數。

release_subdomain

Release your reserved subdomain. Deletes the reservation, any deployed site, and all document DB data for that site.

無需輸入參數。

get_site_api_key

Get (or create) the public site API key for your reserved subdomain. Embed this key in your static site and call https://api.demo.st/v1 with Authorization: Bearer <key>. Tenant is scoped by the key — never share another site's key.

無需輸入參數。

rotate_site_api_key

Rotate the public site API key. The old key stops working immediately; update your site with the new key.

無需輸入參數。

list_collections

List document collections for your site (api.demo.st document store).

無需輸入參數。

create_collection

Create a document collection (lowercase letter start; letters, numbers, underscores; max 63 chars). Max 20 collections per site.

輸入參數name必填

delete_collection

Delete a document collection and all of its records.

輸入參數name必填

list_records

List records in a document collection.

輸入參數limitoffsetcollection必填

upsert_record

Create or update a JSON record in a collection. Pass data as an object. Optional id to upsert a specific record.

輸入參數iddata必填collection必填

delete_record

Delete a record from a document collection.

輸入參數id必填collection必填

版本歷史

1
  1. v1.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Demo 整合