Skip to Content
MCPs

Complete GitHub App creation

Store the GitHub App created from the manifest, then start installing it: send the admin to the returned URL.

POST
/mcps/{mcp_id}/agent-connections/github/manifest/complete

Store the GitHub App created from the manifest, then start installing it: send the admin to the returned URL.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.

Required permission

manage_mcps

Path Parameters

mcp_id*string
Formatuuid

Request Body

application/json
  1. body
state*string

The state the vendor redirect carried.

Lengthlength <= 512
code*string

The one-time code the vendor redirect carried.

Lengthlength <= 512
redirect_to*string

Console page to return the admin to after the install that follows.

Response Body

The request has succeeded.

application/json
  1. response
authorization_url*string

URL to send the user to so they can sign in and grant access.

Formaturi
Example Request
curl -X POST 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/mcps/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-connections/github/manifest/complete' \  -H 'Content-Type: application/json' \  -d '{  "state": "string",  "code": "string",  "redirect_to": "string"}'
Example Response
{  "authorization_url": "http://example.com"}