Skip to Content
Xeonr Developer Docs

Get Team MCP Policy

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

Returns a team's MCP policy: the products, toolsets and members allowed to act for the team over MCP, and which toolsets need an owner's approval. 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

The team: urn:xeonr:auth:team:, or its slug.

Length1 <= length <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.McpTeamPolicyService/GetTeamMcpPolicy" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "policy": {
    "team": "string",
    "version": "string",
    "restrictProducts": true,
    "products": [
      {
        "product": "string",
        "restrictToolsets": true,
        "toolsets": [
          "string"
        ],
        "approvalToolsets": [
          "string"
        ],
        "agents": {
          "deny": true,
          "restrictToolsets": true,
          "toolsets": [
            "string"
          ]
        }
      }
    ],
    "defaults": {
      "product": "string",
      "restrictToolsets": true,
      "toolsets": [
        "string"
      ],
      "approvalToolsets": [
        "string"
      ],
      "agents": {
        "deny": true,
        "restrictToolsets": true,
        "toolsets": [
          "string"
        ]
      }
    },
    "restrictMembers": true,
    "members": [
      "string"
    ],
    "updatedBy": "string",
    "updatedByName": "string",
    "updatedAt": "2023-01-15T01:30:15.01Z"
  },
  "entitledProducts": [
    "string"
  ]
}