sitemd
sitemd
基于 Markdown 的网站构建工具。专为 AI 编程助手打造。
sitemd 可将 Markdown 文件文件夹转换为生产就绪的静态网站,包含导航、搜索、主题、表单、分析、SEO 等功能——所有配置均通过简单的设置文件完成。
快速开始
git clone https://github.com/sitemd-cc/sitemd.git my-site
cd my-site
./sitemd/install
./sitemd/sitemd launch打开开发服务器 URL 即可查看您的网站(端口在 sitemd/settings/build.md 中配置,默认为 4747)。无需 Node.js。
Related MCP server: seite
AI 集成
sitemd 包含一个可与 Claude Code、Gemini CLI 和 Codex CLI 配合使用的 MCP 服务器。项目根目录下的 .mcp.json 会自动对其进行配置。
可用的 MCP 工具: 页面管理、内容生成、网站状态、设置、部署、克隆等。
项目结构
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功能特性
基于 Markdown 的页面 — 使用带有 frontmatter 的
.md文件编写内容导航 — 页眉、页脚、侧边栏分组、下拉菜单、搜索
主题 — 亮色、暗色、纸质模式,支持完全的颜色自定义
卡片、嵌入、画廊 — 丰富的组件内容
表单 — 带有条件逻辑和 Webhook 的多页表单
分析 — Google Analytics、Plausible、Fathom、PostHog 等
SEO — OG 图像、站点地图、结构化数据、AI 爬虫控制
用户认证 — Supabase、Firebase、Clerk、Auth0、自定义 API
动态数据 — 连接到 Supabase、Firebase、Airtable、REST API
部署 — 使用
sitemd deploy部署到 Cloudflare,或将site/托管在任何地方
CLI 命令
./sitemd/sitemd launch # Start dev server
./sitemd/sitemd deploy # Build and deploy
./sitemd/sitemd clone <url> # Clone a website into this project
./sitemd/sitemd auth login # Log in to your account
./sitemd/sitemd config setup # Configure services
./sitemd/sitemd scratch # Reset to blank-slate
./sitemd/sitemd update # Update to latest version文档
完整文档请访问 sitemd.cc/docs
许可证
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI website builder: build, publish and edit websites from Claude, ChatGPT or Claude Code.
Build and host working websites from ChatGPT or Claude, with templates and a built-in database.
Build, edit and publish websites from Claude, ChatGPT, Cursor and Gemini. No code — Zarla hosts it.
Turn Claude or ChatGPT into a website builder that ships a real site to a live URL you own.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGenerates HTML, CSS, JavaScript components and complete websites using free LLMs (Groq and Google Gemini). Supports multiple AI models for creating web content through natural language prompts.2MIT
- AlicenseNot gradedqualityBmaintenanceAI-native static site generator with built-in MCP server and Claude Code integration29MIT
- AlicenseBqualityBmaintenanceLightweight content management system for websites, built for the AI era12934MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to self-host static websites by creating projects, editing files, previewing drafts, and publishing versioned releases with custom domains and a web dashboard.MIT