Skip to content
Cursor

directus mcp server for Cursor

io.github.staminna/directus-mcp-server

MCP server for Directus 12 — items, collections, files, flows, users, and schema tools

client:Cursor transport:stdio runtime:npm

Install directus mcp server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "directus-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@staminna/directus-mcp-server"
      ],
      "env": {
        "DIRECTUS_URL": "<DIRECTUS_URL>",
        "DIRECTUS_TOKEN": "<DIRECTUS_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

directus mcp server in other clients