MCP server for Directus 12 — items, collections, files, flows, users, and schema tools
Connect Runs on your machine
claude mcp add directus-mcp-server -e DIRECTUS_URL=<DIRECTUS_URL> -e DIRECTUS_TOKEN=<DIRECTUS_TOKEN> -- npx -y @staminna/[email protected]
{
"mcpServers": {
"directus-mcp-server": {
"command": "npx",
"args": [
"-y",
"@staminna/[email protected]"
],
"env": {
"DIRECTUS_URL": "<DIRECTUS_URL>",
"DIRECTUS_TOKEN": "<DIRECTUS_TOKEN>"
}
}
}
}
{
"mcpServers": {
"directus-mcp-server": {
"command": "npx",
"args": [
"-y",
"@staminna/[email protected]"
],
"env": {
"DIRECTUS_URL": "<DIRECTUS_URL>",
"DIRECTUS_TOKEN": "<DIRECTUS_TOKEN>"
}
}
}
}
{
"servers": {
"directus-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@staminna/[email protected]"
],
"env": {
"DIRECTUS_URL": "<DIRECTUS_URL>",
"DIRECTUS_TOKEN": "<DIRECTUS_TOKEN>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
DIRECTUS_URLRequired | URL of the Directus instance |
DIRECTUS_TOKENRequired, secret | Static Directus access token |
Details
| Package | @staminna/[email protected] (NPM, stdio) |
| First published | 8 Nov 2026 |
| Last updated | 8 Nov 2026 |
| Registry name | io.github.staminna/directus-mcp-server |
More files and documents servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
