Skip to main content
Glama

Directus MCP Server

by pixelsock

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

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/pixelsock/directus-mcp'

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