Self-hostable, single-file PHP CMS. Drop index.php on a server, set an API key, done.
Your coding agent reads, creates, and edits pages over MCP.
curl -LO https://github.com/PageWeave/cms/releases/latest/download/index.php
# Upload index.php to your server's document root
# Visit your domain — done.
CMS running · MCP endpoint at /mcp
Every design decision chosen so that deploying a CMS feels like it should — instant.
Drop index.php on any PHP 8.3+ host. No Composer, no npm, no Docker, no build step.
Content lives as flat HTML files under _cms/. Portable, backup-friendly, zero configuration.
Standard MCP tools for pages, partials, and assets. Your agent edits in real time — no API wrappers needed.
First visit detects your web server, writes routing rules, scaffolds everything, and generates an API key.
PHP runs on virtually every web host on the planet — shared hosting, VPS, dedicated, behind Cloudflare, behind nginx, behind Apache.
No runtime, no daemon, no container. Drop a .php file in a directory and it works. We wanted PageWeave CMS to be easier to deploy than WordPress.
php -l index.php
php -S localhost:8000 -t .
# That is all you need for local dev
Four steps from zero to your AI agent editing your live website.
Get index.php from the latest release. One file, no extras.
Drop it into your web server's document root as index.php.
First visit auto-detects your server, scaffolds _cms/, and generates your API key.
Add the MCP server to your agent config. Start building immediately.
Add this snippet to your opencode.json or MCP client config.
"$schema": "https://opencode.ai/config.json",
"mcp": {
"my-site-pageweave-cms": {
"type": "remote",
"url": "https://your-site.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_KEY"
}
}
}
Then ask your agent: "Let's create a homepage for my website using PageWeave CMS."
Your agent inspects available tools via tools/list. Every standard MCP tool is built in.
ping
Check the MCP server is alive.
list_pages
List all pages with paths and titles.
get_page
Get a page's HTML body, title, and description.
create_page
Create a new page at a given path.
update_page
Overwrite or patch a page's body.
delete_page
Delete a page and its file.
get_component
Get the current header or footer HTML.
update_component
Replace the header or footer HTML.
get_html_head
Get the global <head> partial.
update_html_head
Replace the global <head> partial.
list_assets
List files in the public assets/ directory.
PageWeave CMS gives you powerful MCP content management you run yourself. PageWeave Cloud takes the same idea and adds a fully managed production suite.
| CMS | Cloud | |
|---|---|---|
| MCP content management | Pages, header, footer, <head>, assets | Pages, header, footer, <head>, assets |
| Versioning & rollback | — | Every edit is a version. Revert anytime. |
| Confirmation workflows | Changes apply immediately | Destructive actions require approval |
| Forms | — | Built-in form builder |
| Data tables + templating | — | Structured content with Liquid |
| Themes | — | daisyUI 5 + Tailwind v4, 35+ themes |
| Analytics | — | Privacy-first, no cookies |
| Asset optimization | Static files | Auto WebP/AVIF, responsive srcset |
| Custom fonts | — | Any font, proxied, no Google tracking |
| Custom domains + SSL | Your own server | Auto SSL, custom domains |
| Multi-site | Single website | Unlimited websites |
| Team access | — | Admins, editors, viewers |
| Deployment | Drop one PHP file | Nothing to deploy |
| Hosting | Self-hosted | German servers, GDPR compliant |
| Price | Free | €19/website/month |
Ready for the full suite? Try PageWeave Cloud — free to start →
PageWeave CMS is AGPL-licensed and always will be. No subscriptions, no feature gates, no data collection.
Built with PHP 8.3 · MCP JSON-RPC 2.0 · Flat file storage · No dependencies