Agent Gateway
Learn how Agent Gateways work in Okta.
Agent Gateway is an identity-native proxy that sits between AI agents and the enterprise tools that they call. It aggregates tools from multiple remote MCP servers behind a single Okta-secured endpoint, enforces identity and policy on every tool call, and produces a unified audit trail.
Agent Gateway eliminates the need for risky, long-lived API keys by intercepting AI agent requests. It authenticates them with Okta tokens, and securely injects downstream credentials so the AI agent never directly accesses them.
When you connect an AI agent and a gateway, Okta automatically establishes a resource connection between them. You can see the resource connection details on the AI agent's Resource connections tab.
For more detailed information on how the Agent Gateway works, see the Okta Agent Gateway developer guide.
Tasks
| Task | Description |
|---|---|
| Add an MCP server | Register an MCP server and discover its available tools. |
| Add an Agent Gateway | Define the MCP servers, AI agents, and enterprise tools that are included in the Agent Gateway. |
| Update your AI agent client configurations | Connect AI agents to the Agent Gateway. |
| Deactivate an AI agent | Block a compromised AI agent. The gateway rejects its requests, even if its tokens haven't expired. |
| View Agent Gateway activity | Track your org's tool calls and gateway activity within the last 30 days |
Runtime Kill Switch
Agent Gateway checks an AI agent's status on every request, not only when the AI agent obtains a token. When you deactivate an AI agent, the gateway blocks that agent's requests, even if its access token hasn't expired.
Without Agent Gateway, deactivating an AI agent stops Okta from issuing new tokens, but tokens that were already issued remain usable until they expire. With Agent Gateway in the path, the gateway also rejects those tokens and blocks access from the AI agent to its downstream resources.
Enforcement begins shortly after you deactivate the AI agent. Kill Switch applies to the whole AI agent, not to a single user's access through it. It applies only to AI agents that route through Agent Gateway.
While the AI agent is deactivated, Okta refuses to issue it new tokens. After you reactivate the AI agent, it authenticates again to get a new access token, and the gateway allows its requests.