Static site generator / website building toolkit for AI coding agents like Claude, Codex, Cursor, Gemini, OpenClaw, etc. No subscription, no lock-in — host your site anywhere.
# sitemd
Websites from Markdown. Built for AI coding assistants.
sitemd turns a folder of markdown files into a production-ready static website with navigation, search, themes, forms, analytics, SEO, and more — all configured through simple settings files.
## Quick Start
```bash
git clone https://github.com/sitemd-cc/sitemd.git my-site
cd my-site
./sitemd/install
./sitemd/sitemd launch
```
Open the dev server URL to see your site (port configured in `sitemd/settings/build.md`, default 4747). No Node.js required.
## AI Integration
sitemd includes an MCP server that works with Claude Code, Cursor CLI, and Codex CLI. The `.mcp.json` at the project root configures it automatically.
**Available MCP tools:** page management, content generation, site status, settings, deploy, clone, and more.
## Project Structure
```
my-site/
sitemd/ ← Product directory
sitemd ← Compiled binary
install ← Bootstrap script (downloads binary)
pages/ ← Your markdown content
settings/ ← Site configuration (YAML frontmatter)
theme/ ← CSS and HTML templates
media/ ← Images and assets
site/ ← Built output (gitignored)
site.md ← Setup instructions
```
## Features
- **Pages from Markdown** — Write content in `.md` files with frontmatter
- **Navigation** — Header, footer, sidebar groups, dropdowns, search
- **Themes** — Light, dark, paper modes with full color customization
- **Cards, Embeds, Galleries** — Rich content components
- **Forms** — Multi-page forms with conditional logic and webhooks
- **Analytics** — Google Analytics, Plausible, Fathom, PostHog, and more
- **SEO** — OG images, sitemaps, structured data, AI crawler control
- **User Auth** — Supabase, Firebase, Clerk, Auth0, custom API
- **Dynamic Data** — Connect to Supabase, Firebase, Airtable, REST APIs
- **Deploy** — `sitemd deploy` to Cloudflare, or host `site/` anywhere
## CLI Commands
```bash
./sitemd/sitemd launch Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.