Skip to Content
Xeonr Developer Docs

Get Effective MCP Connection

POST
/xeonr.auth.api.v1.McpConnectionsService/GetEffectiveConnection

Returns the connection an MCP grant has now, after the MCP catalogue, policy, the gateway's delegations and the person's current team memberships are applied. Gateway only.

Required scopes: mcp:gateway

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

grantId?string

The urn:xeonr:auth:authorisation_id claim of the person's MCP token: a grant id, or "ag_" for an agent grant (contract C13.3).

Match^(ag_)?[0-9]+$
Length1 <= length <= 32
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.McpConnectionsService/GetEffectiveConnection" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "connection": {
    "grantId": "string",
    "version": "string",
    "subject": "string",
    "clientId": "string",
    "clientName": "string",
    "configured": true,
    "products": [
      {
        "key": "string",
        "name": "string",
        "audience": "string",
        "toolsets": [
          "string"
        ],
        "scopes": [
          "string"
        ],
        "teams": [
          {
            "urn": "string",
            "slug": "string",
            "name": "string"
          }
        ],
        "description": "string",
        "toolsetTeams": [
          {
            "toolset": "string",
            "teams": [
              "string"
            ]
          }
        ],
        "resources": [
          {
            "type": "string",
            "identifier": "string",
            "actions": [
              "string"
            ]
          }
        ]
      }
    ],
    "unavailable": [
      {
        "product": "string",
        "toolset": "string",
        "reason": "string",
        "scopes": [
          "string"
        ],
        "team": "string"
      }
    ],
    "subjectKind": "string"
  }
}