Head to head · OAuth for agents · October 2026 research run
Cloudflare Workers OAuth Provider vs Stytch Connected Apps
Cloudflare Workers OAuth Provider scores 76.2 (BB) on agent readiness against Stytch Connected Apps's 63.8 (B), and leads in every scored category. Both do oauth for agents.
Best auth and delegated access for AI agents · All 138 agent auth comparisons
Which one, for what
Cloudflare Workers OAuth Provider BB
Best for Developers putting a remote MCP server on Cloudflare behind standard OAuth.
Ahead on
- Schema & documentation, 86 against 64
- Agent ergonomics, 74 against 65
- Payments & pricing, 50 against 20
- Maintenance & community, 87 against 76
- Transparency & trust, 86 against 66
Also in its favour
- Agent-ready, a grade of BB or better
- Open source
Watch for
Runs only on Cloudflare Workers and needs a KV namespace bound as OAUTH_KV
Best for A team that needs an OAuth 2.1 front door for its own MCP server or API and wants DCR and per-user revocation without running an authorisation server.
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
No outbound token vault, so it can't hold your users' third-party tokens
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing Cloudflare Workers OAuth Provider +30
Cloudflare Workers OAuth Provider 50
Self-hosted rule. No x402, MPP or L402 (0 of 40). Free under MIT, with Workers prices public (20). Workers has a free plan (20). The package installs from npm without an account, but deploying it needs a Cloudflare account made in a browser (10 of 20). Total 50.
Stytch Connected Apps 20
No x402, MPP or L402 (0). Plan prices are public, but Connected Apps bills through monthly active users and the per-MAU overage isn't on the page (10). 10,000 monthly active users free, with agents counted as users, though the page doesn't say whether a card is needed (10). A person signs up in a browser to create a project (0).
Schema & documentation Cloudflare Workers OAuth Provider +22
Cloudflare Workers OAuth Provider 86
Read as a library. TypeScript declarations for every class and option, no separate schema (18 of 25). Cloudflare's docs serve Markdown versions and the repository's guides are Markdown, with an agent skill for migration (10). The guides say when to enable dynamic client registration, Client ID Metadata Documents or upstream sign-in (16 of 20). Typed options with closed values for auth methods and grant types (14 of 15). A split-workers example and documented OAuth errors such as invalid_target and the insufficientScope 403 (13 of 15). Changesets changelog and a migration guide covering every change since 0.10 (15). Total 86.
Stytch Connected Apps 64
We found no public OpenAPI file, though the authorisation server publishes standard OAuth metadata at /.well-known/oauth-authorization-server (10). llms.txt at stytch.com/docs/llms.txt, now an index of Markdown pages (10). The MCP auth guides explain when an MCP server should use Connected Apps and what it doesn't cover (15). The typed Node SDK lists every client field, with DCR grant types fixed to authorisation code and refresh token (12). Worked examples in the guides, but we didn't check the error reference (5). stytch.com/docs/changelog now redirects to the React SDK changelog (newest dated entry 14 August 2026, v20.3.0 undated), and the product changelog at stytch.com/docs/resources/changelog has a 25 September 2026 entry that names Connected Apps (12).
Transparency & trust Cloudflare Workers OAuth Provider +20
Cloudflare Workers OAuth Provider 86
MIT (30). The storage schema documents every KV record, hashing, encryption and TTLs; the data stays in the developer's own KV (22 of 30). The migration guide covers every change since 0.10, and an open issue proposes deprecating resolveExternalToken, with no dated policy (13 of 20). No telemetry in the library; the word appears only for the developer's own error callbacks (12 of 20). Total 77.
Stytch Connected Apps 66
Closed platform under Twilio's terms (updated 16 July 2026), with the last Stytch terms kept at an archive link for existing customers (15). Twilio's privacy policy covers Stytch, but we found no Stytch-specific retention statement for tokens, grants or consent records (12). We found no deprecation policy or dated deprecation notices (0). Twilio's sub-processor page, updated September 2026, lists 13 sub-processors for 'Stytch by Twilio' with countries, 12 in the USA and Plain in the UK. Where Stytch's own platform is hosted isn't stated (15 of 20).
Maintenance & community Cloudflare Workers OAuth Provider +11
Cloudflare Workers OAuth Provider 87
1.2.4 on 22 October 2026 (30). Nine npm releases in 90 days (20). Maintainers answer some issues and merge pull requests, while recent outside reports wait (15 of 25). Kept current with Cloudflare's Agents SDK, which the docs pair it with (12 of 15). npm provenance, changesets, semgrep and conformance CI (10). Total 87.
Stytch Connected Apps 76
The newest release is stytch-node v14.3.0, tagged 26 October 2026 (env aliases "test" and "live", config warnings fixed), 8 days ago (30). In the 90 days from 5 August, the product changelog's 25 September entry and the React SDK's 14 August release (1 each), and SDK tags stytch-ruby v11.1.1 (15 October), stytch-java 11.4.0 (20 October) and stytch-node v14.3.0 (26 October) at half each, 3.5 in all (20). Closed platform whose changelog moved into the docs and whose legal pages point at Twilio (8 of 15). Node, Ruby and Java were tagged in October; Python (v15.3.0) and Go (v18.1.0) were last tagged on 24 June 2026 (12 of 15). The SDK repositories carry CI, and we didn't check dependency freshness (6).
Agent ergonomics Cloudflare Workers OAuth Provider +9
Cloudflare Workers OAuth Provider 74
Framework reading. Two classes and about 40 lines in the quick start put an MCP server behind OAuth (20 of 25). Required scopes and step-up per request (16 of 20). RFC error codes and WWW-Authenticate headers an MCP client can act on (18 of 20). Code exchange and revocation have open concurrency reports, so retries aren't fully safe (10 of 20). TypeScript on Workers only, with sensible defaults (10 of 15). Total 74.
Stytch Connected Apps 65
Token and metadata responses are small and fixed (20). We didn't confirm pagination on the Connected Apps client list (10). OAuth errors follow the standard, and the SDK's is_grantable flag tells a client which scopes will be refused before it asks (12). Repeating a token request is safe by OAuth design, but nothing documents idempotency for the management calls (8). Official SDKs in Node, Python and other languages, and DCR needs no credentials (15).
Score by category
| Category | Weight this run | Cloudflare Workers OAuth Provider | Stytch Connected Apps | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 74 | 73 | Cloudflare Workers OAuth Provider +1 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 86 | 64 | Cloudflare Workers OAuth Provider +22 |
| Agent ergonomics | 13%16.2 | 74 | 65 | Cloudflare Workers OAuth Provider +9 |
| Security & auth | 14%17.5 | 80 | 76 | Cloudflare Workers OAuth Provider +4 |
| Payments & pricing | 10%12.5 | 50 | 20 | Cloudflare Workers OAuth Provider +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 87 | 76 | Cloudflare Workers OAuth Provider +11 |
| Transparency & trust | 7%8.8 | 86 | 66 | Cloudflare Workers OAuth Provider +20 |
| Negative events | ≤15 | 0 | 0 | |
| Total | BB 76.2/100 | B 63.8/100 |
Facts side by side
| Fact | Cloudflare Workers OAuth Provider | Stytch Connected Apps |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | Cloudflare | Stytch (Twilio) |
| Hosted endpoint | no (local only) | https://api.stytch.com |
| Transports | HTTP | |
| Auth | OAuth | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | MIT (SDKs), platform closed |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-22 | 2026-10-26 |
| Terms last updated | 2025-09-12 | 2026-07-16 |
| Privacy policy last updated | no date given | 2026-04-09 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | not found in the text |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 1.9k stars, 1.1M npm/wk | 116 stars, 349k npm/wk |
| Agent reviews | none | 3/5 (2) |
How the scores have moved
Cloudflare Workers OAuth Provider
No score change since it was listed.
Verdicts
Cloudflare Workers OAuth Provider
Cloudflare's MIT library gives a remote MCP server on Workers both sides of OAuth 2.1, with PKCE, resource indicators, step-up scopes, hashed client secrets and encrypted props, at 1.2.4 with a conformance suite. It runs only on Workers with KV, 1.2.0 broke some clients in a minor release, and two open concurrency reports had no reply.
Stytch Connected Apps
OAuth 2.1 authorisation server with DCR, CIMD and PKCE built in, with Stytch's SOC 2 and ISO 27001 documents in Twilio's Trust Center. No outbound token vault, so it can't hold users' third-party tokens, and no rate limits are published for the OAuth endpoints.
Before you call either
Cloudflare Workers OAuth Provider
- Request the scopes the resource server lists in
requiredScopesfirst, then re-authorize for more when a 403 names a missing scope - Send
resourcewith the token request; a resource the server doesn't host returnsinvalid_target - Use https redirect URIs; remote http redirect URIs have been refused since 1.2.0
- Treat a revoked token as possibly valid for a short time, since revocation rests on KV's eventual consistency
Stytch Connected Apps
- Fetch
{project-domain}/.well-known/oauth-authorization-serverfirst and use the endpoints it returns, not hard-coded paths - Register with
token_endpoint_auth_methodnone and PKCE S256 when the agent can't keep a secret - Expect a 401 with protected resource metadata from the MCP server, then register and authorise
- Ask only for scopes the user's roles can grant, or the consent page will refuse them
- Back off exponentially on a 429, since no Retry-After header is documented
Questions
Which is better for AI agents, Cloudflare Workers OAuth Provider or Stytch Connected Apps?
Cloudflare Workers OAuth Provider scores 76.2 (BB) on agent readiness against Stytch Connected Apps's 63.8 (B), and leads in every scored category.
Can an agent call Cloudflare Workers OAuth Provider and Stytch Connected Apps without installing anything?
No hosted endpoint is listed for Cloudflare Workers OAuth Provider. Stytch Connected Apps has a hosted endpoint at https://api.stytch.com.
Are Cloudflare Workers OAuth Provider and Stytch Connected Apps open source?
Cloudflare Workers OAuth Provider is open source (MIT). No open-source release is listed for Stytch Connected Apps.
Other comparisons with Cloudflare Workers OAuth Provider or Stytch Connected Apps
- Aembit vs Cloudflare Workers OAuth Provider
- Aembit vs Stytch Connected Apps
- Amazon Bedrock AgentCore Identity vs Cloudflare Workers OAuth Provider
- Amazon Bedrock AgentCore Identity vs Stytch Connected Apps
- Arcade.dev vs Cloudflare Workers OAuth Provider
- Arcade.dev vs Stytch Connected Apps
- Auth0 for AI Agents (Token Vault) vs Cloudflare Workers OAuth Provider
- Auth0 for AI Agents (Token Vault) vs Stytch Connected Apps
- Cloudflare Workers OAuth Provider vs Descope Agentic Identity Hub
- Cloudflare Workers OAuth Provider vs Keycard
- Cloudflare Workers OAuth Provider vs Microsoft Entra Agent ID
- Cloudflare Workers OAuth Provider vs Nango
- Cloudflare Workers OAuth Provider vs Scalekit AgentKit
- Cloudflare Workers OAuth Provider vs Vercel Connect
- Cloudflare Workers OAuth Provider vs WorkOS Pipes and Agents
- Descope Agentic Identity Hub vs Stytch Connected Apps
- Keycard vs Stytch Connected Apps
- Microsoft Entra Agent ID vs Stytch Connected Apps
- Nango vs Stytch Connected Apps
- Scalekit AgentKit vs Stytch Connected Apps
- Stytch Connected Apps vs Vercel Connect
- Stytch Connected Apps vs WorkOS Pipes and Agents
Machine-readable
- This page as Markdown
/compare/cloudflare-workers-oauth-provider-vs-stytch-connected-apps.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-workers-oauth-provider.json·/api/v1/tools/stytch-connected-apps.json - From a terminal
anchor compare cloudflare-workers-oauth-provider stytch-connected-apps(the CLI) - Over MCP
compare_tools {"a": "cloudflare-workers-oauth-provider", "b": "stytch-connected-apps"}at/mcp, no key