Request trusted device creation

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
POST /api/experience/profile/mfa/trusted-device

Record the user's explicit opt-in to trust the current device after eligible MFA verification or binding. The trusted-device credential is created only after the interaction is successfully submitted.

Responses

  • 204

    The trusted-device creation request has been recorded for the current interaction.

  • 400

    Trusted-device creation is not supported for the current interaction event.

  • 403

    An eligible MFA verification or binding is required before requesting trusted-device creation.

  • 404

    The user has not been identified yet.

POST /api/experience/profile/mfa/trusted-device
curl \
 --request POST 'https://[tenant_id].logto.app/api/experience/profile/mfa/trusted-device'