4,000+ servers built on MCP Fusion
Vinkius
Vercel AI SDKSDK
Why use Directus MCP Server with Vercel AI SDK?

Bring Headless Cms
to Vercel AI SDK

Create your Vinkius account to connect Directus to Vercel AI SDK and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
Create Cms RecordGet Collection DetailsGet Single ItemList Collection FieldsList Collection ItemsList Directus FilesList Directus UsersList Schema CollectionsPatch Cms RecordWipe Cms Record
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Directus

What is the Directus MCP Server?

Connect your Directus instance to any AI agent and take full control of your open-source data platform and headless CMS through natural conversation.

What you can do

  • Collection Orchestration — Identify bounded routing spaces inside headless Directus SQL mappers and extract database tables traversing collections natively
  • Item Management — Provision highly-available JSON payloads to write or update Directus rows, or irreversibly wipe records to clear internal database allocations
  • Schema Auditing — Enumerate explicitly attached structured rules defining your PostgreSQL tables and execute bulk iterations to track registered system types
  • Metadata Inspection — Analyze specific localized variables decoding native collection boundaries and extracting hidden tracking configurations seamlessly
  • Field Discovery — Inspect deep internal arrays defining precisely which fields accept formatting and validate payloads strictly against your DB links
  • Identity Oversight — Explains explicitly mapped profile arrays iterating the exact users authorized within the DB layer enforcing RBAC boundaries securely
  • Media Storage — Retrieve the exact structural matching verifying file uploads and generating download routes for active frontends

How it works

  1. Subscribe to this server
  2. Enter your Directus Base URL and Static Token (found in User Directory > User > Token)
  3. Start managing your data platform from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Database Administrators — audit schemas and manage users without writing complex SQL or using the Studio interface
  • Full-stack Developers — create and update records and manage digital assets directly from the IDE or chat
  • Product Teams — monitor collection data and verify field configurations across different environments
  • Content Editors — manage headless content and digital assets through natural language conversation

Built-in capabilities (10)

create_cms_record

Provision a highly-available JSON Payload writing Directus Rows

get_collection_details

Perform structural extraction of properties driving active Tables

get_single_item

Retrieve explicit Cloud logging tracing explicit DB Row UUIDs

list_collection_fields

Inspect deep internal arrays mitigating specific Column configurations

list_collection_items

Identify bounded routing spaces inside Headless Directus SQL mappers

list_directus_files

Retrieve the exact structural matching verifying Media storage

list_directus_users

Identify precise active arrays spanning rented Admin identities

list_schema_collections

Enumerate explicitly attached structured rules defining PostgreSQL tables

patch_cms_record

Mutate global Web CRM boundaries substituting Database values via ID

wipe_cms_record

Irreversibly vaporize explicit App nodes dropping live Rows

Why Vercel AI SDK?

The Vercel AI SDK gives every Directus tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 10 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.

  • TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box

  • Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Directus integration everywhere

  • Built-in streaming UI primitives let you display Directus tool results progressively in React, Svelte, or Vue components

  • Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency

See it in action

Directus in Vercel AI SDK

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run Directus with Vinkius?

The Directus connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

View full Directus details →
Directus
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect Directus using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

Directus and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect Directus to Vercel AI SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures Directus for Vercel AI SDK

Every request between Vercel AI SDK and Directus is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Can my agent list all collections and their fields in Directus?

Yes. Use the 'list_schema_collections' tool to see all tables, and then use 'list_collection_fields' for a specific collection. The agent retrieves the absolute structural details defining precisely which fields accept formatting.

02

How do I create a new record in a specific Directus collection?

Use the 'create_cms_record' tool. Provide the collection name and a JSON payload mapping the columns. Your agent will orchestrate the request to drop the formatted endpoint into your database and return the new UUID.

03

Can I audit authorized users and their roles via the agent?

Absolutely. The 'list_directus_users' tool retrieves the explicitly mapped profile arrays iterating the exact users authorized within the database layer. This helps you monitor RBAC boundaries and organizational identities.

04

How does the Vercel AI SDK connect to MCP servers?

Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.

05

Can I use MCP tools in Edge Functions?

Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.

06

Does it support streaming tool results?

Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.

07

createMCPClient is not a function

Install: npm install @ai-sdk/mcp

Explore More MCP Servers

View all →