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、公开 URL 或本地路径上传 .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 集成