MCP Auth Python SDK
by mcp-auth
The MCP Auth Python SDK simplifies connecting to trusted providers for authentication, handling OAuth 2.1 and other RFCs required by the MCP spec. It allows developers to integrate authentication with just a few lines of code, saving significant development time.
Last updated: N/A
MCP Auth Python SDK
GitHub branch check runs codecov Stable Version PyPI - Python Version PyPI - License
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.