MCP Auth Python SDK
About
MCP Auth Python SDK is a Python library that implements OAuth 2.1 and related RFCs for MCP (Model Context Protocol) servers, allowing developers to connect to a trusted provider with minimal code. It is intended for developers building MCP servers that require authentication.
Details
- Author
- mcp-auth
- GitHub stars
- 57
- Downloads
- 505
- Categories
- Developer Tools
Jump to
- Implements OAuth 2.1 for MCP specification compliance
- Supports a growing list of MCP-compatible providers
- Enables authentication with a few lines of Python code
- Includes a real-time provider compatibility checker
- Available via pip and standard Python package managers
Install the package with pip install mcpauth or your preferred package manager. Then follow the full guide in the documentation to integrate with your MCP server.
MCP Auth Python SDK
[Website]: https://mcp-auth.dev/
[PyPI]: https://pypi.org/project/mcpauth/
[PyPI Releases]: https://pypi.org/project/mcpauth/#history
The MCP spec requires OAuth 2.1 and other RFCs for auth. Instead of spending weeks on them, use MCP Auth to connect to an trusted provider with a few lines of code.
Get started
Is my provider supported?
Check out the MCP-compatible providers to see which providers are supported. It also includes a tool for real-time checking of provider compatibility.
Installation
pip install mcpauth
Or use your package manager of choice, such as poetry or uv.
See the documentation for the full guide.
Join the discussion
Join the MCP Auth org discussion to ask questions or share your feedback.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





