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.
- REST & GraphQL APIs: Automatically generated from your database schema. No configuration required.
- Visual Studio: A full management interface for non-technical teammates.
- AI Assistant: Embedded in the Studio. Creates, translates, and takes direct action on your content.
- Native MCP Server: Connect Claude, Cursor, ChatGPT, or any MCP-compatible tool directly to your data.
- Policy-based Access Control: Granular permissions down to the field level, for humans and AI agents alike.
- Bring your own database: Postgres, MySQL, MariaDB, MS SQL, SQLite, OracleDB, CockroachDB, and more.
- Fully extensible: Custom endpoints, hooks, interfaces, and modules.
- Self-host or cloud: Run locally, on your own infrastructure, or on Directus Cloud.
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.
- AI Assistant: Creates content, runs translations, and triggers workflows directly from the Studio.
- Native MCP Server: Any MCP-compatible agent or tool can connect to Directus. Same access policies that apply to your team apply to AI.
- Governed by default: AI agents operate under the same role-based permissions as human users. No special cases, no workarounds.
🚀 Directus Cloud
Directus Cloud provisions a fully managed project in under 90 seconds.
- Centrally managed: Self-service dashboard to create and monitor all your projects in one place
- All-in-one solution: Database, storage, and auto-scaling included with a global CDN
- Simple setup: Select a region and get a running instance immediately
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.
🙋 Community Help
The Directus Documentation is a great place to start, or explore these other channels:
- Community Forum (Questions, Discussions)
- Discord (Live Chat)
- GitHub Issues (Report Bugs)
- Roadmap (Roadmap & Feature Requests)
- Resources (Latest News)
- YouTube (Video Tutorials)
❤️ 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.
Related Packages
Directus is a real-time API and App dashboard for managing SQL database content
Directus is a real-time API and App dashboard for managing SQL database content
Directus is a real-time API and App dashboard for managing SQL database content
Version History
| Version | Released | License |
|---|---|---|
| 12.5.0 | Custom | |
| 12.4.1 | Custom | |
| 12.4.0 | Custom | |
| 12.3.1 | Custom | |
| 12.3.0 | Custom | |
| 12.2.0 | Custom | |
| 12.1.1 | Custom | |
| 12.1.0 | Custom | |
| 12.0.2 | Custom | |
| 12.0.1 | Custom | |
| 12.0.0 | Custom | |
| 11.17.4 | BUSL-1.1 | |
| 11.17.3 | BUSL-1.1 | |
| 11.17.2 | BUSL-1.1 | |
| 11.17.1 | BUSL-1.1 | |
| 11.17.0 | BUSL-1.1 | |
| 11.16.1 | BUSL-1.1 | |
| 11.16.0 | BUSL-1.1 | |
| 11.15.4 | BUSL-1.1 | |
| 11.15.3 | BUSL-1.1 | |
| 11.15.2 | BUSL-1.1 | |
| 11.15.1 | BUSL-1.1 | |
| 11.15.0 | BUSL-1.1 | |
| 11.14.1 | BUSL-1.1 | |
| 11.14.0 | BUSL-1.1 | |
| 11.13.4 | BUSL-1.1 | |
| 11.13.3 | BUSL-1.1 | |
| 11.13.2 | BUSL-1.1 | |
| 11.13.1 | BUSL-1.1 | |
| 11.13.0 | BUSL-1.1 |
Showing the latest 30 of 178. See every release on npm
Pre-releases (166)
| Version | Released | License |
|---|---|---|
| 12.0.0-rc.2 | Custom | |
| 12.0.0-rc.1 | Custom | |
| 11.0.0-rc.3 | BUSL-1.1 | |
| 11.0.0-rc.2 | BUSL-1.1 | |
| 11.0.0-rc.1 | BUSL-1.1 | |
| 10.7.0-beta.0 | BUSL-1.1 | |
| 9.0.0-rc.101 | GPL-3.0-only | |
| 9.0.0-rc.100 | GPL-3.0-only | |
| 9.0.0-rc.99 | GPL-3.0-only | |
| 9.0.0-rc.98 | GPL-3.0-only | |
| 9.0.0-rc.97 | GPL-3.0-only | |
| 9.0.0-rc.96 | GPL-3.0-only | |
| 9.0.0-rc.95 | GPL-3.0-only | |
| 9.0.0-rc.94 | GPL-3.0-only | |
| 9.0.0-rc.93 | GPL-3.0-only | |
| 9.0.0-rc.92 | GPL-3.0-only | |
| 9.0.0-rc.91 | GPL-3.0-only | |
| 9.0.0-rc.90 | GPL-3.0-only | |
| 9.0.0-rc.89 | GPL-3.0-only | |
| 9.0.0-rc.88 | GPL-3.0-only | |
| 9.0.0-rc.87 | GPL-3.0-only | |
| 9.0.0-rc.86 | GPL-3.0-only | |
| 9.0.0-rc.85 | GPL-3.0-only | |
| 9.0.0-rc.84 | GPL-3.0-only | |
| 9.0.0-rc.83 | GPL-3.0-only | |
| 9.0.0-rc.82 | GPL-3.0-only | |
| 9.0.0-rc.81 | GPL-3.0-only | |
| 9.0.0-rc.80 | GPL-3.0-only | |
| 9.0.0-rc.79 | GPL-3.0-only | |
| 9.0.0-rc.78 | GPL-3.0-only |
Showing the latest 30 of 166. See every release on npm