a1ccda361c3125b34de54697e05c95896cf8647dsource_git · pixelsock/directus-mcp · current release
Observed 2026-08-25T08:54:05.101Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
createItemCreate a new item in a collectionInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"collection": {
"type": "string",
"description": "Collection name"
},
"data": {
"type": "object",
"description": "Item data"
}
},
"required": [
"collection",
"data"
]
} | — | — · — | — |
deleteItemDelete an item from a collectionInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"collection": {
"type": "string",
"description": "Collection name"
},
"id": {
"type": "string",
"description": "Item ID"
}
},
"required": [
"collection",
"id"
]
} | — | — · — | — |
getActivityGet activity logs from DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"query": {
"type": "object",
"description": "Query parameters like filter, sort, limit, etc. (optional)"
}
},
"required": []
} | — | — · — | — |
getCollectionsGet all collection schemas from DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
}
},
"required": []
} | — | — · — | — |
getConfigGet current configuration information (without secrets)Input schema{
"type": "object",
"properties": {},
"required": []
} | — | — · — | — |
getCurrentUserGet the current user infoInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
}
},
"required": []
} | — | — · — | — |
getFieldsGet fields for a collectionInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"collection": {
"type": "string",
"description": "Collection name"
}
},
"required": [
"collection"
]
} | — | — · — | — |
getFilesGet files from DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"query": {
"type": "object",
"description": "Query parameters like filter, sort, limit, etc. (optional)"
}
},
"required": []
} | — | — · — | — |
getItemGet a single item from a collection by IDInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"collection": {
"type": "string",
"description": "Collection name"
},
"id": {
"type": "string",
"description": "Item ID"
},
"query": {
"type": "object",
"description": "Query parameters (optional)"
}
},
"required": [
"collection",
"id"
]
} | — | — · — | — |
getItemsGet items from a collection in DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"collection": {
"type": "string",
"description": "Collection name"
},
"query": {
"type": "object",
"description": "Query parameters like filter, sort, limit, etc. (optional)"
}
},
"required": [
"collection"
]
} | — | — · — | — |
getPermissionsGet permissions from DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"query": {
"type": "object",
"description": "Query parameters like filter, sort, limit, etc. (optional)"
}
},
"required": []
} | — | — · — | — |
getRelationsGet relations for a collectionInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"collection": {
"type": "string",
"description": "Collection name (optional)"
}
},
"required": []
} | — | — · — | — |
getRolesGet roles from DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"query": {
"type": "object",
"description": "Query parameters like filter, sort, limit, etc. (optional)"
}
},
"required": []
} | — | — · — | — |
getSystemInfoGet system information from DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"endpoint": {
"type": "string",
"description": "System endpoint (e.g. 'health', 'info', 'activity')"
}
},
"required": [
"endpoint"
]
} | — | — · — | — |
getUsersGet users from DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"query": {
"type": "object",
"description": "Query parameters like filter, sort, limit, etc. (optional)"
}
},
"required": []
} | — | — · — | — |
loginLogin to Directus and get an access tokenInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"email": {
"type": "string",
"description": "User email (default from config)"
},
"password": {
"type": "string",
"description": "User password (default from config)"
}
},
"required": []
} | — | — · — | — |
updateItemUpdate an existing item in a collectionInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"collection": {
"type": "string",
"description": "Collection name"
},
"id": {
"type": "string",
"description": "Item ID"
},
"data": {
"type": "object",
"description": "Updated item data"
}
},
"required": [
"collection",
"id",
"data"
]
} | — | — · — | — |
uploadFileUpload a file to DirectusInput schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Directus API URL (default from config)"
},
"token": {
"type": "string",
"description": "Authentication token (default from config)"
},
"fileUrl": {
"type": "string",
"description": "URL of the file to upload (either fileUrl or fileData must be provided)"
},
"fileData": {
"type": "string",
"description": "Base64 encoded file data (either fileUrl or fileData must be provided)"
},
"fileName": {
"type": "string",
"description": "Name of the file"
},
"mimeType": {
"type": "string",
"description": "MIME type of the file"
},
"storage": {
"type": "string",
"description": "Storage location (optional)"
},
"title": {
"type": "string",
"description": "File title (optional)"
}
},
"required": [
"fileName"
]
} | — | — · — | — |