Skip to Content
Xeonr Developer Docs

Preview Team MCP Policy

POST
/xeonr.auth.api.v1.McpTeamPolicyService/PreviewTeamMcpPolicy

Shows, per member's MCP connection, what a draft MCP policy would remove or restore for the team, without storing it. Team owners and organisation admins only.

Required scopes: auth:client-authorisations:read

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

team?string
Length1 <= length <= 128
policy*

The draft policy, as SetTeamMcpPolicy would take it. Nothing is stored.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.McpTeamPolicyService/PreviewTeamMcpPolicy" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{    "policy": {}  }'
{
  "connections": [
    {
      "subject": "string",
      "displayName": "string",
      "grantId": "string",
      "clientId": "string",
      "clientName": "string",
      "removed": [
        {
          "product": "string",
          "toolset": "string",
          "reason": "string",
          "scopes": [
            "string"
          ],
          "team": "string"
        }
      ],
      "restored": [
        {
          "product": "string",
          "toolset": "string",
          "reason": "string",
          "scopes": [
            "string"
          ],
          "team": "string"
        }
      ]
    }
  ]
}