Configure MCP Enterprise Managed Access Token
The MCP Enterprise Managed Access Token Credential Provider gives the MCP Identity Gateway a per-user access token for a Model Context Protocol (MCP) server. Aembit exchanges the user’s corporate single sign-on (SSO) identity for the MCP server token. The exchange follows the MCP specification’s flow. The corporate identity provider decides which users and AI agents reach which MCP servers, and users never see a consent prompt for the server.
Use this Credential Provider with the MCP Identity Gateway when both the MCP server and your OpenID Connect (OIDC) identity provider support Enterprise-Managed Authorization.
See About the MCP Enterprise Managed Access Token Credential Provider for how the token exchange works and when to choose this type.
Before you start
Section titled “Before you start”- An OIDC Identity Provider prepared for token exchange.
Complete the
offline_accessscope and token exchange sections of Prepare the Identity Provider for enterprise-managed access first, and return to Register the AI agent in Okta after Discover returns a Client ID. The Credential Provider’s Corporate Identity Provider list shows only active OIDC Identity Providers. - The Identity Providers permission. Your Aembit role needs it to load the Corporate Identity Provider list. Without it, the form shows “To configure the Corporate Identity Provider, you must have the ‘Identity Providers’ permission.”
- An MCP server that supports Enterprise-Managed Authorization. Check the MCP server vendor’s documentation for whether, and on which plan, the server supports it.
- An MCP Server URL reachable from the internet. Aembit rejects a URL that resolves to an internal host.
Create the Credential Provider
Section titled “Create the Credential Provider”To create an MCP Enterprise Managed Access Token Credential Provider, follow these steps:
-
Log into your Aembit Tenant, and go to Credential Providers in the left sidebar.
-
(Optional) In the top right corner, select the Resource Set that you want this Credential Provider to reside.
-
Click + New, which displays the Credential Provider pop out menu.
-
Enter a Name and optional Description.
-
Under Credential Type, select MCP Enterprise Managed Access Token, revealing more fields.
-
Fill out the remaining fields:
-
OIDC Issuer URL - The issuer identifier of the MCP server’s authorization server (for example,
https://mcp.example.com). Aembit requests the identity assertion from your Identity Provider with this value as its audience, so it must match the issuer that the Identity Provider trusts for the MCP server. -
MCP Server URL - The base URL of the target MCP server (for example,
https://mcp.example.com/v1/mcp). Click Discover to fill the Client ID, Scopes, Authorization URL, Token URL, and Introspection URL from the server’s metadata. -
Client ID - The OAuth client identifier that the MCP server’s authorization server issued for Aembit. Discover fills it when the MCP server supports dynamic client registration. The form has no Client Secret field, because the identity assertion authenticates the access token request.
-
Scopes - Space-separated list of OAuth scopes to request from the MCP server. Discover may fill this field.
-
Authorization URL - The MCP server’s authorization endpoint, under Endpoints (Static). Discover fills it when the MCP server publishes authorization server metadata.
-
Token URL - The endpoint where Aembit presents the identity assertion in exchange for the MCP access token. Discover fills it.
-
Introspection URL - (Optional) The MCP server’s token introspection endpoint, if it publishes one. Aembit uses it to determine when an access token expires if the token response doesn’t say.
-
Leave Identity Assertion Issuer Mode at its default, Corporate Identity Provider.
-
Corporate Identity Provider - Select the OIDC Identity Provider that your users sign in to Aembit through. The list shows only active OIDC Identity Providers.
-
-
Click Save.
Aembit displays the new Credential Provider in the list of Credential Providers.
This Credential Provider type has no Verify option. Aembit obtains each access token for the user behind a request, so there is no token to verify at setup time.
Each Gateway-to-Server Access Policy takes one Credential Provider of this type.
Next step
Section titled “Next step”Attach the Credential Provider to the Gateway-to-Server Access Policy that fronts the MCP server. See Create the gateway-to-server Access Policy.
Related topics
Section titled “Related topics”- About the MCP Enterprise Managed Access Token Credential Provider - How this Credential Provider works and when to use it
- Prepare the Identity Provider for enterprise-managed access - Identity Provider changes that come before the Credential Provider
- MCP Identity Gateway setup - How to configure Gateway-to-Server Access Policies that use this Credential Provider
- MCP Identity Gateway concepts - How the MCP Identity Gateway uses per-user credentials
- About MCP User-Based Access Tokens - The per-user alternative that uses each user’s own consent
- Credential Providers overview - All available Credential Provider types