> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Secure AI Agents & MCP Servers

> Secure AI agents and MCP servers with Auth0 for your B2B, B2C, and Agentic Commerce use cases.

> **[Agent as Principal](https://auth0.com/docs/ai-agents-mcp/agent-as-principal.md)**
>
> Agent as Principal introduces AI agents as first-class identities in Auth0, distinct from human users and traditional machine-to-machine (M2M) clients.
> Register AI agents as first-class identities in Auth0 with their own lifecycle, credentials, and audit trail.

> **[AI Identity for B2B](https://auth0.com/ai/docs/overview.md)**
>
> AI Identity for B2B supports business-to-business (B2B) that have applications that end-users access. Authenticate users, call APIs on their behalf with OAuth 2.0, implement human-in-the-loop controls with CIBA, and enforce document-level access control in RAG pipelines.

> **[Cross App Access (XAA)](https://auth0.com/docs/ai-agents-mcp/cross-app-access.md)**
>
> Cross App Access (XAA) allows IT admins to centrally define access controls for how SaaS applications, like AI agents, connect on a user’s behalf. Create and manage AI agent-to-app and app-to-app connections using centralized enterprise admin controls, with out-of-the-box support for MCP’s Enterprise-Managed Authorization.

> **[Auth for MCP](https://auth0.com/ai/docs/mcp/overview.md)**
>
> Auth for MCP secures MCP client access to MCP servers, providing sign in, standards-based discovery and client registration, resource-scoped tokens, and token exchange. You control which agents connect, what resources they can access, and what actions they can perform.
