MCPs
Get agent connections
The vendor app installed for this MCP and the agents granted access through it.
GET
The vendor app installed for this MCP and the agents granted access through it.
ApiKeyAuthheader
AuthorizationBearer <token>Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.
Required permission
view_mcpsmcp_id*stringFormat
uuidThe request has succeeded.
application/json- response
installation?Absent until the app is installed.
grants*array<>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" } } ]}