Feedback

Directus MCP Server

@pixelsock Claim

Basic information

Runtime
node
Version
1.0.0
Category
License
Not specified
Transports
stdio
Author
pixelsock
Submitted by
Community
Quality
35
Stars
24

About Directus MCP Server

Query your Directus instance: collections, users. Endpoints per official docs.

Directus MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by pixelsock. Supported transport: stdio. Runtime: node. The repository has 24 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "directus": {
            "command": "npx",
            "args": [
                "-y",
                "@pixelsock/directus-mcp@latest"
            ],
            "env": {
                "DIRECTUS_URL": "https://your-directus-instance.com",
                "DIRECTUS_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
            }
        }
    }
}

Directus MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "directus": {
            "command": "npx",
            "args": [
                "-y",
                "@pixelsock/directus-mcp@latest"
            ],
            "env": {
                "DIRECTUS_URL": "https://your-directus-instance.com",
                "DIRECTUS_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
            }
        }
    }
}

Directus MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Directus MCP Server?

A Node.js server implementing the Model Context Protocol (MCP) for Directus CMS. It enables AI clients to interact with the Directus API through MCP, allowing AI-driven content management and data operations.

How to use Directus MCP Server?

Configure the server in your MCP client (e.g., Cursor or Claude Desktop) using npx with environment variables for your Directus URL and authentication credentials (access token or email/password). The server runs via stdio by default, with an optional HTTP transport for remote deployments.

Key features of Directus MCP Server

  • Manage collections and items (CRUD operations)
  • Upload and retrieve files from Directus
  • Authenticate users and manage permissions
  • Fetch system information and activity logs
  • Supports both stdio and Streamable HTTP transport
  • Works with Cursor, Claude Desktop, and other MCP clients

Use cases of Directus MCP Server

  • AI assistant that creates, updates, or deletes content in Directus
  • Automated data retrieval and reporting from Directus collections
  • File management (uploading and fetching assets) via AI
  • User and role management operations through natural language
  • Remote multi-user content management using HTTP transport

Frequently asked questions

1 What do I need to run this server?

You need Node.js and NPM installed, plus a running Directus instance with valid credentials (access token or email/password).

2 How do I authenticate with Directus?

Set DIRECTUS_URL and either DIRECTUS_ACCESS_TOKEN or both DIRECTUS_EMAIL and DIRECTUS_PASSWORD in the server’s environment configuration.

3 What transport modes are supported?

The default is stdio for local AI editors. Set MCP_TRANSPORT=http (or streamable-http) for remote multi-user deployments.

4 How do I fix startup issues in my MCP client?

Verify your Directus credentials are correct and accessible, ensure Node and NPM are installed, and try clearing your NPM cache with npm cache clean --force.

5 Where can I find more Directus developer resources?

Official Directus API documentation, REST API endpoints, and JavaScript SDK are available at docs.directus.io.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬