Add organization application

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/organizations/{id}/applications

Add an application to the organization.

Path parameters

  • id string Required

    The unique identifier of the organization.

application/json

Body Required

  • applicationIds array[string] Required

    The application IDs to add.

    Minimum length of each is 1.

Responses

  • 201 application/json

    The application was added successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 422

    The application could not be added. Some of the applications may not exist.

POST /api/organizations/{id}/applications
curl \
 --request POST 'https://[tenant_id].logto.app/api/organizations/{id}/applications' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"applicationIds":["string"]}'
Request examples
{
  "applicationIds": [
    "string"
  ]
}