A self-hosted WorkOS alternative for MCP authorization
theAuthvsWorkOS
WorkOS AuthKit can act as the OAuth authorization server for your MCP server, and you verify tokens. theAuth puts the authorization server inside a library you run, and models agents as identities.
Last verified: 2026-10-08. Hosted authorization server against an MIT library.
Partial or different, Bearer middleware, JWT verification and metadata endpoints
Partial or different, Storage callbacks (TypeScript) or a config struct (Go), then mount
Check mark: yes. Dash: partial, different, or not found in the docs we checked. Cross: no. Claims about WorkOS are from its own public pages (see Sources). theAuth rows are from its repositories.
01
Where the authorization server runs
A hosted server you verify against, or a library you mount.
WorkOS
WorkOS documents AuthKit as the OAuth authorization server for MCP. It handles authorization, token issuance and consent. Your MCP server verifies JWTs against a remote JWKS and serves the protected resource metadata endpoint. CIMD is the default for new clients, and dynamic client registration stays for older ones.
theAuth
theAuth runs the authorization server in your process. You supply storage and a way to know which user is signed in, and theAuth serves the metadata, registration, authorize and token endpoints. The tradeoff is that you operate it. See the TypeScript guide or the Go guide.
02
What an agent is
A client with a token, or an identity with an owner.
WorkOS
In the MCP material we checked, WorkOS treats the MCP client as an OAuth client that a signed-in user authorizes. It also documents Cross App Access through an ID Token JWT Authorization Grant exchange for enterprise setups.
theAuth
theAuth adds an agent layer on top of OAuth: an owner, wildcard permission patterns with constraints, delegation chains that narrow at every hop and cap their depth, budgets, and approval gates. Revoking an agent does not touch anyone else. Read the delegation docs.
03
Operations and billing
What you run, what you pay.
WorkOS
WorkOS operates the service, so there is no database or signing key for you to run for authorization. Plans and prices change; read its pricing page instead of a number copied here.
theAuth
The library is free under MIT, with your own database and compute. theAuth Cloud is in early access with no published prices.
WorkOS alternative: common questions
Is theAuth a WorkOS alternative?
For MCP authorization and agent identity, it can be. theAuth is an open source library with its own authorization server, agent identities and human sign-in. WorkOS offers AuthKit as a hosted service, so the choice is mostly about who runs it.
Does WorkOS support MCP?
Yes. WorkOS documents AuthKit as an OAuth authorization server for MCP, with Client ID Metadata Documents and dynamic client registration. theAuth also ships an MCP OAuth 2.1 authorization server.
Can I self-host WorkOS AuthKit?
We found no self-hosting option in the WorkOS pages we checked. theAuth is MIT licensed and runs on your own database.
Does theAuth support CIMD?
The Go module supports Client ID Metadata Documents per the MCP spec of 2025-11-25, off by default. The TypeScript library supports dynamic client registration.
Sources
Last verified: 2026-10-08. Competitor facts come from the public pages below. Plans, limits and prices change, so confirm there. The WorkOS pricing page is linked for reference; we state no WorkOS prices here.
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.