Skip to Content
MCPs

Begin GitHub App creation

Start creating the org's GitHub App from a manifest: post `manifest` and `state` as a form to `action_url`.

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

Start creating the org's GitHub App from a manifest: post manifest and state as a form to action_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
redirect_to*string

Console page the vendor returns the admin to once the app exists.

github_org?string

GitHub organization to own the app; left out, it belongs to the admin's personal account.

Match^[A-Za-z0-9][A-Za-z0-9-]*$
Lengthlength <= 39

Response Body

The request has succeeded.

application/json
  1. response

Where to post the manifest, and what to post.

action_url*string
manifest*string

The app's definition, as the JSON string the vendor's form takes.

state*string
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' \  -H 'Content-Type: application/json' \  -d '{  "redirect_to": "string"}'
Example Response
{  "action_url": "string",  "manifest": "string",  "state": "string"}