Directus MCP Server
Directus モデルコンテキスト プロトコル (MCP) サーバー
Directusで使用するMCPサーバー。AIツールがDirectus APIに接続し、ユーザーに代わってAPIを使用できるようにします。
これは私(@rijkvanzanten)による実験です。どんなPRでも大歓迎です :)
インストール
この MCP サーバーは、NodeJS v22.12 以降で動作するように構築されています。
グローバルインストール(推奨)
npm install -g @rijk/directus-mcp-server
次に、 npmパッケージをリモート サーバーとして使用するように Claude AI を構成します。
{
"mcpServers": {
"directus": {
"command": "directus-mcp-server",
"env": {
"DIRECTUS_URL": "<your Directus instance URL>",
"DIRECTUS_TOKEN": "<your Directus user token>"
}
}
}
}ローカル/開発インストール
リポジトリをクローンする
pnpm install && pnpm buildでサーバーをビルドしますClaude AI を上記のように設定し、代わりに
distファイルを指定します。
{
"mcpServers": {
"directus": {
"command": "node",
"args": ["/path/to/directus-mcp-server/dist/index.js"]
}
}
}Related MCP server: Appwrite MCP Server
ツール
アイテムを読む
read-itemsツールを使用すると、コレクション名をパラメータとして指定することで、任意の Directus コレクションからアイテムを読み取ることができます。
パラメータ:
collection: (必須) 読み込むコレクションの名前fields: (オプション) 返されるフィールド名の配列sort: (オプション) 並べ替えの基準となるフィールド (降順の場合は-を前に付けます)limit: (オプション) 返されるアイテムの最大数
例:
{
"collection": "articles",
"fields": ["id", "title", "date_published"],
"sort": "-date_published",
"limit": 10
}現在のユーザーを読み取る
現在のユーザーに関する情報を取得します。実質的には/users/meエンドポイントです。
コレクションを読む
システムで利用可能なコレクション/フィールドを返します。read read-itemsツールを使用する前に、まずこのツールを使用して利用可能なコレクションを検出してください。
ライセンス
マサチューセッツ工科大学
This server cannot be deployed
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A Model Context Protocol server for Wix AI tools
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Related MCP Servers
- AlicenseAqualityBmaintenanceA Model Context Protocol server that enables AI assistants to interact with Strapi CMS instances through a standardized interface, supporting content types and REST API operations.579 npm75MIT

Appwrite MCP Serverofficial
AlicenseCqualityAmaintenanceA Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.4972MIT- FlicenseBqualityFmaintenanceA Node.js server that enables AI Clients to interact with the Directus CMS API through the Model Context Protocol, allowing for management of collections, items, files, users, and system information.1824-
- AlicenseNot gradedqualityDmaintenanceAn extension that implements the Model Context Protocol for Directus, enabling AI tools and LLMs to interact with Directus content through natural language for content editing, data analysis, and asset management.3 npm8MIT