Directus

Directus

Connect to a Directus instance (self-hosted or Directus Cloud) to discover collections and fields, query items, and retrieve individual records through the read-only REST API.

7-day free trial · No credit card · EU-hosted

Ask Directus anything

Try a real prompt against Directus via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.

Install Directus on Cloud
Directus · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Setup in 2 minutes

  1. 1Start a free trial on cloud.anythingmcp.com.
  2. 2Click Directus in the connector store. Paste credentials when prompted.
  3. 3Mint an MCP API key and point your AI client at the generated MCP URL.
Install Directus now

Guides for Directus

Step-by-step setup for the most popular AI clients.

Setting up Directus

From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.

Set DIRECTUS_URL to the root URL of your Directus instance, for example https://directus.example.com. Directus Cloud and any other publicly reachable instance work as they are. A self-hosted instance on a private network or a private IP address must also be allowed through SSRF_ALLOWED_HOSTS, because the outbound guard blocks private address space by default. Set DIRECTUS_TOKEN to a Directus user's static access token; it is sent using the Authorization Bearer header and must never be placed in the query string. This adapter is read-only. Use directus_list_collections to discover available collections and directus_list_fields before constructing filters. The token needs separate read permission for the directus_fields system collection to use directus_list_fields. A token may be able to read items while receiving HTTP 403 from /fields/{collection}. Directus returns HTTP 403 with an intentionally ambiguous 'no permission or it does not exist' message for inaccessible collections, so this response does not prove that the collection is absent. Collection names and item ids are percent-encoded into the request path, so a value can only ever name one collection or one item. When directus_list_items is called with meta, the result is an object with data and meta (for example total_count or filter_count, useful for paging); without meta it is the list of items.

Your AI is two clicks away from Directus.

Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.