- AUDIT
- SECURITY
- IDENTITY
- MANUAL
Short answer
How can I manage Directus users and roles with AI?
Your AI pulls user lists, inspects roles, and identifies your own account details. You get a clear view of system permissions and user activity through natural language commands. This breakdown shows how you can audit your setup.
The results.
Where your data lands.
The AI maps your Directus data to these specific outcomes.
AUDIT
User list reviews
The AI pulls current user data so you can spot unauthorized accounts or inactive users immediately.
SECURITY
Permission checks
Verify exactly what each role can access to ensure your data stays locked down.
IDENTITY
Account verification
Confirm your own permissions and identity within the system to validate your access level.
MANUAL
Human intervention
The AI identifies permission gaps that require you to manually adjust settings in the Directus dashboard.
The workflow
What your AI does when the request arrives.
The AI acts as a bridge between your chat interface and your Directus instance.
Identify yourself
The AI checks your current session to see who you are and what you can do.
get_mePull user data
The AI fetches the full list of users registered in your Directus instance.
list_usersInspect roles
The AI retrieves the specific roles defined in your system to check their scope.
list_rolesCross-reference access
The AI compares user lists against role definitions to find permission mismatches.
list_userslist_roles
Try it
Copy these to start.
Use these prompts to begin your audit.
Starting points
Swap the bracketed text for your specific user names or role titles.
Directus Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_Bfvn0YkOAhH7MFw8q7LeRL9p3SPkzaigqleLEiMg/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Directus capabilities are ready to use.
{
"mcpServers": {
"directus-mcp": {
"url": "https://edge.vinkius.com/vk_preview_Bfvn0YkOAhH7MFw8q7LeRL9p3SPkzaigqleLEiMg/mcp"
}
}
}List all users in my Directus instance.
Show me all the roles currently defined in the system.
Who am I logged in as and what are my permissions?
Check the permissions for the [Admin] role and compare it to the [Editor] role.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Directus once, then ask.
One connection links your AI to your Directus data. Your credentials stay encrypted, and you can start asking questions immediately.
Connect Directus to your AIFAQ
How this task behaves.
- 01
Can the AI create new users?
No. The current tools only allow the AI to list and inspect existing users and roles.
- 02
Can the AI change user permissions?
No. The AI can audit and report on permissions, but you must make any actual changes manually in Directus.
- 03
Can the AI delete roles?
No. There are no tools provided to delete or modify system roles.
- 04
How does the AI know who I am?
It uses a specific tool to fetch your current session information.
- 05
Does the AI see all my data?
The AI only sees the user and role data it is specifically asked to retrieve.
More questions about Directus? See everything the Directus Connector can do
Connect Directus to Claude, Cursor, ChatGPT & more
