Skip to main content

MCP authorization guide

How to grant teams access to MCP servers and tools.

Overview

MCP Authorization decides what an authenticated MCP caller may see and execute.

The flow is:

MCP caller authenticates
-> gateway auth resolves a team
-> MCP Authorization grants servers/tools to that team
-> allowed calls continue; disallowed calls are blocked

Before you start

Make sure you have:

  1. At least one MCP auth provider on Identities.
  2. A trusted team value from the MCP credential, such as API key metadata or a JWT/OIDC tenant claim.
  3. At least one enabled MCP server.
  4. Discovered tools for that MCP server.

Create an authorization rule

Navigate to MCP Authorization.

  1. Click New Authorization.
  2. Select the team this rule applies to.
  3. Select the MCP servers the team can reach.
  4. Expand each server to review its tools.
  5. Check or uncheck individual tools.
  6. Save.

Each team can have only one MCP authorization row. Creating a second row for the same team is refused (HTTP 409). Change grants by editing the existing row; that replace is the update path, not create.

Server and tool checkbox behavior

Server checkboxes are hierarchical:

ActionResult
Check a serverSelects all currently discovered tools under that server
Uncheck a serverUnselects all tools under that server
Check one toolGrants only that tool, unless other tools are already checked
Re-discover toolsPreserves selections for tools that still exist