Configure your AI agent application with the registration credentials.
After saving the credentials from the registration screen, you must make them
available to your agent application:
In development environments, you can store them in a local .env file or
configuration JSON but never commit secrets to source control.
Store credentials in your organization's secrets manager and inject them
into your agent at runtime via environment variables or a secrets-fetch call.
Your agent code must be configured to:
Use the client_id as the OAuth client identifier.
Use the client_secret at the AI Gateway's token endpoint to complete the
OAuth 2.1 authorization code flow.
Send requests through the AI Gateway endpoint (not directly to the MCP
server). The Gateway URL uses a slug-based path format:
https://<your-gateway-domain>/mcp/<mcp-server-slug>.
Once configured, launch your agent and initiate a request. In your browser
you are redirected to the URL advertised by the Gateway. In this process, the browser is
redirected to Idira, which federates to your enterprise IdP (such as Okta or Microsoft
Entra ID) for user sign-in. You may also be redirected to the MCP server's authorization
server if it uses an OAuth 2.1 authorization code flow. At the end of the flow, the
agent receives an authorization code from the Gateway, which it exchanges for an access
token from the Gateway to complete authentication before routing the request to the
target MCP server.
For an AI agent to access an MCP server on behalf of a user, all three
entities the Agent Identity, the Target MCP Server, and the User
must be assigned to the same Workspace in the AI Gateway:
Verify MCP Registry Setup: In Strata Cloud Manager, go to AI
Gateway > Integrations > MCP Registry.
Assign Workspaces: Verify that your target MCP server is
assigned to the workspace where both your registered agent and delegating user
reside.
Tool Capabilities & OAuth Metadata: The MCP server entry
defines available tools (which can be toggled on/off individually) along with its
underlying backend execution URL and OAuth metadata.
Default Access Control Policies:Access permissions across users,
agents, and MCP servers within a workspace are governed by the AI Gateway's policy
engine. Ensure appropriate access policies are configured to grant runtime
execution rights for the user-agent pair.