An MCP server for Directus CMS, enabling AI clients to interact with the Directus API.
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).
Get your Directus API credentials
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": "your-email@example.com",
"DIRECTUS_PASSWORD": "your-password"
}
}
}
}
For Cursor:
+ Add New Global MCP Server
For Claude Desktop:
Edit Config
claude_desktop_config.json
in a code editor and paste configurationIf you are having issues starting the server in your MCP client e.g. Cursor or Claude Desktop, please try the following.
Run the following commands to confirm you have Node and NPM installed:
node -v
npm -v
Sometimes clearing your NPM cache can resolve issues with npx
.
npm cache clean --force
getItems // Get items from a collection
getItem // Get a single item from a collection by ID
createItem // Create a new item in a collection
updateItem // Update an existing item in a collection
deleteItem // Delete an item from a collection
getCollections // Get all collection schemas
getFields // Get fields for a collection
getRelations // Get relations for a collection
getFiles // Get files from Directus
uploadFile // Upload a file to Directus
login // Login to Directus and get an access token
getUsers // Get users from Directus
getCurrentUser // Get the current user info
getRoles // Get roles from Directus
getPermissions // Get permissions from Directus
getSystemInfo // Get system information from Directus
getActivity // Get activity logs from Directus
getConfig // Get current configuration information
If you want to run the server in development mode:
Clone and install:
git clone https://github.com/pixelsock/directus-mcp.git
cd directus-mcp
npm install
Add your credentials to .env
:
# .env
DIRECTUS_URL=https://your-directus-instance.com
DIRECTUS_ACCESS_TOKEN=your_token_here
# Or use email/password
DIRECTUS_EMAIL=your-email@example.com
DIRECTUS_PASSWORD=your-password
Start development server:
npm run dev
Access property data, valuations, and market statistics using the RentCast API.
Interact with AskTable SaaS or local deployments to query data sources using natural language.
Provides structured access to Aster DEX market data, including candlesticks, order books, trades, and funding rates.
MCP server for libSQL databases with comprehensive security and management tools. Supports file, local HTTP, and remote Turso databases with connection pooling, transaction support, and 6 specialized database tools.
Access the NFTGo Developer API for comprehensive NFT data and analytics. Requires an NFTGo API key.
Enables natural language interaction with Salesforce data. Query, modify, and manage Salesforce objects and records.
A MCP server that provides real-time cryptocurrency market data through CoinCap's public API without requiring authentication
Interact with Neon Postgres databases using natural language to manage projects, branches, queries, and migrations via the Neon API.
Connect AI tools with Pinecone projects to search, configure indexes, generate code, and manage data.
Integrates with Supabase to allow AI assistants to access and manage store data.