Directus

Directus MCP Connector for Claude

A+

Turn any SQL database into a powerful headless CMS with instant REST and GraphQL APIs for your custom content models.

16 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Directus instance to any AI agent and manage your content database through natural conversation.

What you can do

  • Collection Management — List all data collections with field counts and inspect individual collection schemas
  • Content CRUD — Create, read, update, and delete items in any collection using JSON payloads
  • Search & Query — Search items within collections by keyword to find specific content quickly
  • Schema Inspection — List all fields and their data types for any collection to understand your data model
  • File Management — Browse uploaded files and retrieve metadata for specific assets
  • User & Role Management — List all users with roles and status, view role configurations, and check your own profile
  • Audit Trail — Access the activity log of recent database operations for compliance and debugging

How it works

  1. Subscribe to this server
  2. Enter your Directus Static Token from your user profile in the Data Studio
  3. Start managing your content from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Content Teams — create, update, and search content items across collections without opening the Directus dashboard
  • Developers — inspect collection schemas, manage fields, and debug data issues through conversational AI
  • Administrators — audit user activity, manage roles, and monitor database operations
sql-databasegraphqlrest-apicontent-managementdata-modelingbackend-as-a-service

16 tools expose this connector's capabilities to your AI agent.

check_directus_status

Verify connectivity

create_item

Create an item

delete_item

Delete an item

get_collection

Get collection details

get_file

Get file details

get_item

Get item details

get_me

Get current user

list_activity

List recent activity

list_collections

List collections

list_fields

List fields

list_files

List files

list_items

List items

list_roles

List roles

list_users

List users

search_items

Search items

update_item

Update an item

See how to talk to your AI agent using Directus.

Show me all collections in my Directus instance and the fields for the 'articles' collection.

Your Directus instance has 8 collections: 'articles' (24 fields), 'categories' (6 fields), 'authors' (12 fields), 'media' (8 fields), 'pages' (15 fields), 'settings' (10 fields), 'comments' (9 fields), and 'tags' (4 fields). Fields for 'articles': id (uuid), title (string), slug (string), body (text), status (string: draft/published/archived), featured_image (file), author (m2o → authors), category (m2o → categories), tags (m2m → tags), date_published (datetime), sort (integer). Would you like to list items or create a new article?

Create a new article titled 'AI in Healthcare 2025' with status 'draft' and search for existing articles about AI.

Article created! ID: a3f8c291, Title: 'AI in Healthcare 2025', Status: draft, Slug: ai-in-healthcare-2025. Searching existing articles for 'AI'... Found 3 matches: 1) 'AI-Driven Drug Discovery' (published, 2024-11-15). 2) 'Machine Learning in Diagnostics' (published, 2024-09-22). 3) 'AI Ethics Framework' (draft, 2025-01-08). Would you like to update the new article's body or assign it to an author?

Show me the recent activity log and list all users with their roles.

Recent activity (last 24h): 14 operations. Top actions: 8 item updates (articles, pages), 3 item creates (articles, media), 2 logins, 1 role change. Most active user: 'editor@example.com' (9 operations). Users: 1) Admin User (admin role, active). 2) Sarah Editor (editor role, active). 3) Mike Writer (writer role, active). 4) API Bot (api-readonly role, active). 3 roles configured: admin (full access), editor (content CRUD), writer (create/read only). Would you like to inspect a specific user or see more activity?

Yes! Use `create_item` with a collection name and JSON payload to add new items. Use `update_item` with the collection, item ID, and updated fields to modify existing items. Use `delete_item` to remove items. All operations respect the permissions assigned to your Static Token's user role.

Related Connectors