REST API
The MCTL REST API is served by mctl-api at api.mctl.ai.
Base URL
https://api.mctl.ai/apiAuthentication
Include an Authorization header with every request:
bash
curl -H "Authorization: Bearer YOUR_TOKEN" https://api.mctl.ai/api/tenantsSee Authentication for supported token types.
Response Format
All responses are JSON. Successful responses return the data directly. Errors return:
json
{
"error": "description of the error"
}Endpoints
The REST API mirrors the MCP tools. For a complete list of available operations, see the MCP Tools Reference.
Rate Limiting
API rate limits will be documented here as they are configured.