Install a license.

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
PUT /api/systems/license

Install a license key on this self-hosted deployment, replacing the installed license if there is one. The key's signature is verified against the public key built into Logto before it is saved, and a key past its expiration is rejected as a stale copy. Returns 501 on Logto Cloud.

application/json

Body Required

  • license string Required

    The license key to install, as issued by Logto Cloud.

    Minimum length is 1.

Responses

  • 204

    The license has been installed.

  • 400

    The license key is invalid or has been tampered with, or it has expired.

  • 401

    Unauthorized

  • 403

    Forbidden

  • 501

    Licenses are only available on self-hosted deployments.

PUT /api/systems/license
curl \
 --request PUT 'https://[tenant_id].logto.app/api/systems/license' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{
  "license": "string"
}'
Request examples
{
  "license": "string"
}