@trendeelabs/directus-docs-mcp-server
v0.2.6
Published
MCP server for accessing Directus documentation.
Maintainers
Readme
@trendeelabs/directus-docs-mcp-server
A Model Context Protocol (MCP) server that provides AI assistants with direct access to Directus's complete knowledge base. This includes comprehensive documentation with MDX support, a collection of production-ready code examples, technical blog posts, and detailed package changelogs. The server integrates with popular AI development environments like Cursor and Windsurf, as well as Directus agents, making it easy to build documentation-aware AI assistants that can provide accurate, up-to-date information about Directus's ecosystem.
Installation
In Cursor
Create or update .cursor/mcp.json in your project root:
MacOS/Linux
{
"mcpServers": {
"directus": {
"command": "npx",
"args": ["-y", "@trendeelabs/directus-docs-mcp-server@latest"]
}
}
}Windows
{
"mcpServers": {
"directus": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@trendeelabs/directus-docs-mcp-server"]
}
}
}This will make all Directus documentation tools available in your Cursor workspace. Note that the MCP server won't be enabled by default. You'll need to go to Cursor settings -> MCP settings and click "enable" on the Directus MCP server.
In Windsurf
Create or update ~/.codeium/windsurf/mcp_config.json:
MacOS/Linux
{
"mcpServers": {
"directus": {
"command": "npx",
"args": ["-y", "@trendeelabs/directus-docs-mcp-server@latest"]
}
}
}Windows
{
"mcpServers": {
"directus": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@trendeelabs/directus-docs-mcp-server"]
}
}
}This will make all Directus documentation tools available in your Windsurf workspace. Note that Windsurf MCP tool calling doesn't work very well. You will need to fully quit and re-open Windsurf after adding this. If a tool call fails you will need to go into Windsurf MCP settings and re-start the MCP server.
