
Flat-file CMS Grav 2.0 launches with REST API, new admin and MCP server for AI integration
Grav 2.0 delivers the most extensive update in the history of this open source flat-file content management system (CMS). While core fundamentals remain unchanged, content is still managed with files, no database is required, and edits are instantly live, the platform has been thoroughly modernized, supporting PHP 8.3 through 8.5+ and integrating the latest versions of Symfony and Twig throughout the library stack.
Building on these foundational changes, Grav 2.0 introduces a fully integrated REST API within the core package. This authenticated and permission-checked API manages all aspects of the site, from pages and media to users, plugins, and configuration, enabling true headless and decoupled site architectures. Admin Next replaces the previous admin panel with an API-driven interface, featuring both light and dark modes, three alternative page views, real-time collaborative editing, a customizable dashboard, and expanded multilingual support, including right-to-left layouts by default.
Following the API enhancements, Grav 2.0 includes a core Model Context Protocol (MCP) server. This enables AI agents to perform any administrative action permitted for users, using the same permissions model and API without workarounds or additional security systems. Markdown support has also been upgraded, with GitHub Flavored Markdown enabled by default, new table enhancements, and a faster renderer. In addition, this update tightens security by disabling Twig execution in page content and isolating it inside a sandbox by default.

