For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
MCP auth
Authenticate MCP clients with your MCP server using OAuth 2.0 and supported identity providers.
Authenticate MCP clients with your MCP server by using MCP auth. Agentgateway serves the OAuth metadata that MCP clients discover, validates the tokens that your authorization server issues, and adapts to the OAuth behavior of each supported identity provider.
To learn how the MCP authorization flow works, start with About MCP auth. Then follow the guide for your identity provider.
About MCP auth
Learn how MCP authentication prevents unauthorized access to MCP servers and the tools they expose.
Set up MCP auth
Secure MCP servers with OAuth 2.0 authentication using agentgateway and an identity provider like …
Set up Auth0
Configure Auth0 as an OAuth identity provider for MCP authentication with agentgateway.
Set up authentik
Deploy and configure authentik as an OAuth identity provider for MCP authentication with …
Set up Descope
Configure Descope as an OAuth identity provider for MCP authentication with agentgateway.
Set up Keycloak
Deploy and configure Keycloak as an OAuth identity provider for MCP authentication with …
Set up Microsoft Entra ID
Configure Microsoft Entra ID (Azure AD) as an OAuth identity provider for MCP authentication with …
Set up Okta
Configure Okta as an OAuth identity provider for MCP authentication with agentgateway.