Directus MCP Server

by pixelsock
Verified

getFields

Retrieve fields for a specified collection in Directus using the Model Context Protocol, enabling structured data access and management for AI-driven interactions.

Instructions

Get fields for a collection

Input Schema

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

Input Schema (JSON Schema)

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

You must be authenticated.

Other Tools from Directus MCP Server

Related Tools

ID: t8xgans6q3