Extended MCP server for Directus API
Directus MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Extended MCP server for Directus API.
A Node.js server implementing Model Context Protocol (MCP) for Directus CMS. Enable AI Clients to interact with the Directus API through the Model Context Protocol (MCP).
Once Directus MCP is connected, these are the calls the assistant has available:
Files — The Files tool exposed by this serverSystem — The System tool exposed by this serverConfiguration — You can also pass --transport=http as a CLI argument instead of setting the environment variableYou will need 5 environment variables: DIRECTUS_URL, DIRECTUS_ACCESS_TOKEN, DIRECTUS_EMAIL, DIRECTUS_PASSWORD, YOUR_ACCESS_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Directus MCP's toolset — Files, System, Configuration — is a fair guide to whether it matches your workflow. It is maintained by pixelsock; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Files | The Files tool exposed by this server. |
| System | The System tool exposed by this server. |
| Configuration | You can also pass --transport=http as a CLI argument instead of setting the environment variable. |
{
"mcpServers": {
"directus": {
"command": "npx",
"args": ["-y", "@pixelsock/directus-mcp@latest"],
"env": {
"DIRECTUS_URL": "https://your-directus-instance.com",
"DIRECTUS_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| DIRECTUS_URL | Endpoint or connection string the server talks to. | Yes |
| DIRECTUS_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| DIRECTUS_EMAIL | Filesystem location the server is allowed to use. | Optional |
| DIRECTUS_PASSWORD | Filesystem location the server is allowed to use. | Optional |
| YOUR_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.
Inbox intelligence — search, read, draft and send Gmail through your assistant with OAuth auto-setup.
Read and write Jira, Confluence, Bitbucket, JSM and Compass from your AI client — with your own permissions.
Read and send Telegram messages through your assistant — chats, channels and history via the client API.
Enables Discord bot integration with Model Context Protocol (MCP) compatible applications like Claude Desktop.
Exposes REST APIs defined by OpenAPI specifications as Model Context Protocol (MCP) tools, facilitating seamless integration into MCP-based workflows.