Atlas / MCP servers / pixelsock / Directus

DirectusSAFE

mcp/pixelsock/directus-1

MCP server for Directus API integration

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
18 14r · 3w · 1d
Transport
stdio · streamable-http
License
—
Stars
24
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://smithery.ai/server/@pixelsock/directus-mcp)

A Node.js server implementing Model Context Protocol (MCP) for Directus CMS. Enable AI Clients to interact with the Directus API through the Model Context Protocol (MCP).

i Prerequisites

▶️ Quick start

  1. Get your Directus API credentials
  • Go to your Directus instance
  • Create a static access token or get your email and password
  • Keep these credentials secure
  1. Add to your AI editor
{
"mcpServers": {
"directus": {
"command": "npx",
"args": ["-y", "@pixelsock/directus-mcp@latest"],
"env": {
"DIRECTUS_URL": "https://your-directus-instance.com",
"DIRECTUS_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
}
}
}
}

Alternatively, you can use email/password authentication:

{
"mcpServers": {
"directus": {
"command": "npx",
"args": ["-y", "@pixelsock/directus-mcp@latest"],
"env": {
"DIRECTUS_URL": "https://your-directus-instance.com",
"DIRECTUS_EMAIL": "[email protected]",
"DIRECTUS_PASSWORD": "your-password"
}
}
}
}

For Cursor:

  1. Go to Settings → Cursor Settings → MCP
  2. Click + Add New Global MCP Server
  3. Paste configuration
  4. Replace placeholder values with your Direct
Read from source at commit 4b08a1c6ffedOBSERVED · 2026-10-09
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add directus-api-extended --env DIRECTUS_ACCESS_TOKEN=${DIRECTUS_ACCESS_TOKEN} --env DIRECTUS_PASSWORD=${DIRECTUS_PASSWORD} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "directus-api-extended": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DIRECTUS_ACCESS_TOKEN": "${DIRECTUS_ACCESS_TOKEN}",
        "DIRECTUS_PASSWORD": "${DIRECTUS_PASSWORD}"
      }
    }
  }
}
03

Exposed tools (18)

14 read · 3 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
createItemwriteCreate a new item in a collection
deleteItemdestructiveDelete an item from a collection
getActivityreadGet activity logs from Directus
getCollectionsreadGet all collection schemas from Directus
getConfigreadGet current configuration information (without secrets)
getCurrentUserreadGet the current user info
getFieldsreadGet fields for a collection
getFilesreadGet files from Directus
getItemreadGet a single item from a collection by ID
getItemsreadGet items from a collection in Directus
getPermissionsreadGet permissions from Directus
getRelationsreadGet relations for a collection
getRolesreadGet roles from Directus
getSystemInforeadGet system information from Directus
getUsersreadGet users from Directus
loginreadLogin to Directus and get an access token
updateItemwriteUpdate an existing item in a collection
uploadFilewriteUpload a file to Directus
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (5)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
deleteItem
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, axios, form-data, zod, @modelcontextprotocol/inspector, @types/node, concurrently, nodemon
Why it matters. 9 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
README.md:22
- Create a static access token or get your email and password
Why it matters. asks the agent to read credentials
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
README.md:83
2. Check that your access token or email/password credentials are valid
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-09 · audit v0.4.1 · source sha 4b08a1c6ffedfull audit observations/trust-audit/mcp-server/pixelsock__directus-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-094b08a1c6ffedSAFEB89first audit
06

Questions

What is the Directus MCP server?

MCP server for Directus API integration

What tools does Directus expose?

18 in total: 14 read-only, 3 that write, and 1 that can delete or overwrite (deleteItem). Every one is listed on this page with its risk.

Is Directus safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Directus need?

It reads DIRECTUS_ACCESS_TOKEN and DIRECTUS_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Directus run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as directus-api-extended at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (4b08a1c6ffed), read on 2026-10-09. The repository is watched and re-audited when it changes.

Advertisement