Directus MCP for AI Agents. Manage and audit structured database collections with natural conversation
Directus connects your open-source data platform and headless CMS to any AI agent. It lets you manage complex structured data—creating records, auditing schemas, and reading collections—all through natural conversation. You get full programmatic control over your PostgreSQL database without writing SQL queries.
Give Claude and any AI agent real-world access
Write a new record to a collection by providing a JSON payload.
Irreversibly delete an existing record from the database.
Inspect the properties and tables that make up a specific data collection.
See every detailed column configuration for any given table.
Retrieve the full details of one specific database row using its ID.
See an enumeration of every structured table defined in your PostgreSQL instance.
Verify and retrieve information about uploaded files stored by Directus.
Ask an AI about this
Waiting for input…
What AI agents can do with Directus: 10 Tools for Structured Database and Schema Management
Use these tools to perform every kind of data operation on your CMS, from listing all available tables to updating individual content records.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using Directus MCPCreate Cms Record
Creates a new record in any Directus collection using structured JSON input.
Wipe Cms Record
Permanently deletes and removes an existing database row from the specified...
Get Collection Details
Extracts structural details, showing all properties associated with a specific data...
List Collection Fields
Inspects the deep internal arrays that define which fields accept formatting and...
Get Single Item
Retrieves all explicit data for one specific row using its unique UUID identifier.
List Schema Collections
Lists every structured rule defining the PostgreSQL tables that power your CMS.
List Directus Files
Verifies and retrieves structural data about all files uploaded to the media storage.
List Collection Items
Identifies the available collections, showing which tables exist inside your CMS...
List Directus Users
Lists all active user accounts and administrative identities within the database...
Patch Cms Record
Updates an existing record in a collection by submitting new values via its unique...
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on each call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Directus, then connect any of our 5,200+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,200+ others, all in one place
- Add new capabilities to your AI anytime you want
- Connections are secured and governed automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog weekly
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Directus. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS CLOUD
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on each call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Directus MCP: Managing Structured Data in Headless CMS Platforms
Today, updating content or running reports often means logging into the Directus dashboard. You jump from the Collection View to the Field Settings, and then maybe you have to check the user directory just to get a single piece of data. It's a cycle of clicks that takes forever.
With this MCP, the process changes completely. Instead of navigating multiple screens, you simply tell your agent what needs updating—whether it’s provisioning new content via 'create_cms_record' or checking if a field can handle a specific payload—and you get an immediate, actionable result.
Directus MCP: Auditing Users and Schemas for Database Integrity
Manually auditing database schemas is tedious. You have to run multiple queries just to see every single table, verify field types, and confirm which user roles are active. Mistakes here lead to bad data down the line.
This MCP lets you audit everything conversationally. Running 'list_schema_collections' gives you a clean list of all tables, while 'list_directus_users' keeps your access control lists accurate—all without writing a single `SHOW TABLES` command.
What Directus MCP for AI Agents MCP does for your AI
Working with a large database often means jumping between dashboards, running complicated SQL, or asking a developer for a simple change. This MCP lets you skip that headache entirely.
Instead of digging into the Directus UI or drafting complex queries, you talk to your AI client and it handles the data layer. You can ask your agent to list all items from a specific collection, audit the structure of a table, or update a user profile by name—all in plain language.
It’s like giving your AI agent direct, safe access to the backend truth.
Because this MCP exposes every core function of Directus, you can manage everything from creating new content records to deleting old ones and verifying file uploads. When you plug it into Vinkius, you get a single connection point that lets any compatible client read, write, and audit your entire data platform without the usual friction points.
It's pure backend control delivered through chat.
019d7586-6ebf-717f-9f17-e89eb9d2c6bd How to set up Directus MCP for AI Agents MCP
The bottom line is, you're giving your AI agent a structured, conversational API layer for your existing database.
Subscribe to this MCP, then provide your specific Directus Base URL and Static Token.
Connect the credentials within your preferred AI client (Claude, Cursor, etc.).
Start asking questions or making requests about your data platform using natural language conversation.
Who uses Directus MCP for AI Agents MCP
This MCP targets developers and administrators who are tired of context switching. If your job involves auditing schemas, updating CMS content, or managing users without writing boilerplate SQL, this is for you.
Auditing schema definitions or managing user permissions without needing to write complex database queries.
Creating, updating, and deleting structured records (like product data or articles) directly from an IDE or chat window.
Monitoring the state of collection data and verifying field configurations across different environments to plan features.
Benefits of connecting Directus MCP for AI Agents MCP
You eliminate writing complex SQL. Instead of crafting SELECT * FROM... queries, you simply ask your agent to find the data you need.
Full control over content lifecycle: Use tools like 'create_cms_record' and 'patch_cms_record' to update or modify records instantly without UI clicks.
Audit everything. Need to know what fields exist? Running 'list_collection_fields' gives you the schema details fast, helping development teams plan updates.
Manage digital assets programmatically. Use tools like 'list_directus_files' to check file uploads and generate download paths for your front-end builds.
Simplify user management. Easily see who has access by running 'list_directus_users', keeping track of system identities without logging into the admin panel.
Faster iteration cycles. Quickly validate database integrity or retrieve single items using 'get_single_item' so you can confirm data points immediately.
Directus MCP for AI Agents MCP use cases
Content audit for a new feature
A product team needs to know what collections exist before building a new page. They ask their agent, and it runs 'list_collection_items', providing a complete list of all available tables so they can map out the data structure.
Updating bulk pricing data
The e-commerce team needs to change the price for 50 products. Instead of manually editing them, they ask their agent to use 'patch_cms_record' with a list of IDs and new prices.
Investigating data inconsistencies
A developer finds mismatched user entries. They run 'get_single_item' on the suspicious UUIDs, allowing them to compare records side-by-side in the chat interface for quick validation.
Onboarding a new admin
The operations manager needs to check which users have access. They ask their agent to run 'list_directus_users', getting an immediate, comprehensive list of authorized administrative identities.
Directus MCP for AI Agents MCP tradeoffs
What to watch out for, and the recommended way to handle each one.
Over-relying on the UI
The user logs into Directus's web interface and clicks through three different tabs (Collections > Fields > Users) just to find out how many records exist.
Instead, ask your agent to run 'list_collection_items' first. Then, if you need details, use 'get_collection_details'. This keeps the whole process in one conversation.
Using generic API calls
The developer writes a general payload update function that fails because it doesn't know which fields are actually available for modification.
First, use 'list_collection_fields' to inspect the exact schema and validate every possible column name. Then, craft your updates using 'create_cms_record' or 'patch_cms_record'.
Attempting manual data cleanup
A user tries to delete old records by manually copying IDs and writing a script that might miss required checks.
Let your agent handle it. Use 'wipe_cms_record' when you are absolutely certain the record must be dropped, guaranteeing irreversible deletion through a controlled command.
When to use Directus MCP for AI Agents MCP
Use this MCP if your primary need is to manage or audit structured data within an open-source CMS without writing SQL. You should connect this if you frequently perform tasks like checking schemas ('list_collection_fields'), reading specific records ('get_single_item'), or bulk updating content across collections.
Don't use it if your goal is merely to view a simple dashboard or read an article that doesn't require data manipulation. For those cases, simply connecting your AI client directly to the CMS's public API endpoint might be enough. You only need this level of deep access when you are acting as a developer or admin and must write structured payloads to maintain data integrity.
Frequently asked questions about Directus MCP for AI Agents MCP
How can I use the Directus MCP to read my CMS data? +
You can ask your agent to retrieve specific records or list all contents of a collection. It's as simple as asking, 'Show me the articles from last month,' and getting structured JSON results back immediately.
Does this Directus MCP help me manage my database structure? +
Yes, it lets you audit your entire data platform. You can list all available collections or run field discovery checks to understand exactly what fields are available in a table without logging into the backend.
Can I use Directus MCP to update records in bulk? +
Absolutely. You can instruct your agent to modify multiple existing rows at once, such as changing inventory counts or updating status fields across dozens of products using a single command.
Is this enough for developers who write code with Directus? +
Yes. This MCP acts like an API wrapper in plain language. It allows you to test data writes, read schemas, and manage content directly from your chat or IDE, making the development loop much faster.
What if I need to delete a record using Directus MCP? +
The tool handles permanent deletion for you. You just tell it which record ID needs to be vaporized, and it executes the irreversible drop safely within your agent's context.