- LOGS
- ACCESS
- SECURITY
- HUMAN
Short answer
How can I audit my Directus activity with AI?
Your AI pulls recent activity logs and user roles to find unauthorized changes. You'll see exactly who did what and what permissions they hold.
Audit outcomes.
Where your findings land.
The AI processes your Directus data to produce these specific results.
LOGS
Activity tracking
The AI pulls recent logs to show you exactly what happened in your instance. You see the specific actions taken by users.
ACCESS
Permission checks
Your agent compares user roles against current permissions. This helps you spot if someone has more access than they should.
SECURITY
Drift detection
The AI identifies changes in user roles or system settings. You get a summary of any unexpected permission shifts.
HUMAN
Manual review
The AI flags suspicious activity for you. You decide if a specific user action requires a manual investigation or a role change.
The workflow
What your AI does when the request arrives.
The AI acts as a bridge between your chat interface and your Directus instance.
Fetch logs
The AI looks up the most recent system events to build a timeline of changes.
list_activityIdentify users
It pulls a list of all registered users to match actions to specific people.
list_usersCheck permissions
The agent examines the specific roles assigned to those users.
list_rolesReport findings
The AI summarizes the logs and roles into a readable report for you to review.
list_activitylist_userslist_roles
Try it
Copy these to start.
Use these prompts to begin your audit.
Starting points
These are opening lines. Swap out the specific user names or role titles to match your setup.
Directus Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_GfUHShsR6dDBscbzwfGCgCgJZgBT5MsQqEXOFrFu/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-alternative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_GfUHShsR6dDBscbzwfGCgCgJZgBT5MsQqEXOFrFu/mcp"
}
}
}Show me the last 10 activity logs in Directus.
Which users currently have the Admin role?
List all users who have modified data in the last 24 hours.
Check the permissions for the Editor role and tell me if it has access to the users collection.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Directus once, then ask.
Follow the link to connect your instance. Your credentials stay encrypted, and you can immediately start asking questions about your data.
Connect Directus to your AIFAQ
How this task behaves
- 01
Can the AI change user permissions?
No. The AI can only read activity, users, and roles. It cannot modify any settings or permissions in Directus.
- 02
Can the AI delete activity logs?
No. The tools only allow the AI to list existing data. It has no capability to delete or edit logs.
- 03
Does the AI see all my data?
The AI only sees what the specific tools allow it to access, which is limited to activity, users, and roles.
- 04
How often does the AI update its view?
The AI fetches fresh data from Directus every time you ask a question.
- 05
Can I use this with Claude?
Yes, as long as you are using an MCP-compatible client like Claude Desktop.
More questions about Directus? See everything the Directus Connector can do
Connect Directus to Claude, Cursor, ChatGPT & more
