# Connect Directus to Your AI Agent (Universal MCP)

> Use your AI to publish content, update records, and organize files in Directus — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http directus https://api.universalmcp.app/mcp/directus`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/directus` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "directus", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Directus | Category: AI, Data & Automation (Directus) | Auth: Guided self-hosted connector setup | Deployment: self-hosted
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Collections and schema, Roles and permissions, Digital assets; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/directus | Guide: https://universalmcp.app/mcp/directus
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (15 actions: 6 Read, 9 Write)
Perform over 10 actions across content management, API access, data connectivity, AI & MCP integration, and deployment & administration. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Content Management (3):** Create Content Entry (write), Edit Content Entry Collaboratively (write), Browse Collections in No-code Interface (read)
- **API Access (3):** Query Content via REST API (read), Query Content via GraphQL API (read), Write Content via REST API (write)
- **Data Connectivity (3):** Connect Existing Database (write), Browse Connected Database Tables (read), Update Collection Schema (write)
- **AI & MCP Integration (3):** Connect Claude via MCP (write), Connect Cursor via MCP (write), Query Backend Data via MCP (read)
- **Deployment & Administration (3):** Deploy Self-Hosted Instance (write), Manage Editor Roles and Permissions (write), Review Editor Access (read)

## Example Prompts for Directus
- **Schema changes:** "List every Directus collection changed this week, with the field names added and the user who made each change."
- **Role access:** "Show which Directus roles can read or edit the products collection, and flag any role with write access to settings."
- **Asset library:** "Summarize Directus digital assets uploaded this month by folder, and list the three largest files by size."
- **Guarded draft:** "Draft a new field for the products collection in Directus, and wait for my approval before applying the schema change."
