Directus MCP server
- MCP server
- 4 capabilities
Overview
Directus publishes a built-in MCP server that lets AI assistants work with the data and schema of a Directus instance. It runs under the permissions of the user account that connects.
Capabilities:
- Read and edit Directus items, files and collections
- Explore the Directus schema
- Connect AI clients via OAuth or a static access token
- Limit AI access with Directus roles and permissions
Works with
The products your agent can work with through this server.
Installation
Follow the installation guide for supported clients, authentication and required permissions.
Add Directus MCP server to Claude Code
Run this in your terminal:
If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.
Add Directus MCP server to Cursor
Add it with the Add to Cursor button below, or add it to .cursor/mcp.json in your project (~/.cursor/mcp.json for every project):
Add Directus MCP server to VS Code
Add it to .vscode/mcp.json in your workspace. VS Code uses servers rather than mcpServers. Or run MCP: Add Server from the Command Palette and choose HTTP.
Add Directus MCP server to Codex
Run this in your terminal:
Or add it to ~/.codex/config.toml:
If the server uses OAuth, sign in with codex mcp login directus.
Add Directus MCP server to Claude
Add it as a custom connector with this URL:
- Open Customize, then Connectors.
- Click + Add, then Add custom connector.
- Name it, paste the URL and click Continue.
- Choose how to sign in, then click Add.
On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.
Add Directus MCP server to other clients
For any other client that connects to remote MCP servers over HTTP, use this URL:
Related MCP servers
Other servers for the same products, or from the same vendor.
Sources
Documentation and source code reviewed on 10 November 2026.