directus-mcp-server MCP Server

A Model Context Protocol (MCP) server that provides comprehensive tools for managing Directus schema and content. This server enables AI assistants and other MCP clients to interact with Directus…

Local serverstdioMIT

What is the directus-mcp-server MCP Server?

directus-mcp-server is an MCP project maintained in the skeyelab/directus-mcp-server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides comprehensive tools for managing Directus schema and content. This server enables AI assistants and other MCP clients…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares DIRECTUS_URL, DIRECTUS_TOKEN, MCP_TOOLSETS. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_collections
get_collection
create_collection
update_collection
delete_collection
list_fields
create_field
update_field
delete_field
list_relations
create_relation
delete_relation
query_items
get_item
create_item
update_item
delete_item
bulk_create_items
bulk_update_items
bulk_delete_items
CollectionNameSchemaFor collection names
ItemIdSchemaFor item IDs (string | number)
FieldsSchemaFor field arrays
FilterSchemaFor Directus filter objects
Flowrelated schemas (FlowTriggerSchema, FlowStatusSchema, etc.)

How to install the directus-mcp-server MCP Server

{
  "mcpServers": {
    "directus-schema": {
      "command": "node",
      "args": [
        "/path/to/directus-mcp/dist/index.js"
      ],
      "env": {
        "DIRECTUS_URL": "https://your-directus-instance.com",
        "DIRECTUS_TOKEN": "YOUR_DIRECTUS_TOKEN",
        "MCP_TOOLSETS": "schema"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
DIRECTUS_URLDeclared in the maintainer’s client configuration.Check documentation
DIRECTUS_TOKENDeclared in the maintainer’s client configuration.Check documentation
MCP_TOOLSETSDeclared in the maintainer’s client configuration.Check documentation