Grav is a file-based web platform using Markdown, YAML, Twig, and PHP. Recent releases add a first-party REST API, MCP server, and SvelteKit admin for headless and agent-driven workflows.
Overview
Grav stores content as folders of Markdown and YAML instead of a database. You can unpack a release archive on a PHP-capable host and serve pages without a separate installer step. Twig templates, Symfony components, and a package manager handle themes and plugins.
Grav 2 introduces a first-party REST API that powers a new single-page admin built with SvelteKit, Vite, and Tailwind. The same API supports headless front ends, automation, and an MCP server that exposes admin operations to AI agents under the same permission model. Collaborative editing, media uploads, and existing blueprint-based forms are carried into the new admin experience.
Core strengths emphasized on the product site include aggressive caching for fast page render, multilingual content, image processing helpers, built-in search plugins, and Git-friendly flat files. PHP 8.3 or newer is required. Distribution options include downloadable packages, Composer project creation, or cloning from source with CLI dependency installation.
The ecosystem spans free skeletons, premium plugins from the vendor, and documentation themes such as Helios for technical docs. Teams use Grav for blogs, marketing sites, portfolios, and documentation hubs where file-based content and optional API control matter.
Key features
- Flat-file Markdown and YAML content
- Package manager for plugins and themes
- REST API and MCP server in Grav 2
- SvelteKit-based Admin 2.0 interface
- Twig templating and Symfony stack
- Built-in search and image pipeline
- Multi-language site support
- No database server required
Use cases
- Marketing sites without a SQL database
- Headless content via the REST API
- Documentation sites in Markdown
- Agent-managed updates through MCP
- Git-versioned content deployments
Does the same job as
Grav doesn't name these products itself, but its own description shows it does the same job.