MCP Auth - Self Hosted, MCP-Ready Auth
A full-featured, self-hosted OAuth 2.0 server built for the Model-Context-Protocol ecosystem.
Self-Hosted
Own Your Data and Your Authentication.
With @mcpauth/auth, you host the server, you own the data. No separate authorization server. No vendor lock-in.Learn more
MCP-Ready
Required for Modern MCP Clients.
Major MCP clients like OpenAI's ChatGPT require OAuth 2.0. @mcpauth/auth provides the compliant, secure server you need.Learn more
Integrates with Existing Auth
Seamlessly Integrate Your Existing Auth.
Plug in any existing authentication logic, whether it's a session cookie, a bearer token, or an external system.Learn more
Framework Adapters
Support for popular frameworks.
Supports popular frameworks, including Next.js and Express, with more to come.Learn more
Database Stores
Prisma and Drizzle Support.
Choose your preferred database with support for both Prisma and Drizzle out of the box.Learn more
Extensible & Open Source
Request new adapters & stores.
Don't see your preferred framework or database? Open an issue and the community will add support — @mcpauth/auth is built to be extended.Learn more