Directus MCP Server

by pixelsock
Verified

getRelations

Fetch and manage relationships between collections in Directus CMS using the Model Context Protocol. Specify a collection to retrieve its related data from the API.

Instructions

Get relations for a collection

Input Schema

NameRequiredDescriptionDefault
collectionNoCollection name (optional)
tokenNoAuthentication token (default from config)
urlNoDirectus API URL (default from config)

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name (optional)", "type": "string" }, "token": { "description": "Authentication token (default from config)", "type": "string" }, "url": { "description": "Directus API URL (default from config)", "type": "string" } }, "required": [], "type": "object" }

You must be authenticated.

Other Tools from Directus MCP Server

Related Tools

ID: t8xgans6q3