demo.st
Reserve a subdomain, upload .zip via MCP, get a link. Optional document API at api.demo.st.
ماذا يمكنك أن تفعل مع demo.st؟
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; usezip_base64(easiest for agents) orfile_urlfor a public zip URL (token required).clear_site— Remove deployed content; subdomain stays reserved (token required).release_subdomain— Release your subdomain (token required).
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http demo-st 'https://demo.st/mcp' --header 'Authorization: <Bearer token from https://demo.st (sign in → MCP page → copy token, or GET /api/mcp/token). Required for hosting and document API tools.>'
{
"mcpServers": {
"demo-st": {
"type": "http",
"url": "https://demo.st/mcp",
"headers": {
"Authorization": "<Bearer token from https://demo.st (sign in → MCP page → copy token, or GET /api/mcp/token). Required for hosting and document API tools.>"
}
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
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).
- Site: https://demo.st
- MCP endpoint: https://demo.st/mcp
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:
- Sign in at https://demo.st (create an account if needed).
- Open https://demo.st/api/mcp/token or the MCP page and copy the token.
- 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.
- Windows (PowerShell):
- 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; usezip_base64(easiest for agents) orfile_urlfor 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.
الأسئلة الشائعة
ما هو demo.st؟
Reserve a subdomain, upload .zip via MCP, get a link. Optional document API at api.demo.st.
كيف أثبّت demo.st؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http demo-st 'https://demo.st/mcp' --header 'Authorization: <Bearer token from https://demo.st (sign in → MCP page → copy token, or GET /api/mcp/token). Required for hosting and document API tools.>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج demo.st إلى مفتاح API؟
نعم. يتطلب Authorization، وتضبطها في إعداداته.
هل demo.st مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون demo.st؟
ينشره demo-stage. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.