• CREATE
  • MODIFY
  • SEARCH
  • HUMAN

How to update database records with your AI

Connect Directus to your AI client once. From then on, you can manage your collections through simple chat.

Ask AI about this page

Short answer

Can I update my Directus data using AI?

Yes. You can use your AI to find, add, or change any item in your Directus collections. You'll see how this works through the breakdown below.

Data outcomes

What your data becomes

Your AI handles the database work so you don't have to use the Directus dashboard for every small change.

CREATE

New entries

Tell your AI to add a new row to a collection. It handles the data entry for you.

MODIFY

Updated records

Change specific fields or values in existing items. You can target records by name or ID through chat.

SEARCH

Found items

Ask questions to pull up specific records. The AI scans your collections to find what you need.

HUMAN

Manual control

You still own the Directus dashboard. Use it to verify complex relationships or perform bulk operations.

The workflow

What your AI does when <the thing arrives>.

The AI translates your natural language into specific database actions.

  1. Locate the target

    The AI identifies which collection and which specific record you are talking about.

    search_items
  2. Apply changes

    Once the item is found, the AI applies the new values or creates a fresh entry.

    update_itemcreate_item
  3. Remove data

    If you tell the AI to get rid of something, it targets the specific ID for removal.

    delete_item
  4. Verify state

    The AI checks the current state of your collections to confirm the request was successful.

    list_items

Try it

Copy these to start.

Use these prompts to kick off your first task.

Starting points

Swap out the collection names and field values for your actual Directus setup.

Directus Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_Bfvn0YkOAhH7MFw8q7LeRL9p3SPkzaigqleLEiMg/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-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Bfvn0YkOAhH7MFw8q7LeRL9p3SPkzaigqleLEiMg/mcp"
    }
  }
}
Copy into chat04
  • Create a new user in the 'customers' collection with the name 'Alex Rivera'.

  • Find the product in the 'inventory' collection with the SKU 'SKU-992' and change its status to 'out of stock'.

  • List all items in the 'orders' collection that were created yesterday.

  • Delete the entry in the 'test_logs' collection with the ID 502.

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

Start here

Connect Directus once, then ask.

Just link your Directus instance to Vinkius. Your credentials stay encrypted, and you can immediately start chatting with your data in any MCP-compatible client.

Connect Directus to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my database schema?

    No. The AI can only interact with the data inside your collections, not modify the structure or fields.

  • 02

    Does the AI delete things without asking?

    No. The AI only performs a deletion if you explicitly tell it to delete a specific item in your prompt.

  • 03

    Can I use this to create new collections?

    No. This connector is for managing items within existing collections.

  • 04

    How does the AI know which item to update?

    It uses search and list functions to find the correct item ID based on the details you provide.

  • 05

    Will my Directus password be visible to the AI?

    No. Your connection is handled securely through Vinkius, and the AI only sees the data it needs to perform your requests.

  • More questions about Directus? The Connector page answers them. See everything the Directus Connector can do

Connect Directus to Claude, Cursor, ChatGPT & more