4,500+ servers built on MCP Fusion
Vinkius
Directus logo
Vinkius
Cursor logo

How to Use the Directus MCP in Cursor

Generate code using live Directus data inside your Cursor editor.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Directus MCP on Cursor AI Code Editor MCP Client Directus MCP on Claude Desktop App MCP Integration Directus MCP on OpenAI Agents SDK MCP Compatible Directus MCP on Visual Studio Code MCP Extension Client Directus MCP on GitHub Copilot AI Agent MCP Integration Directus MCP on Google Gemini AI MCP Integration Directus MCP on Lovable AI Development MCP Client Directus MCP on Mistral AI Agents MCP Compatible Directus MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Cursor

Connect Directus MCP to Cursor

Create your Vinkius account to connect Directus to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Feed real Directus schemas into Cursor Agent

`list_collections` pulls your live Directus database schema directly into the Cursor editor context using this MCP connection. Cursor reads this structure to write exact TypeScript interfaces instead of guessing field types. By executing `list_fields` inside Cursor, the editor maps out nested relations and foreign keys in your Directus instance. This validation prevents compilation errors because your code matches the actual database state.

Test API integrations in Cursor with real data

`get_item` fetches actual Directus records directly into your active Cursor chat. You can write your API parsing logic using actual JSON payloads rather than outdated mock objects. Use `create_item` to push test records from your Cursor editor to verify your Directus write operations. This tight loop keeps you inside the editor instead of switching to an API client.

Map backend roles using this Cursor MCP Server

`list_roles` retrieves the current authorization levels defined in your Directus database for Cursor to analyze. The editor reads these configurations to help you write accurate frontend permission checks. With `get_me` and `list_users` inside Cursor, the editor verifies the active Directus API token's permissions. Preventing unauthorized database calls saves debugging time.

Setup guide

Set up Directus MCP in Cursor

Prerequisites

  • Cursor installed (macOS, Windows, or Linux)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Open MCP Settings

    Go to Cursor Settings → MCP or open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for "MCP: Add Server".

  2. 2

    Add the Directus MCP

    Cursor will create or open .cursor/mcp.json in your project root. Paste the JSON snippet on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com.

  3. 3

    Enable Agent mode

    Open Composer (Cmd+I / Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode.

  4. 4

    Verify the connection

    Ask Cursor something like "List my recent Directus transactions." If the MCP tools are loaded correctly, Cursor will call the Directus tools automatically. You can also check Settings → MCP for a green status indicator.

.cursor/mcp.json
{
  "mcpServers": {
    "directus-alternative-mcp": {
      "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    }
  }
}

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Directus. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Directus MCP in Cursor

Create a `.cursor/mcp.json` file in your repository and specify your Directus API credentials. Cursor will automatically load the tools, allowing you to query your CMS directly from the editor.
No, Cursor cannot alter your Directus database structure because the server does not expose schema-altering tools. Cursor can read your tables using `list_collections` and modify records via `update_item`.
The agent invokes the `search_items` tool with your query parameters directly from the Cursor chat window. It retrieves matching records and injects them directly into your active coding context.
Run the `check_directus_status` tool inside Cursor to verify that your API token has active access. The editor displays the connection status so you can debug authentication issues.
No, your Directus database items and user roles are transmitted directly between Cursor and your CMS instance. This local integration ensures your sensitive database configurations are never exposed.

Start using the Directus MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 16 tools

We've already built the connector for Directus. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 16 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.