ApiMcp servers
Get server connection options
Get connection options for an MCP server, including available OAuth apps, allowed credential types, and existing user connections.
Path Parameters
server_id*string
Format
uuidQuery Parameters
user_id?|
User ID to get existing connections for (optional)
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/connection-options"{
"server_id": "820efca4-4a15-4ab7-82fc-9e76f6d61325",
"server_name": "string",
"credential_mode": "managed",
"oauth_apps": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"alias": "string",
"name": "string",
"template_type": "github",
"template_name": "string"
}
],
"allowed_credential_types": [
"string"
],
"existing_connections": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"credential_type": "string",
"provider_name": "string",
"is_valid": true,
"created_at": "2019-08-24T14:15:22Z"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get an MCP server
Get an MCP server by ID. Returns server details with enriched error classification if the server has an error status.
Get server OAuth config
Return the effective OAuth configuration for an MCP server. Priority: linked OAuth app (Pattern B) → inline config (Pattern A) → 404 for curated-only (Pattern C) or empty. The response includes client_secret_masked; raw client_secret is never returned.
