Back to Home
splitpierre icon

directus-mcp-server

Verified Safe

by splitpierre

Overview

This server bridges AI agents (e.g., from Windsurf/Antigravity IDE) to a Directus instance using the Model Context Protocol (MCP), allowing AI agents to interact with Directus data.

Installation

Run Command
docker run -i --rm --network=host -e DIRECTUS_URL="http://localhost:8055" -e DIRECTUS_TOKEN="your-token" ghcr.io/splitpierre/directus-mcp-server:main

Environment Variables

  • DIRECTUS_URL
  • DIRECTUS_TOKEN

Security Notes

The server acts as a proxy, forwarding JSON-RPC messages. Security relies on the secure handling of the `DIRECTUS_TOKEN` environment variable and the inherent security of the upstream Directus instance's MCP endpoint. The code itself does not introduce obvious vulnerabilities like `eval` from user input or hardcoded secrets (other than the required token in env).

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens500
Stars0
Forks0
Last Update2025-12-05

Tags

MCPDirectusAI AgentsBridgeJSON-RPC