Stytch is a hosted authentication service with Connected Apps for MCP and agent access. theAuth is an MIT library you run next to your own data, with AI agents modeled as identities of their own.
Last verified: 2026-10-08. Hosted service against an MIT library.
Partial or different, Hosted API reached over HTTPS
Yes, Workers, Deno, Bun (TypeScript); single static binary (Go)
Cost model
Partial or different, Usage-based, with a free allowance; see its pricing page
Yes, MIT library; Cloud in early access, no published prices
Check mark: yes. Dash: partial, different, or not found in the docs we checked. Cross: no. Claims about Stytch are from its own public pages (see Sources). theAuth rows are from its repositories.
01
How each one models an agent
Counted as a user-like principal, or its own identity.
Stytch
Stytch Connected Apps lets third-party apps and AI agents get access to your application on a user's behalf. Its pricing page counts monthly active users and AI agents together. We did not find a documented owner, delegation chain or per-agent budget in the pages we checked.
theAuth
theAuth models an agent as an identity with an owner, a cryptographic bearer token, wildcard permissions such as mcp:github:*, and delegation chains with configurable depth limits. Budget policies, trust scoring and approval gates sit on top, and every decision is written to the audit log. Read the agents guide.
02
Protecting an MCP server
Both can be the authorization server.
Stytch
Stytch documents using Connected Apps with an MCP server built on the open @modelcontextprotocol/sdk. The authorization is hosted: your server validates what Stytch issues, and MCP clients register dynamically.
theAuth
theAuth ships the OAuth 2.1 authorization server inside the library: PKCE S256, RFC 9728 resource metadata, RFC 8707 resource indicators, RFC 8414 metadata and RFC 7591 registration. The Go module adds DPoP, PAR, JAR, CIBA and CIMD. A step-by-step version is in Secure an MCP server in 10 minutes.
03
Who operates it, and how it is billed
A metered service against a library you run.
Stytch
Stytch is a hosted service with usage-based pricing and a free allowance. That removes the work of running auth. It also means users, tokens and sessions live with the vendor, and cost follows usage.
theAuth
The library is free under MIT. Your costs are the database, the compute and the time to operate it. You also own the failure modes: signing key rotation, backups and upgrades are yours. theAuth Cloud is in early access and has no published prices.
Stytch alternative: common questions
Is theAuth a Stytch alternative for AI agents?
It can be. theAuth is an open source library that gives each AI agent its own identity, scoped permissions, delegation limits and audit trail, and it includes an MCP OAuth 2.1 authorization server. Stytch offers Connected Apps as a hosted service, so the real choice is who runs it.
Can I self-host Stytch?
We found no self-hosting option in the Stytch pages we checked. Stytch is described as a hosted service. theAuth is MIT licensed and runs on your own database.
Does Stytch support MCP?
Yes. Stytch documents Connected Apps for MCP servers, including dynamic client registration. theAuth also ships an MCP OAuth 2.1 authorization server in the library.
What do I give up by choosing theAuth?
Mainly the hosted operation. You run the database and the upgrade path, and there is no vendor support contract. theAuth Cloud is in early access for teams that would rather not run it.
Sources
Last verified: 2026-10-08. Competitor facts come from the public pages below. Plans, limits and prices change, so confirm there.
Install the package, create an agent with scoped permissions, and read its first audit record. The core runs on Postgres, SQLite, MySQL or D1, and the Go module needs a single go get.