directus README

The project's README from github.com/directus/directus. As one markdown file: README.md.

Directus

The Collaborative Backend for Builders & AI

Connect any SQL database and get instant REST and GraphQL APIs, a visual management Studio, and a native MCP server for AI agents.

45M+ downloads · 500K+ projects deployed

[!NOTE] Free for most organizations. Under $5M annual revenue and 50 employees? Directus is completely free. Apply for an Open Innovation Grant license and get a key in minutes. Learn more about our license.


🐇 Introduction

Directus wraps any SQL database with a REST and GraphQL API layer and a visual Studio. Engineers control schema and access. Non-technical teammates and AI agents work directly with live data. No tickets, no boilerplate.

Learn more about Directus · Documentation


🤖 AI & MCP

Directus includes a built-in AI Assistant and a native MCP server. AI works with your live data, not a copy of it.

Read the AI & MCP docs


🚀 Directus Cloud

Directus Cloud provisions a fully managed project in under 90 seconds.

Create a Directus Cloud Project


⚡ One-Click Deployment Options

Deploy on Railway

One click. Fully provisioned with PostgreSQL, Redis, and S3-compatible storage, connected via Railway's private network.

Deploy on Railway


🙋 Community Help

The Directus Documentation is a great place to start, or explore these other channels:


❤️ Contributing

Read our Contributing Guide before submitting pull requests.

Report security vulnerabilities per our Security Policy.

Built by our core team and contributors. Thank you.


📄 License

Directus is licensed under the Monospace Sustainable Core License (MSCL) 1.0, a source-available license derived from the Fair Core License.

Free for most builders. Organizations under $5M in annual revenue and 50 employees can use Directus for free under the Open Innovation Grant.

Free Core Tier. A free tier is available to everyone to explore and build on Directus without a commercial license.

Commercial License. Organizations above those thresholds using advanced or enterprise features require a commercial license. See pricing for details.

directus (directus/directus)

Searching Database…

What is this?Directus is an open-source backend platform that wraps your existing SQL database with instant REST and GraphQL APIs, a no-code admin app, authentication, and fine-grained permissions - turning any database into a headless CMS, admin panel, or custom app backend.
Is this a library I import, or a full app I run?It is a full backend application you deploy (via Docker or Node.js) that sits in front of your own SQL database and auto-generates APIs plus a Vue-based admin app - not a code library you import into another project.
How do I get it running?Run 'npx create-directus-project' for a guided setup, or clone the repo and use the included Docker Compose configuration to spin up Directus alongside a database.
What do I need installed before running it?You need Node.js 22 and pnpm 10+ to build it from source (or just Docker), plus a SQL database such as PostgreSQL, MySQL, MariaDB, SQLite, or MSSQL for it to connect to.
Does it run on any OS, or only certain environments?As a Node.js app it runs on Linux, macOS, and Windows, and ships with Docker/Docker Compose support for self-hosting; the admin app itself is used through a web browser.
What is Directus exactly - a CMS or something more?Directus is broader than a typical CMS: it wraps any SQL database with auto-generated REST and GraphQL APIs, an admin app, and granular permissions, so it can power CMS sites, admin panels, or entirely custom apps.
Can I build a custom front-end on top of it?Yes - the generated REST/GraphQL APIs let you build any custom UI (web, mobile, etc.), while the built-in admin app is just for content and data management.
Which databases does it support?Directus connects to PostgreSQL, MySQL, MariaDB, SQLite, MSSQL, and other SQL databases using your existing schema rather than creating a proprietary data store.
Is there a hosted option if I do not want to self-host?Yes, alongside the open-source self-hosted version, Directus offers a managed Cloud offering.
Creator
directus
Size
444.6 MB
Stars
38.7K
Age
13y
Commits · 90 Days