A Directus extension that provides MCP (Model Context Protocol) server functionality with HTTP streaming support, allowing any MCP client to connect to your Directus instance
Server has 21 tools with explicit schemas and descriptions. Most tools follow verb_noun naming (read-*, create-*, update-*, delete-*, trigger-*). Descriptions are present but vary in quality, some are detailed (trigger-flow, upsert-comment), others are generic (read-users, read-items). Input schemas use Zod with proper types and descriptions. However, several tools lack output schema documentation, parameter constraints are underspecified (e.g., no enums for query objects), and error handling guidance is minimal. Tool composition is sound (single responsibility), but descriptions could be more LLM-optimized per the 50-200 char baseline.
Create a new field in a specified collection.
Create an item in a collection. Will return a link to the created item. You should show the link to the user.
Delete a single item from a collection. Please confirm with the user before deleting.
Import a file to Directus from a web URL. Optionally include 'data' for file metadata (title, folder, etc.).
Convert HTML to Markdown or Markdown to HTML.
Retrieve the schema of the connected Directus instance. This is a short hand schema to reduce the tokens used for the LLM. The fields will not match the return type of the fields from the Directus API. If you need the exact fields definitions from the Directus API, use the read-fields tool.
Query parameters lack enumeration and validation. Tools like read-users, read-items, read-collections accept generic 'query' objects with no constraint on valid filter/sort/field names. LLMs cannot infer valid Directus query syntax and will hallucinate invalid parameters.
Output schemas not documented. Tool descriptions do not specify what fields are returned or their types. LLMs cannot plan downstream tool calls or extract required IDs (e.g., does create-item return item_id or id?). Breaks tool chaining.
Generic descriptions for read tools. 'Retrieve information about users' and 'Fetch items from any Directus collection' are vague. Descriptions should explain WHEN to use each tool vs. similar ones (e.g., when to call read-users vs. users-me) and what structure is returned.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | 2026-07-28+ | v2 |
Fetch comments from any Directus collection item.
Retrieve the definition of a specific field within a collection.
Retrieve the field definitions for all collections or a specific collection. Note: This is lots of data and should be used sparingly. Use only if you cannot find the field information you need and you absolutely need to have the raw field definition.
Read file (asset) metadata. Provide a query to list multiple files' metadata. Provide 'id' to get a single file's metadata. Provide 'id' and 'raw: true' to get a single file's raw content (Base64 encoded).
Fetch manually triggerable flows from Directus. Flows allow users to automate tasks inside Directus.
Read the metadata of existing folders in Directus.
Fetch items from any Directus collection. - Use the *fields* param with dot notation to fetch related fields. For example – fields: ['title','slug','author.first_name','author.last_name']
Retrieve information about users.
IMPORTANT! Call this tool first. It will retrieve important information about your role.
Trigger a flow by ID. Rules: - Always call read-flows first and include the FULL flow definition in your reasoning - Always explicitly check if the flow requires selection (options.requireSelection !== false) - Always verify the collection is in the flow's collections list - Always provide a complete data object with all required fields - NEVER skip providing keys when requireSelection is true or undefined
Update an existing field in a specified collection.
Update the metadata of existing file(s) in Directus.
Update an existing item in a collection. Will return a link to the created item. You should show the link to the user.
Create or update a comment on a collection item. When mentioning users: 1. First use the read-users tool to retrieve the user's ID 2. Then format the mention using the exact syntax: @[user-uuid] 3. Include this formatted mention within your comment text Example: "Hey @8cc67ebc-3c52-475a-9ae6-fba26963a9ad, can you take a look at this?" IMPORTANT: User mentions MUST use the exact pattern @uuid without any additional characters or formatting. Keep all comments brief and to the point - no more than 2-3 sentences when possible. Focus on essential information only.
Retrieve information about the current user
No error recovery guidance. Tool descriptions do not explain what to do if a call fails (e.g., 'If user not found, try search_users with partial name'). Error responses in code return raw error messages without actionable next steps.
Destructive operations lack confirmation pattern. delete-item description says 'Please confirm with the user before deleting' but no dry-run or confirmation_required parameter exists. LLMs cannot enforce user confirmation at the protocol level.