directus-mcp-server
Verified Safeby Skeyelab
Overview
This server acts as a Model Context Protocol (MCP) interface for AI assistants and other MCP clients to programmatically manage Directus CMS schema, content, workflows, and dashboards.
Installation
npx -y @skeyelab/directus-mcp-serverEnvironment Variables
- DIRECTUS_URL
- DIRECTUS_TOKEN
- DIRECTUS_EMAIL
- DIRECTUS_PASSWORD
- MCP_TOOLSETS
Security Notes
The server adheres to good security practices by loading sensitive Directus authentication credentials (URL, token, email, password) from environment variables, preventing hardcoding. It leverages Zod for input validation on incoming MCP requests, ensuring arguments conform to expected schemas. There are no direct uses of 'eval' or obvious obfuscation. Network communication relies on the standard `fetch` API to interact with the Directus instance. Some Zod schemas use `z.record(z.any())` or `z.array(z.any())` for complex Directus API parameters (e.g., filters, deep queries, options), which means the server passes these structures directly to the Directus API without deeper content-specific validation. This delegates the responsibility of sanitizing and securing these complex query objects entirely to the Directus API itself. While this is standard for a proxy, a hypothetical vulnerability in Directus's handling of complex, dynamic queries could be exposed through this mechanism. Overall, the server's own code is robust against common web vulnerabilities.
Similar Servers
mesh
An open-source control plane for Model Context Protocol (MCP) traffic, providing unified authentication, routing, observability, and tool management for AI agents and integrations across various services.
metorial-index
A background service that builds and maintains a comprehensive public catalog of Model Context Protocol (MCP) servers, enriching their metadata through automated fetching from repositories and AI-driven content generation.
1xn-vmcp
An open-source platform for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, enabling fine-grained context engineering for AI workflows and agents.
mmcp
Manages Model Context Protocol (MCP) server definitions in a central configuration and applies them to various AI agent tools.