Configuration

AI

Configuration for AI features including the Model Context Protocol (MCP) server.
Environment Variables
Environment variables are configurable for Directus Enterprise Cloud projects via our Customer Success team. You can also set environment variables in self-hosted projects.

Model Context Protocol

VariableDescriptionDefault Value
MCP_ENABLEDWhether the Model Context Protocol server is available for system administrators to enable in project settings. Set to false to completely disable MCP functionality across the entire instance.true
When MCP_ENABLED is set to false, the MCP server cannot be enabled through Settings → AI → Model Context Protocol in the admin interface, providing system administrators with complete control over AI integration features. See the MCP Server guide for more information.

Get once-a-month release notes & real‑world code tips...no fluff. 🐰