27c.site is an AI-first website publishing platform built on Cloudflare Workers. You can send the prompt to Cursor, Trae, WorkBuddy, or another AI tool that can run commands; it can connect to the 27c.site MCP server, write the website, generate assets, and publish it. If MCP is not available, the same agent can use the HTTP API fallback.
The platform serves user sites at <subdomain>.27c.site or <subdomain>.27ai.cloud, with deployment history, rollback, built-in data storage, and no manual management dashboard.
- AI-driven website creation and one-click publishing
- Standard MCP server at
POST /mcp - HTTP API for clients that cannot install MCP
- Static HTML, CSS, JavaScript, images, video, and other assets
- Per-site subdomains on
27c.siteand27ai.cloud - Deployment history and rollback
- Built-in site data storage shaped around the site's real features, including orders, bookings, products, directories, inventory, comments, votes, and more
- English and Simplified Chinese platform pages
- No ads or third-party tracking scripts on platform or hosted sites
Requirements: Node.js 20+ and npm.
npm install
npm run devThe local Worker runs at http://localhost:8788 by default.
Run the checks before publishing:
npx tsc --noEmit
npm testThe Worker configuration is in wrangler.toml. It uses:
- KV namespace
SITE_STORAGEfor accounts, sessions, subdomains, and deployment metadata - R2 bucket
SITE_ASSETSfor deployed files and snapshot assets
Create or configure those resources in the Cloudflare account that owns the Worker, then deploy with:
npx wrangler deploy --minifyDo not commit API tokens, .dev.vars, .env files, .wrangler/, or local logs.
The public MCP endpoint is:
https://27c.site/mcp
The machine-readable configuration is available at https://27c.site/mcp-config.
An AI client may install the MCP server in its own client, or call https://27c.site/agent-prompt for the full instructions. Clients without MCP support can use the documented HTTP API directly. MCP and HTTP API are internal execution choices; users should not need to configure either one.
Before changing a site, the AI asks for the account, site brief, preferred subdomain, and platform domain. A complete example brief can provide the site brief itself, so only the remaining publishing details need to be asked. The AI must keep the user's language and mixed Chinese/English requirements intact while using the best language for code and tool instructions.
src/index.ts— Worker entry point and routingsrc/routes/— API and hosted-site routessrc/mcp.ts— Streamable HTTP MCP server and tool dispatchsrc/agent-prompt.ts— installer and full agent instructionssrc/pages/— platform HTML pagessrc/locales/— English and Simplified Chinese UI dictionariessrc/example-prompts.ts— verbatim example website briefssrc/database.ts— built-in site data storagesrc/db.ts— KV/R2 metadata and file storagesrc/skills/— frontend design skill served to new-site agents
This project is released under the MIT License. See LICENSE.