The backend for your whole team
source availableMonospace Sustainable Core License 1.0self-hostablefreeMCP
Directus connects to a new or existing SQL database (PostgreSQL, MySQL, SQLite, MariaDB, MS SQL Server, CockroachDB or OracleDB) and generates REST and GraphQL APIs and a no-code Data Studio over it without changing the schema, so teams use it as a headless CMS, an admin panel or an app backend. It adds role-based permissions, file management with on-demand image transforms, Flows automations, realtime WebSocket subscriptions, visual editing, an AI Assistant and a built-in MCP server. It runs on Directus Cloud or self-hosted from a Docker image; the source is under the Monospace Sustainable Core License (MSCL-1.0-GPL), which forbids competing commercial use and grants GPL-3.0 on each release four years after it ships.
Ways to install
On your own server
Problems it solves
- put an admin panel on top of our existing Postgres database without migrating or changing it
- get REST and GraphQL APIs for a SQL database I already have without writing a backend
- a headless CMS that stores content in our own SQL database rather than the vendor's
- let non-technical staff edit database records without spreadsheets or SQL
- give editors roles that only let them change certain collections, fields and rows
- manage images and files for our frontend with resizing and transforms on request
- run an automation when a record is created, like calling a webhook or sending an email
- push live data changes to my app over WebSockets when database rows change
- preview content edits in the real website before publishing them
- let Claude or Cursor read and edit our CMS content over MCP with the same permissions as a user
- build internal dashboards over our database without a separate BI tool
- self-host our content backend with Docker so the data stays on our servers
- a headless CMS for a Next.js or Nuxt site with a typed JavaScript SDK
- extend our content admin with custom interfaces, endpoints and hooks
- install community extensions from a marketplace into our backend
- host our CMS backend in the EU, the UK or Asia Pacific for data residency
- replace a pile of shared spreadsheets with a database app the whole team can edit
- an AI assistant inside the CMS that drafts and updates content for editors
- a self-hosted content backend that costs nothing for a small company
- sign in to the content admin with LDAP or OpenID Connect
- our IT team needs CMS editors to sign in with SAML SSO through Okta
- our security review needs a headless CMS vendor with SOC 2 Type II
Features
- REST and GraphQL APIs generated from your existing SQL schema
- PostgreSQL, MySQL, SQLite, MS SQL Server, MariaDB, CockroachDB and OracleDB
- no-code Data Studio for content editing and dashboards
- role-based access control for people and AI agents
- digital asset management with on-demand image transforms
- Flows automations
- realtime WebSocket subscriptions and CRUD over WebSockets
- visual editing with live preview in your frontend
- built-in AI Assistant
- built-in MCP server (v11.12 and later) for Claude, ChatGPT, Cursor, VS Code and Raycast
View 7 more
- extensions and a Marketplace; create-directus-extension CLI
- JavaScript and TypeScript SDK (@directus/sdk)
- SSO with OAuth 2.0, OpenID Connect, LDAP and SAML (licence required)
- Docker image, including hardened and distroless images
- Directus Cloud in 3 regions, or up to 19 on Enterprise
- SOC 2 Type II and GDPR compliance
- AI translations, custom LLM and offline mode on Enterprise
Limitations
- Doesn't support multiple schemas in one database: a project uses a single schema2
Ways to run it
Directus Cloud
Core $89/month billed yearly or $99 monthly; Team $588/month billed yearly or $698 monthly; Enterprise custom; Open Innovation Grant $99/month34
Only in this edition
- hosting run by Directus in 3 regions, or up to 19 on Enterprise
Self-hosted Directus
Team $499/month billed yearly or $599 monthly; Enterprise custom; free under the Open Innovation Grant for organizations under $5M revenue and 50 employees2356
You arrange
- a supported SQL database (PostgreSQL, MySQL, SQLite, MS SQL Server, MariaDB, CockroachDB or OracleDB)
- Docker, or Node.js 26+ to install from npm
- Redis for caching, required when running more than one instance
- file storage: a storage adapter for a supported provider, or a mounted volume
- backups, monitoring and upgrades
- a licence key for licensed features such as SSO
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | Directus Cloud: Team plan and up, from $99/month; Self-hosted Directus: Team plan and up, free36 |
Alternatives
The same job
These do what Directus does.
- Strapi Shape your content, ship your API, and scale it without limits
- Supabase The Postgres development platform
- Sanity One content platform for every agent, site, and workflow
- Payload The open source, fullstack Next.js framework and headless CMS
- Mathesar Secure, spreadsheet-like tool for Postgres data
- EmDash A full-stack TypeScript CMS based on Astro; the spiritual successor to WordPress
