Skip to main content
Glama

Directus MCP Server

Directus 모델 컨텍스트 프로토콜(MCP) 서버

Directus와 함께 사용할 수 있는 MCP 서버입니다. AI 도구가 사용자를 대신하여 Directus API에 연결하고 사용할 수 있도록 지원합니다.

이건 저(@rijkvanzanten)가 직접 실험한 거예요. 모든 홍보는 환영합니다 :)

설치

이 MCP 서버는 NodeJS v22.12 이상에서 작동하도록 제작되었습니다.

글로벌 설치(권장)

npm install -g @rijk/directus-mcp-server

그런 다음 Claude AI가 npm 패키지를 원격 서버로 사용하도록 구성합니다.

지엑스피1

로컬/개발자 설치

  1. 저장소를 복제합니다
  2. pnpm install && pnpm build 사용하여 서버를 빌드합니다.
  3. 위와 같이 Claude AI를 구성하지만 대신 dist 파일을 가리키도록 합니다.
{ "mcpServers": { "directus": { "command": "node", "args": ["/path/to/directus-mcp-server/dist/index.js"] } } }

도구

항목 읽기

read-items 도구를 사용하면 컬렉션 이름을 매개변수로 제공하여 Directus 컬렉션에서 항목을 읽을 수 있습니다.

매개변수:

  • collection : (필수) 읽을 컬렉션의 이름
  • fields : (선택 사항) 반환할 필드 이름 배열
  • sort : (선택 사항) 정렬 기준 필드(내림차순의 경우 - 접두사 사용)
  • limit : (선택 사항) 반환할 최대 항목 수

예:

{ "collection": "articles", "fields": ["id", "title", "date_published"], "sort": "-date_published", "limit": 10 }

현재 사용자 읽기

현재 사용자에 대한 정보를 가져옵니다. 사실상 /users/me 엔드포인트입니다.

컬렉션 읽기

시스템에서 사용 가능한 컬렉션/필드를 반환합니다. read-items 도구를 사용하기 전에 이 도구를 사용하여 사용 가능한 컬렉션을 먼저 확인하세요.

특허

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

AI 도구가 Directus API에 연결하고 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 컬렉션, 항목 및 사용자 데이터에 자동으로 액세스할 수 있습니다.

  1. 설치
    1. 글로벌 설치(권장)
    2. 로컬/개발자 설치
  2. 도구
    1. 항목 읽기
    2. 현재 사용자 읽기
    3. 컬렉션 읽기
  3. 특허

    Related MCP Servers

    • A
      security
      F
      license
      A
      quality
      A 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.
      Last updated -
      18
      15
      TypeScript
    • -
      security
      A
      license
      -
      quality
      A server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.
      Last updated -
      2
      8
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
      Last updated -
      1
      Python
    • -
      security
      A
      license
      -
      quality
      An 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.
      Last updated -
      4
      6
      TypeScript
      MIT License

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/rijkvanzanten/directus-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server