Inspiration
Every landing page I built for a client came with a monthly bill and a lock-in. The page was static. The bill wasn't. I wanted a visual builder that handed me the files at the end, and that my coding agent could work in too.
What it does
Swebsy is a visual website builder that runs in the browser. Start from one of 30+ templates or a blank canvas, drag in any of 400+ blocks (heroes, pricing tables, FAQs, footers), style everything from a design panel and preview desktop, tablet and mobile. Projects live in your browser, so you don't need an account to build.
It also ships an MCP server, @swebsy/mcp. Claude Code, Cursor, Codex or Windsurf can drive the editor directly over a local bridge, with your own plan and model. Every change the agent makes lands in the editor as real components, so you can watch it, undo it or tweak it by hand.
When it's done, export a ZIP of static HTML/CSS/JS, deploy to your own GitHub Pages or Cloudflare Pages, or publish one site free on yourname.swebsy.site.
How we built it
- Studio: React + GrapesJS, local-first with PouchDB/IndexedDB
- Backend: Hono on Cloudflare Workers, D1 and R2, for accounts, sync and hosting
- AI tools: one schema for every editing tool, shared by the in-app AI Builder and the MCP bridge, so the same command does the same thing on both
Challenges
Keeping the agent and the human on the same document. An agent can write any HTML it likes, but if it doesn't map to editable components the person can't touch it afterwards. Most of the work went into making agent edits land as the same blocks a person would drag in.
What's next
More templates, and a no-install connector for chat apps.
Built With
- cloudflare-d1
- cloudflare-r2
- cloudflare-workers
- grapesjs
- hono
- mcp
- pouchdb
- react
- typescript
- vite