MCP Gateway
ApiCurated apps

Activate Curated App

Activate a curated app by creating an MCP server instance (copy-on-activate). Args: entry_id: UUID of the catalog entry to activate. session: Database session (injected). service: CuratedAppService instance (injected). connection_name: Optional suffix for the created server name. credential_mode: Override credential mode (managed/user_provided). Returns: Activation result with server_id, name, and optional OAuth redirect URL. Raises: HTTPException: 404 if catalog entry not found.

POST
/api/v1/curated-apps/{entry_id}/activate

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

Path Parameters

entry_id*string
Formatuuid

Query Parameters

connection_name?|
credential_mode?|
access_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/curated-apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/activate"
{
  "server_id": "820efca4-4a15-4ab7-82fc-9e76f6d61325",
  "server_name": "string",
  "server_status": "running",
  "oauth_redirect_url": "string",
  "oauth_app_found": true,
  "message": "Server activated successfully"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}