login
Authenticate into the Directus CMS API to generate an access token using the MCP Server, enabling interaction with collections, items, files, and system data.
Instructions
Login to Directus and get an access token
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | User email (default from config) | ||
| password | No | User password (default from config) | |
| url | No | Directus API URL (default from config) |