Levarage Claude Sonnet for MCP server with +20 tools available

“Prompt to Directus Database”

Directus MCP Server

Example usage:

Prompt: “Please analyze my schema.”
It will return broken relationships and suggest a fixes for the database.

A robust Model Context Protocol (MCP) server for Directus, providing seamless integration between Claude AI and your Directus CMS. This custom implementation offers more features and better reliability than the official Directus MCP package.

Features

:bar_chart: Data Access

  • Collection Management: List and access all Directus collections

  • Item Retrieval: Fetch items from any collection with customizable limits

  • Smart Filtering: Built-in support for published content filtering

  • Type Safety: Proper error handling and data validation

:hammer_and_wrench: Schema Management

  • Collection Creation: Create new collections programmatically

  • Field Management: Add/remove fields with proper type definitions

  • Relationship Builder: Create complex many-to-many, one-to-many relationships

  • Schema Inspection: View current database schema and relationships

:robot: AI Prompts Integration

  • Dynamic Prompts: Store and manage AI prompts in Directus

  • Variable Substitution: Mustache-style template variables ({{variable}})

  • Prompt Library: Organized prompt management for different AI workflows

:shopping_cart: E-commerce Features

  • Product Sync: Integration with external inventory APIs

  • Customer Management: Access customer data and order information

  • Inventory Updates: Automated stock synchronization