# sitemd: the best way to build websites with OpenClaw

center:
![sitemd + openclaw](/media/content/agents/sitemd+openclaw.svg +height:300)
/center

# The best way to build websites with OpenClaw

sitemd is a **static site generator** / **website building toolkit** for AI agents like OpenClaw.\n\nIt's a complete agent-driven framework with MCP server, dev server, guardrails, best practices, and one-line integrations for essentials like SEO, analytics, content generation, doc writing, user login, content gating, dynamic data + detail pages, and more.\n\nIt's a site-building superpower for OpenClaw.

{#install}
## Install sitemd for OpenClaw

Scaffold a fresh sitemd project on the machine where your OpenClaw agent runs:

```bash
npx @sitemd-cc/sitemd init my-site
cd my-site
```

The sitemd binary is fetched automatically as part of `npx init` (via the package's `postinstall` hook) — no separate install step. Point your OpenClaw agent at the project directory and it picks up the MCP server, skills, and tools.

Already have a sitemd project on disk and want the [ClawHub](https://clawhub.com+newtab) marketplace integration? Run:

```bash
openclaw plugins install sitemd-plugin
openclaw skills install sitemd
```

That registers the MCP server with your OpenClaw gateway and exposes the full sitemd toolset to your agents. The plugin alone does not install the sitemd binary — it expects you to already have a sitemd project on disk. Use `npx @sitemd-cc/sitemd init` above for a fresh start.

Plugin source: [openclaw.plugin.json](https://github.com/sitemd-cc/sitemd/blob/main/openclaw.plugin.json+newtab) at the root of the public sitemd repo.

button: Install Now: /install +big +icon:download
button: Read the Docs: /docs +big +outline +icon:book-open

---

{#why}
## Why use sitemd with OpenClaw

Your OpenClaw agent will already happily build websites from scratch. Adding sitemd makes the process faster and reduces friction.

sitemd is a super-efficient toolkit for AI agents to build websites. It ships with:

- **A full suite of MCP tools** for pages, settings, content generation, SEO, deploy, auth, and more — your OpenClaw agent calls them directly, no manual file editing required
- **A ClawHub plugin** that registers the MCP server with your OpenClaw gateway and exposes the full sitemd toolset to every agent on your gateway
- **A drop-in `SOUL.md` template** so you can spin up a website-builder personality in seconds
- **A complete framework** under the hood: auth, gated content, forms, deploy targets, image handling, dynamic data, theming, premium modules — none of which you or your agent have to invent
- **Markdown all the way down** — every page, every setting, every navigation file is human-readable `.md`. OpenClaw agents read markdown natively, edit it confidently across sessions, and never have to reverse-engineer an external build system

---

{#scratch}
## Why not just prompt my agent to build a site from scratch?

sitemd is a site-building superpower for OpenClaw. It helps your agent build a consistent working site quickly by skipping all the scaffolding that's already baked-in to sitemd. sitemd is still very flexible and customizable, so you and your agent can still build sites however you want. sitemd also ships with one-line integrations for essentials like SEO, analytics, content generation, doc writing, user login, content gating, dynamic data + detail pages, and more that would take considerable time for you and your agent to build from scratch.

---

{#out-of-the-box}
## What OpenClaw gets out of the box

- **A full suite of MCP tools** — page CRUD, content generation, SEO audit, deploy, auth, dynamic data, batch operations
- **ClawHub plugin** — one-command install, automatic MCP registration with your OpenClaw gateway
- **Drop-in `SOUL.md` template** — ready-made website-builder personality for your agent
- **Auto-generated SEO** — Open Graph, JSON-LD, sitemap, robots.txt, llms.txt, OG images
- **Deploy targets** — Cloudflare Pages, Netlify, Vercel, GitHub Pages with one command
- **Auth providers** — Supabase, Firebase, Clerk, Auth0, custom API
- **Dynamic data** — Supabase, Firebase, Airtable, REST API with auto-generated detail pages
- **Forms, embeds, galleries, modals, gated content, theming, dark mode, i18n-friendly markdown**

---

{#first-site}
## Build your first site with OpenClaw

Once installed, message your OpenClaw agent:

> "Build me a website for my photography portfolio"

Your agent calls `sitemd_status`, then `sitemd_site_context` to learn the conventions, then `sitemd_pages_create_batch` to scaffold pages, then `sitemd_content_validate` to check quality, then `sitemd_deploy` when you confirm. All from chat. You never touch a code editor — the deploy URL comes back in your messaging app.

You can keep iterating from chat:

> "Add a blog post about our latest shoot"

> "Update the about page — I'm based in Lisbon now"

> "Deploy the site"

Your agent handles every MCP call. You just describe what you want.

---

{#faq}
## OpenClaw FAQ

**Does sitemd work with OpenClaw?**\n
Yes. The recommended path is `npx @sitemd-cc/sitemd init my-site` on the machine where your agent runs — that scaffolds a project and downloads the binary automatically via the npm postinstall hook. Then point your agent at the directory. You can also `openclaw plugins install sitemd-plugin` for the [ClawHub](https://clawhub.com+newtab) marketplace integration once you have a sitemd project on disk.

**What MCP tools does sitemd give my OpenClaw agent?**\n
A full suite of tools covering page CRUD, content generation, SEO, deploy, auth, dynamic data, batch operations, content validation, and project status. See [MCP Server](/docs/mcp-server) for the full list.

**Do I have to host my site with sitemd?**\n
No, and you couldn't even if you wanted to. sitemd isn't a website hosting service — it's a website building toolkit your agent installs on its machine. Your agent builds your site locally, then [deploys & hosts wherever you want](/docs/deploy#deploy-targets).

**Is there a free version/trial?**\n
Yes. sitemd can run in [free trial mode](/docs/build-modes#trial-mode) forever. You can preview [all features](/docs/build-modes#all-features-work-in-both-modes) in trial mode. You only need to pay when it's time to deploy your site.

**Can I use sitemd for client sites?**\n
Absolutely. 15% bulk discount when purchasing 50+ site slots at one time.

**What other agents does sitemd support?**\n
[Claude Code](/for/claude-code), [Cursor](/for/cursor), [Codex](/for/codex), [Gemini](/for/gemini), and any MCP-capable agent. The same MCP server and skill format work across all of them.

---

# Get Started
card: Try it in your browser
card-icon: panel-top
card-link: Demo sandbox: https://demo.sitemd.cc+newtab
card: Read all about it
card-icon: book-open
card-link: Docs: /docs
card: Try it on your machine
card-icon: download
card-link: Install: /install
card: Buy it
card-icon: shopping-cart
card-link: Purchase: /upgrade