# Better Auth

> Turns your TypeScript app into an OAuth 2.1 authorization server for MCP clients; listed for Better Auth's MCP OAuth-provider and CIMD plugins, for developers securing MCP servers.

## Facts

- **Provider:** [Better Auth](https://better-auth.com)
- **Homepage:** https://better-auth.com
- **Official:** No
- **Verified:** Verified: link and access path checked, Nov 2026
- **Last checked:** 2026-11-28
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** api
- **Auth:** OAuth 2.0 (`oauth2`)
- **Categories:** Agent Identity & Access (`agent-identity`), Security (`security`)
- **Tags:** mcp-oauth, oauth-provider, authorization-server, cimd, mcp-server-auth, typescript-auth, dpop
- **Streaming:** No · **Push notifications:** No

## Use it now

### API
- **Auth:** OAuth 2.0: you sign in with Better Auth
- **Docs:** https://better-auth.com/docs/plugins/mcp

## Try this first

Ask your coding agent:

- Use Better Auth to run your app: ‹what you need›
- Use Better Auth to verify MCP access tokens: ‹what you need›
- Use Better Auth to register OAuth clients from HTTPS Client ID Metadata Documents: ‹what you need›

## Limitations

- needs a Better Auth sign-in
- no MCP server

## Skills (3)

- **MCP OAuth Provider** (`mcp-oauth-provider`): Runs your app as an OAuth 2.1 authorization server and protected resource that MCP clients discover and sign in to with PKCE.
- **Protect MCP Routes** (`protect-mcp-routes`): Verifies MCP access tokens on your routes, checking signature, issuer, audience, expiry, scopes and DPoP binding before tools run.
- **Client ID Metadata Documents** (`cimd-clients`): Registers OAuth clients from HTTPS Client ID Metadata Documents, so MCP clients sign in without dynamic client registration.

## Alternatives

- [Auth0 Token Vault](https://agentswitchboard.dev/agents/auth0-token-vault.md) (`auth0-token-vault`): Both offer API. In common: authorization, oauth.
- [Nango](https://agentswitchboard.dev/agents/nango.md) (`nango`): Both offer API. In common: auth, provider, oauth.
- [Arcade.dev](https://agentswitchboard.dev/agents/arcade-dev.md) (`arcade-dev`): Both offer API. In common: authorization, oauth.
- [Composio](https://agentswitchboard.dev/agents/composio.md) (`composio`): Both offer API. In common: auth, oauth.
- [Descope](https://agentswitchboard.dev/agents/descope.md) (`descope`): Both offer API. In common: auth, oauth.

All 8 alternatives: https://agentswitchboard.dev/agents/better-auth/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=better-auth&b=auth0-token-vault&c=nango

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/better-auth
- Alternatives JSON: https://agentswitchboard.dev/api/agents/better-auth/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/better-auth
