Directus MCP Server
@pixelsock
关于 Directus MCP Server
MCP server for Directus API integration
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"directus": {
"command": "npx",
"args": [
"-y",
"@pixelsock/directus-mcp@latest"
],
"env": {
"DIRECTUS_URL": "https://your-directus-instance.com",
"DIRECTUS_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
FAQ from Directus MCP Server
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).
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.
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.
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.
Where can I find more Directus developer resources?
Official Directus API documentation, REST API endpoints, and JavaScript SDK are available at docs.directus.io.
其他 分类下的更多 MCP 服务器
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Servers
modelcontextprotocolModel Context Protocol Servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论