Update CIMD config

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Logto API references MCP server": {
    "url": "https://openapi.logto.io/mcp"
  }
}

Close
PATCH /api/configs/cimd

Update the tenant-level OAuth Client ID Metadata Document (CIMD) switch. Enabling requires the OIDC provider SSRF protection to be active.

application/json

Body Required

  • enabled boolean

Responses

  • 200 application/json

    The updated CIMD configuration.

    Hide response attribute Show response attribute object
    • enabled boolean Required
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 422

    The OIDC provider SSRF protection is disabled, so CIMD cannot be enabled.

PATCH /api/configs/cimd
curl \
 --request PATCH 'https://[tenant_id].logto.app/api/configs/cimd' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"enabled":true}'
Request examples
{
  "enabled": true
}
Response examples (200)
{
  "enabled": true
}