mini-cms-mcp is a self-hosted, open-source (MIT licensed) small content management system (CMS) designed for websites with only a few pages of content and one blog. Its core feature is that website content is managed by AI assistants through MCP (Model Context Protocol), and AI can only modify content, never code.
Purpose
- Provide a lightweight CMS alternative for small websites (a few pages of content + blog), with no database, no admin panel, and no plugins.
- Let users edit website content by conversing with AI assistants (such as Claude) in natural language, for example "add an announcement about Saturday's event"; the AI generates a draft, and the user previews and publishes it.
- Serve as a WordPress alternative for small sites that do not need complex features.
Main capabilities
- Built-in MCP server: The MCP server is located inside the website (https://your-site/mcp),无需额外运行 Node, Docker, or a VPS.
- No database: Content is stored as JSON files, and every change has a version record and log (who changed what and when). Backup only requires copying one folder.
- AI edits content: AI can modify the website name, description, author, language, colors, etc.; these are all content, and changes are logged and versions are retained.
- Code and content separation: config.php only stores content that AI should not modify (such as addresses and key fingerprints), is not committed to git, and cannot be modified through MCP.
- Theme system: Themes are stylesheets manually placed in site/assets/temes/<nume>.css; AI can choose among available themes but cannot write CSS. Themes support custom fonts (must be hosted on the same domain, subject to CSP restrictions).
- Content blocks and starter pages: Provides predefined content blocks (cards, steps, quotes, calls to action, columns, galleries, notes, numbers, etc.), which AI can view and use through despre_site. The pagini_de_pornire command can return skeletons for pages such as home, about, services, contact, and privacy; AI fills them in and saves them as drafts, which are published after user approval.
- SEO friendly: Generates sitemap, feed, llms.txt, clean HTML, and FAQ markup, with built-in checks to ensure crawlers from ChatGPT, Claude, Perplexity, Bing, and Google are not blocked, and tracks the pages they read.
- Privacy and compliance: GA4 loads only after user consent; the privacy page describes the website's technical behavior (no first-party cookies, no forms, no search history retained, etc.).
- Security: Supports OAuth 2.1 (PKCE) for the claude.ai connector; Claude Code uses a header key. Editor keys can be issued separately.
- Automatic updates: Starting from version 0.9, the website can fetch new versions from the repository itself, but only when the user explicitly requests it (via command line or browser); AI cannot trigger updates. The update process backs up old files, validates paths, checks versions, and rolls back on failure.
- Testing: Includes 395 automated tests (installation, updates, backups, OAuth, SEO, measurement, attacks, etc.).
How to use
- Installation: In the local repository difolder to run the command, generating the key, config.php, and the zip package. Then upload the zip in cPanel/Plesk's File Manager and extract it, then run the verification command in the terminal.
- Connect AI: Connect the website via Claude Code (header key) or the claude.ai connector (OAuth).
- Edit content: Converse in Claude, for example "call despre_site, then set the site name, description, and author". The AI will call the corresponding tools to modify content, generate a draft, and the user previews it before publishing.
- Manage themes: Manually place theme CSS and fonts into the specified directory; the AI can select among available themes.
- Update: Use the command-line tool or visit /actualizare.php in a browser, paste the code key to update.
Use cases
- Personal blogs or small business websites with few content pages.
- Users who want to manage content through AI conversation rather than learning a traditional CMS backend.
- Websites running on ordinary shared hosting (supporting PHP 8.0+ and HTTPS).
- Small projects that need version history and simple backups.
Limitations
- Only supports PHP 8.0+, requires HTTPS, and the website must be located in the domain root directory.
- Not suitable for large or complex websites (such as e-commerce or multi-user communities).
- The AI cannot modify code or CSS, only content.
- Themes must be placed manually; the AI can only select them.
- Some features (such as automatic updates) require an additional key and are limited to manual triggering by the user.
- Documentation is mainly in Romanian and English; support for other languages is not yet provided.
- Specific performance metrics and maximum content capacity are not yet provided.