Skip to Content
MCPs

Get agent connections

The vendor app installed for this MCP and the agents granted access through it.

GET
/mcps/{mcp_id}/agent-connections

The vendor app installed for this MCP and the agents granted access through it.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

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

Required permission

view_mcps

Path Parameters

mcp_id*string
Formatuuid

Response Body

The request has succeeded.

application/json
  1. response
installation?

Absent until the app is installed.

grants*array<>
Example Request
curl -X GET 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/mcps/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-connections'
Example Response
{  "installation": {    "status": "active",    "issues": [      {        "code": "suspended",        "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",        "repositories": [          "string"        ]      }    ],    "account": "string",    "created_at": "2019-08-24T14:15:22Z"  },  "grants": [    {      "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",      "provider": "github",      "repositories": [        "string"      ],      "all_repositories": true,      "vendor_permissions": {        "property1": "read",        "property2": "read"      }    }  ]}