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 knowDetail
Sign-inAccess tokens, cookies, or sessions
Rate limitsOptional built-in per-IP API limiter: 50 requests per second by default when enabled.
OpenAPI fileYes
Official SDKsJavaScript, TypeScript
WebhooksYes
DocsAPI 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 knowDetail
Who makes itOfficial, run by Directus
Where it runsHosted, or run on your computer
Address or packageRemote: https://your-directus-url.com/mcp. Local: npx @directus/content-mcp@latest.
Sign-inOAuth or a static access token
Plan that includes itEvery Directus tier, including free
Works withClaudeClaude CodeChatGPTCursorVS Code

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.

ToolWhat it doesAccess
system-promptLoad Directus and instance context for the AI assistant.Read only
schemaRead collection and field schema information.Read only
itemsManage collection items, including CRUD operations.Changes data
filesManage uploaded files and their metadata.Changes data
collectionsCreate or modify Directus collections.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

  1. 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.
  2. 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.
  3. Add the remote endpoint with claude mcp add --transport http directus https://your-directus-url.com/mcp.
  4. Complete the browser authorization flow when prompted.

ChatGPT

  1. 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.
  2. In Settings, AI, Model Context Protocol, enable MCP Server, OAuth Enabled, and Dynamic Client Registration, then save.
  3. Create an app in ChatGPT Settings, Apps and Connectors.
  4. Set the MCP Server URL to https://your-directus-url.com/mcp and choose OAuth.
  5. Open Advanced OAuth settings and select Dynamic Client Registration, then click Create to save the connector.
  6. Complete the browser authorization flow.

Cursor

  1. 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.
  2. In Settings, AI, Model Context Protocol, enable MCP Server, OAuth Enabled, and Dynamic Client Registration, then save.
  3. Create .cursor/mcp.json with the remote Directus MCP URL.
  4. Replace your-directus-url.com with the instance URL.
  5. Complete the browser authorization flow when prompted.

VS Code

  1. 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.
  2. In Settings, AI, Model Context Protocol, enable MCP Server, OAuth Enabled, and Client ID Metadata Document, then save.
  3. Install VS Code 1.102 or later and the GitHub Copilot extension.
  4. Add the remote Directus MCP URL to mcp.json in .vscode or user settings.
  5. 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.