• VALIDATION
  • MAPPING
  • RELIABILITY
  • HUMAN

How to inspect database schemas with your agent

Connect Directus to your agent once. From then on, your agent can see your entire data structure without you ever leaving your code editor.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

Can my AI see my Directus data model?

Yes. Your AI agent uses this MCP to pull collection names and field definitions directly from your Directus instance. This lets you validate field types and relationships while you write code. You'll get a clear view of your data structure.

The results of inspection.

Where your data model lands.

Your agent handles the heavy lifting of mapping your data model.

VALIDATION

Verified field types

Your agent checks if a field is a string, integer, or relation. You'll know exactly what data types to expect in your queries.

MAPPING

Accurate collection lists

Your agent pulls the full list of available collections. This prevents typos and ensures you're targeting the right tables.

RELIABILITY

Real-time model sync

Since your agent reads the live schema, it always knows if you've added a new field or changed a relationship.

HUMAN

Manual schema design

Your agent can read the structure, but you still need to decide how to build and modify the collections in the Directus dashboard.

The workflow

What your agent does when you ask about your data.

Your agent follows a specific path to map out your Directus environment.

  1. Find collections

    Your agent identifies each collection currently available in your Directus instance.

    list_collections
  2. Target a collection

    Once you name a specific collection, your agent pulls its full metadata.

    get_collection
  3. Inspect field details

    Your agent looks at the individual fields within a collection to see their types and properties.

    list_fields
  4. Verify field types

    Your agent uses field information to confirm if a field matches your expected data format.

    list_fields

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Directus tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin interacting with your Directus schema.

Starting points

Swap out the collection names for the ones actually used in your Directus project.

Directus Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_GfUHShsR6dDBscbzwfGCgCgJZgBT5MsQqEXOFrFu/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Directus capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "directus-alternative-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_GfUHShsR6dDBscbzwfGCgCgJZgBT5MsQqEXOFrFu/mcp"
    }
  }
}
Copy into chat04
  • 01

    List all the collections in my Directus instance.

  • 02

    What are the fields inside the 'orders' collection?

  • 03

    Check the 'customers' collection and tell me which fields are required.

  • 04

    Does the 'products' collection have a foreign key relationship to 'categories'?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Directus once, then ask.

Follow the link to connect your instance. Your credentials stay encrypted, and you'll be ready to chat with your data immediately.

Connect Directus to your agent

FAQ

How the schema inspection works

  • 01

    Can your agent change my database schema?

    No. This MCP only provides tools to read and list existing structures. It cannot create, update, or delete collections or fields.

  • 02

    Can your agent see the actual data inside my rows?

    No. This specific task is limited to inspecting the schema and field definitions, not querying the records themselves.

  • 03

    Does your agent know about my custom fields?

    Yes. If you added a custom field in the Directus dashboard, your agent will see it when it inspects the collection.

  • 04

    How does your agent know which fields are relations?

    Your agent reads the field metadata to identify relationship types, allowing it to understand how your collections link together.

  • 05

    Do I need to give your agent my Directus password?

    No. You connect via Vinkius, which manages the connection securely. Your agent never sees your raw login credentials.

  • More questions about Directus? See everything the Directus Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Directus to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Directus plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Directus to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.