Key Takeaways
Directus API access: Yes.
Directus MCP server: Official, hosted or local, OAuth or a static access token.
Directus pricing and limits: Every Directus tier, including free.
Directus connects with
Claude, Claude Code,
ChatGPT,
Cursor,
VS Code.
You want an agent to work directly in a
Directus project without building an API wrapper. Directus provides REST, GraphQL, an SDK, and MCP; MCP is included on every tier, including free, and the cited pages do not specify per-call API or MCP pricing.
For full seat pricing, plan limits and team workflows beyond developer endpoints, read our Directus review or compare category peers in Website Builders & CMS tools with an API.
What does the Directus API include?
Directus provides API access using Access tokens, cookies, or sessions.
| What you need to know | Detail |
|---|---|
| Sign-in | Access tokens, cookies, or sessions |
| Rate limits | Optional built-in per-IP API limiter: 50 requests per second by default when enabled. |
| OpenAPI file | Yes |
| Official SDKs | JavaScript, TypeScript |
| Webhooks | Yes |
| Docs | API documentation |
What you can do with it
- Use a REST API that adapts to the project's schema.
- Query the project through GraphQL.
- Use the JavaScript and TypeScript SDK for REST, GraphQL, authentication, and realtime connections.
Sources:API referenceAccess tokensDirectus SDKSecurity and limitsZapier integrationn8n integration
How does the Directus MCP server work?
Directus supports an official both MCP server authenticated with OAuth or a static access token.
| What you need to know | Detail |
|---|---|
| Who makes it | Official, run by |
| Where it runs | Hosted, or run on your computer |
| Address or package | Remote: https://your-directus-url.com/mcp. Local: npx @directus/content-mcp@latest. |
| Sign-in | OAuth or a static access token |
| Plan that includes it | Every |
| Works with |
Before you connect it
- MCP and its Allow Deletes setting are disabled by default; when enabled, actions use the connected
Directus user's existing permissions. - Create a dedicated least-privilege MCP user instead of using a personal administrator account.
- Do not auto-approve calls: MCP can perform CRUD operations, including deletions, and conversation data can be exposed by sharing or provider settings.
See how sibling tools handle programmatic connections in MCP servers for website builders & cms tools.
Sources:Directus MCP overviewMCP installationMCP OAuthMCP toolsMCP securityLocal MCP installationDirectus AI and MCP
Which MCP tools does Directus expose?
The
Directus MCP server exposes 5 documented MCP tools for connected AI clients.
| Tool | What it does | Access |
|---|---|---|
system-prompt | Load | Read only |
schema | Read collection and field schema information. | Read only |
items | Manage collection items, including CRUD operations. | Changes data |
files | Manage uploaded files and their metadata. | Changes data |
collections | Create or modify | Changes data |
How do you connect Directus to your AI app?
Directus documents direct connection steps for
Claude Code,
ChatGPT,
Cursor,
VS Code.
Claude Code
- For a self-hosted project, set MCP_OAUTH_ENABLED=true, MCP_OAUTH_CIMD_ENABLED=true or MCP_OAUTH_DCR_ENABLED=true, and PUBLIC_URL to the public
Directus URL, then restart Directus. - In Settings, AI, Model Context Protocol, enable MCP Server, OAuth Enabled, and the matching Client ID Metadata Document or Dynamic Client Registration setting, then save.
- Add the remote endpoint with claude mcp add --transport http directus https://your-directus-url.com/mcp.
- Complete the browser authorization flow when prompted.
ChatGPT
- For a self-hosted project, set MCP_OAUTH_ENABLED=true, MCP_OAUTH_DCR_ENABLED=true, and PUBLIC_URL to the public
Directus URL, then restart Directus. - In Settings, AI, Model Context Protocol, enable MCP Server, OAuth Enabled, and Dynamic Client Registration, then save.
- Create an app in
ChatGPT Settings, Apps and Connectors. - Set the MCP Server URL to https://your-directus-url.com/mcp and choose OAuth.
- Open Advanced OAuth settings and select Dynamic Client Registration, then click Create to save the connector.
- Complete the browser authorization flow.
Cursor
- For a self-hosted project, set MCP_OAUTH_ENABLED=true, MCP_OAUTH_DCR_ENABLED=true, and PUBLIC_URL to the public
Directus URL, then restart Directus. - In Settings, AI, Model Context Protocol, enable MCP Server, OAuth Enabled, and Dynamic Client Registration, then save.
- Create .cursor/mcp.json with the remote
Directus MCP URL. - Replace your-directus-url.com with the instance URL.
- Complete the browser authorization flow when prompted.
VS Code
- For a self-hosted project, set MCP_OAUTH_ENABLED=true, MCP_OAUTH_CIMD_ENABLED=true, and PUBLIC_URL to the public
Directus URL, then restart Directus. - In Settings, AI, Model Context Protocol, enable MCP Server, OAuth Enabled, and Client ID Metadata Document, then save.
- Install
VS Code 1.102 or later and the GitHub Copilot extension. - Add the remote
Directus MCP URL to mcp.json in .vscode or user settings. - Use Agent mode in Chat and complete the browser authorization flow.
How did we check Directus API and MCP access?
Directus verification summary: Every fact comes from the vendor's own pricing, documentation and help pages, read on the date shown. Last checked 27 Nov 2026 following how we check figures and our AI agent readiness study.
Sources:API referenceAccess tokensDirectus SDKSecurity and limitsZapier integrationn8n integrationDirectus MCP overviewMCP installationMCP OAuthMCP toolsMCP securityLocal MCP installationDirectus AI and MCP
What are common questions about Directus API and MCP?
Which Directus plan includes MCP?
Directus says its AI Assistant and MCP server are included on every Directus tier, including free.
What can an agent change through Directus MCP?
The documented tools can manage items, files, and collections. A connected agent only receives the permissions of the
Directus user that authorizes it, and deletion is disabled by default in the MCP settings.
What does Directus charge per API or MCP call?
The
Directus pricing and MCP pages read for this record do not state a per-call API or MCP price, credit allowance, or MCP quota.