Best for
- Content teams already on Directus who want to read and write content via LLMs
- Analysts querying Directus data with natural language
- Directus projects wanting controlled, guardrailed data access for non-developers
An officially maintained MCP server for Directus data with comprehensive tool coverage (items, files, fields, flows, comments, prompts), built-in guardrails against data loss, and solid config options. Ideal for content and analysis workflows; useless outside Directus, and intentionally restrictive for developers needing destructive operations.
Strongest · Documentation 18/20 Weakest · Reliability 10/20
Static review · not runListed 2026-09-07
Read the FMRS scoring method →Runtime:Node.js
DIRECTUS_URL
Your Directus instance URL, e.g. https://your-directus-url.com; required.
DIRECTUS_TOKEN
Static access token generated in the Token field of your own user profile in the Directus User Directory; alternative to email/password.
DIRECTUS_USER_PASSWORD
Directus login password, used together with DIRECTUS_USER_EMAIL.
DIRECTUS_USER_EMAIL
Directus login email, used with the password as an alternative to the token.
MCP_SYSTEM_PROMPT
Custom text that overrides the server's default system prompt; optional.
MCP_SYSTEM_PROMPT_ENABLED
Set to false to disable the system prompt entirely; optional.
DISABLE_TOOLS
Array of tool names to disable, e.g. ["delete-item", "update-field"]; optional.
DIRECTUS_PROMPTS_COLLECTION_ENABLED
Set to "true" to enable dynamic prompts stored in a Directus collection.
DIRECTUS_PROMPTS_COLLECTION
Name of the collection containing prompts, e.g. ai_prompts.
DIRECTUS_PROMPTS_NAME_FIELD
Field name for the prompt name; defaults to name.
DIRECTUS_PROMPTS_DESCRIPTION_FIELD
Field name for the prompt description; defaults to description.
DIRECTUS_PROMPTS_SYSTEM_PROMPT_FIELD
Field name for the system prompt text; defaults to system_prompt.
DIRECTUS_PROMPTS_MESSAGES_FIELD
Field name for the messages array; defaults to messages.
Prerequisite: an existing Directus project (free trial on Directus Cloud, or run npx directus-template-cli@latest init locally). Step 1: get credentials — generate a static token in your user profile (remember to save the user) or use email and password. Step 2: add the server to Claude Desktop or Cursor MCP config with command npx @directus/content-mcp@latest and env vars DIRECTUS_URL plus DIRECTUS_TOKEN (or DIRECTUS_USER_EMAIL / DIRECTUS_USER_PASSWORD), save and restart the client. Local dev: clone the repo, run pnpm install && pnpm build, point the config at dist/index.js, and use pnpm dev to watch changes.
{"mcpServers":{"directus":{"command":"npx","args":["@directus/content-mcp@latest"],"env":{"DIRECTUS_URL":"https://your-directus-url.com","DIRECTUS_TOKEN":"your-directus-token"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"directus": {
"command": "npx",
"args": [
"@directus/content-mcp@latest"
],
"env": {
"DIRECTUS_URL": "https://your-directus-url.com",
"DIRECTUS_TOKEN": "your-directus-token"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add directus -e DIRECTUS_URL=https://your-directus-url.com -e DIRECTUS_TOKEN=your-directus-token -- npx @directus/content-mcp@latest
Run it in a terminal; replace any <…> placeholders with your own values first.
After configuring the client and restarting it, confirm the Directus MCP server shows as connected (green status in Cursor, or the server icon in Claude Desktop), then ask it to run read-collections or users-me; a successful response proves the credentials work.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
The Directus Content MCP Server is the official MCP interface for Directus users to interact with their data in LLMs. Content editors can build pages, write blog posts, and organize assets, while data analysts can query collections, generate reports, and extract insights using natural language. It intentionally limits destructive actions like deleting fields or collections, and supports system prompts, dynamic prompts stored in Directus collections, Mustache templating, and tool restrictions via DISABLE_TOOLS.
Connect ClickHouse to your AI assistants
Unofficial MCP server providing advanced access to the ChEMBL chemical database
Google's official database MCP toolbox — define AI-accessible database tools via config
Bytebase's official, minimalist two-tool database MCP server
Source revision 472ce5b8dd3d Data synced 2026-10-19 Read the FMRS scoring method