---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Directus MCP connector

The Directus connector lets Claude, ChatGPT and other AI clients read and manage your Directus collections, fields, access rules, comments and activity, with every request running inside the access of the person who asked.

Source: https://elaichi.ai/connectors/directus/

## Facts

| | |
| --- | --- |
| Application | Directus |
| Category | Knowledge Management |
| AI tools | 225 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Directus is connected

- List our Directus collections and the fields in each one.
- Summarize this week's comments on the articles collection.
- Show recent activity on the products collection by our editors.

## Connect Directus in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Directus.
2. Optionally set Share with, then press Connect.
3. Paste a Directus API key. One person generates a token in Directus and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Directus tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Directus MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Directus MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Directus MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Directus MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## Directus MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## Directus MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Directus MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Directus to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Directus tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Directus through Elaichi

### See how a collection is structured

Content. Ask which fields and relations a Directus collection has before you plan new content. You get the answer without clicking through the data model screens.

### Catch up on reviewer comments

Editorial. Pull the latest Directus comments into one plain summary so you know what reviewers asked for before you start editing.

### Find out who changed what last week

Operations. Read the Directus activity log in plain language to see which collections were edited and by whom.

### Bring a batch of records in at once

Operations. Start a Directus batch import for a set of records instead of entering them one at a time.

### Review who can see each collection

IT. List the Directus access rules and check which ones cover a sensitive collection before a launch or an internal review.

### Set up a collection for a new project

Product. Create a Directus collection for a new product line or campaign, then adjust its settings as the plan changes.

## Elaichi vs Zapier MCP vs Composio for Directus

All three can connect Directus to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Directus tools | Allow or restrict single Directus tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Directus call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Directus to Claude?

To connect Directus to Claude, first connect Directus in Elaichi by pasting a Directus API key. Then add https://api.elaichi.ai/mcp in Claude under Customize, then Connectors, then Add, and sign in to Elaichi as yourself. There is no OAuth application to register and no client ID or secret to generate.

### Does Directus work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once Directus is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. You connect Directus once and every client can use it.

### What can an AI agent actually do with my Directus data?

An AI agent connected to Directus can list your collections and explain their fields and relations, summarize comments, read the activity log to show who changed what, and review access rules. Where your access allows, it can also create or update collections and access rules and start batch imports. Short, concrete asks such as listing comments on one collection tend to work better than long sentences.

### Does connecting Directus give the AI access to every collection?

No. Directus requests run with the access of the Directus user behind the API key, so the AI only reaches the collections and fields that user's Directus roles and access rules allow. Elaichi can narrow that further by restricting actions, but it never widens access beyond what Directus permits.

### Can my team share one Directus connection?

Yes. One person connects Directus in Elaichi and shares that connection with a team, so nobody else ever handles the Directus API key. Each teammate still signs in to Elaichi as themselves, so the audit log names the person behind every Directus action.

### Can I stop an agent from deleting or changing things in Directus?

Yes. In Elaichi you can restrict any Directus action, such as deleting a collection or removing access rules, on a role or on one person. A restricted Directus action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a Directus connection when someone leaves?

Offboarding someone in Elaichi ends their access to Directus at once, in every client. A shared Directus connection keeps working for everyone else it is shared with. Disconnecting Directus once in Elaichi removes it from Claude, ChatGPT and every other client together.

### Does the Directus MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Directus is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Directus?

Yes. Both let Claude, ChatGPT or Cursor use Directus. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Directus call.

### How is Elaichi different from Composio for Directus?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Directus: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 225 Directus tools

Every tool below is callable through https://api.elaichi.ai/mcp once Directus is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all Directus access rules** (List). List Access Rules. List all access rules that exist in Directus. The connector pages it with limit + offset (limit = page size, default 100, up to 1000); records at data.
- **Directus access rules bulk create** (Create). Create Multiple Access Rules. Create multiple new access rules.
- **Directus access rules bulk update** (Update). Update Multiple Access Rules. Update multiple access rules at the same time. Required: keys, data.
- **Directus access rules bulk remove** (Delete). Delete Multiple Access Rules. Delete multiple existing access rules.
- **Create a Directus access rule** (Create). Create an Access Rule. Create a new access rule.
- **Get single Directus access rule by ID** (Get). Retrieve an Access Rule. Retrieve a single access rule by unique identifier. Required: id.
- **Update a Directus access rule by ID** (Update). Update an Access Rule. Update an existing access rule. Required: id.
- **Delete a Directus access rule by ID** (Delete). Delete an Access Rule. Delete an existing access rule. Required: id.
- **List all Directus activity** (List). List Activity Actions. Returns a list of activity actions. The connector pages it with limit + offset (limit = page size, default 100, up to 1000); records at data.
- **Get single Directus activity by ID** (Get). Retrieve an Activity Action. Returns a single activity action by primary key. Required: id.
- **Create a Directus AI file** (Create). Upload File for AI. Upload a file to an AI provider for use in subsequent AI requests. Requires AI_ENABLED=true and app-level authentication. Supported providers are openai, anthropic, and google. Maximum file size is 50 MB. Required: file, provider.
- **Create a Directus AI object** (Create). AI Object Extraction. Generate a structured object from a prompt using an AI language model. Requires AI_ENABLED=true and app-level authentication. Streams a JSON object matching the provided output schema. Required: provider, model, prompt, outputSchema.
- **Get single Directus asset by ID** (Get). Retrieve an Asset. Image typed files can be retrieved, dynamically resized and transformed to fit any need. Required: id.
- **List all Directus auth providers** (List). List Auth Providers. List all the configured auth providers.
- **Create a Directus batch import** (Create). Import Multiple Collections. Import flat data for multiple related collections in a single request. Relations are resolved from the schema so collections are imported in dependency order and primary keys (and the foreign keys referencing them) are remapped.
- **Directus cache bulk remove** (Delete). Clear the Internal Cache. Resets the data cache of Directus. Optionally, can also clear system cache. This endpoint is only available to admin users.
- **List all Directus collection fields** (List). List Fields in Collection. Returns a list of the fields available in the given collection. Required: collection.
- **List all Directus collection relations** (List). List relations in collection. List all relations that exist in a given collection. GET /relations/{collection} in Directus's controller (the spec lists it as a POST). Required: collection.
- **List all Directus collections** (List). List Collections. Returns a list of the collections available in the project.
- **Create a Directus collection** (Create). Create a Collection. Create a new collection in Directus. The collection and schema properties are required. To create a collection folder that doesn't have an underlying table, you can set schema to null. You are able to provide an array of fields to be created during the creation of the collection. See the fields object for more information on what properties are available in a field. Required: collection, fields.
- **Get single Directus collection by ID** (Get). Retrieve a Collection. Retrieves the details of a single collection by its table name. Required: id.
- **Update a Directus collection by ID** (Update). Update a Collection. Update the metadata for an existing collection. You can only update the meta values of the collection object. Updating the collection name is not supported at this time. Required: id.
- **Delete a Directus collection by ID** (Delete). Delete a Collection. Delete an existing collection. Warning: This will delete the whole collection, including the items within. Proceed with caution. Required: id.
- **List all Directus comments** (List). Get Comments. Returns a list of comments. The connector pages it with limit + offset (limit = page size, default 100, up to 1000); records at data.
- **Directus comments bulk create** (Create). Create Multiple comments. Create multiple new comments. This action is only available to authenticated users.
- **Directus comments bulk update** (Update). Update Multiple comments. Update multiple existing comments. This action is only available to authenticated users.
- **Directus comments bulk remove** (Delete). Delete Multiple Comments. Delete multiple existing comments. This action is only available to authenticated users.
- **Create a Directus comment** (Create). Create a Comment. Creates a new comment. Required: collection, item, comment.
- **Get single Directus comment by ID** (Get). Get Comment by ID. Returns a single comment by primary key. Required: id.
- **Update a Directus comment by ID** (Update). Update a Comment. Update an existing comment. This action is only available to authenticated users. Required: id.
- **Delete a Directus comment by ID** (Delete). Delete a Comment. Delete an existing comment. This action is only available to authenticated users. Required: id.
- **Get single Directus content version comparison by ID** (Get). Compare a Content Version. Compare an existing content version with the main version of the item. Required: id.
- **Create a Directus content version promotion** (Create). Promote a Content Version. Promote an existing content version to become the new main version of the item. Required: version_id.
- **Create a Directus content version save** (Create). Save to a Content Version. Save item changes to an existing content version. Required: version_id.
- **List all Directus content versions** (List). List Content Versions. List all content versions that exist in Directus. The connector pages it with limit + offset (limit = page size, default 100, up to 1000); records at data.
- **Directus content versions bulk create** (Create). Create Multiple Content Versions. Create multiple new content versions.
- **Directus content versions bulk update** (Update). Update Multiple Content Versions. Update multiple content versions at the same time. Required: data, keys.
- **Directus content versions bulk remove** (Delete). Delete Multiple Content Versions. Delete multiple existing content versions.
- **Create a Directus content version** (Create). Create a Content Version. Create a new content version for an item.
- **Get single Directus content version by ID** (Get). Retrieve a Content Version. Retrieve a single content version by unique identifier. Required: id.
- **Update a Directus content version by ID** (Update). Update a Content Version. Update an existing content version. Required: id.
- **Delete a Directus content version by ID** (Delete). Delete a Content Version. Delete an existing content version. Required: id.
- **List all Directus current user** (List). Retrieve Current User. Retrieve the currently authenticated user.
- **Directus current user bulk update** (Update). Update Current User. Update the currently authenticated user.
- **List all Directus dashboards** (List). List Dashboards. List all dashboards that exist in Directus. The connector pages it with limit + offset (limit = page size, default 100, up to 1000); records at data.
- **Directus dashboards bulk create** (Create). Create Multiple Dashboards. Create multiple new dashboards.
- **Directus dashboards bulk update** (Update). Update Multiple Dashboards. Update multiple dashboards at the same time. Required: data, keys.
- **Directus dashboards bulk remove** (Delete). Delete Multiple Dashboards. Delete multiple existing dashboards.
- **Create a Directus dashboard** (Create). Create a Dashboard. Create a new dashboard.
- **Get single Directus dashboard by ID** (Get). Retrieve a Dashboard. List an existing dashboard by primary key. Required: id.
- ...and 175 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
