Skip to Content
MCPs

Get agent grant options

What the installation can hand out, so the grant editor can suggest repositories and permissions.

GET
/mcps/{mcp_id}/agent-connections/options

What the installation can hand out, so the grant editor can suggest repositories and permissions.

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

Response Body

The request has succeeded.

application/json
  1. response
all_repositories*boolean

The installation reaches every repository on the account.

repositories*array<string>

Repositories the installation reaches, as owner/name, up to 1,000.

truncated*boolean

More repositories exist than repositories lists.

vendor_permissions*

The highest access the installation holds per vendor permission.

settings_url?string

Vendor page where an admin changes what the installation reaches.

Example Request
curl -X GET 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/mcps/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-connections/options'
Example Response
{  "all_repositories": true,  "repositories": [    "string"  ],  "truncated": true,  "vendor_permissions": {    "property1": "read",    "property2": "read"  },  "settings_url": "string"}