mcp
The Directus Content MCP Server is designed for Directus users to seamlessly interact with their data through AI tools and LLMs. It supports various functionalities like content creation, data analysis, and automation while intentionally restricting destructive actions to prevent data loss.
Directus Content MCP Server
The Directus Content MCP Server enables Directus users to interact with their data using LLMs, making it particularly useful for content editors and data analysts. Features include creating and updating content, querying collections, and generating reports. The server intentionally limits destructive actions to prevent data loss. Future improvements for developers are planned, focusing on local and development environments.
Installation
- Ensure an existing Directus project or start with a demo.
- Generate a static access token or use an email/password to connect MCP to Directus.
- Configure the MCP using Claude Desktop or Cursor for integration.
Tools
- system-prompt: Provides context for the LLM.
- read-collections/items: Retrieve schemas or data.
- create/update/delete-item: Manage content.
- read-files: Access file metadata or raw content.
- manage-comments/prompts: Collaborate and automate.
- mustache templating: Use for dynamic content.
Local / Dev Installation
Clone the repo, build with pnpm
, and configure with Claude Desktop or Cursor.
❤️ Contributing
Discuss proposed changes before submitting any PRs.
🙏 Thanks To
Created by @rijkvanzanten
License
MIT