# MCP Auth Python SDK
[](https://github.com/mcp-auth/python/actions?query=branch%3Amaster)
[](https://codecov.io/gh/mcp-auth/python)
[][PyPI Releases]
[][PyPI]
[](https://github.com/mcp-auth/python/blob/master/LICENSE)
[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](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization) 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](https://mcp-auth.dev/docs/provider-list) to see which providers are supported. It also includes a tool for real-time checking of provider compatibility.
### Installation
```bash
pip install mcpauth
```
Or use your package manager of choice, such as `poetry` or `uv`.
See [the documentation](https://mcp-auth.dev/docs) for the full guide.
## Join the discussion
Join the [MCP Auth org discussion](https://github.com/orgs/mcp-auth/discussions) to ask questions or share your feedback.
Raw data
{
"_id": null,
"home_page": null,
"name": "mcpauth",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "authentication, authorization, mcp, modelcontextprotocol, oauth2, openid-connect, oidc",
"author": null,
"author_email": "\"Silverhand Inc.\" <contact@silverhand.io>",
"download_url": "https://files.pythonhosted.org/packages/2d/72/7be141fe72c522cf1b6b0e6d84adcb44b5dfeb1e4c7ebe781548e228fd6e/mcpauth-0.1.1.tar.gz",
"platform": null,
"description": "# MCP Auth Python SDK\n\n[](https://github.com/mcp-auth/python/actions?query=branch%3Amaster)\n[](https://codecov.io/gh/mcp-auth/python)\n[][PyPI Releases]\n[][PyPI]\n[](https://github.com/mcp-auth/python/blob/master/LICENSE)\n\n[Website]: https://mcp-auth.dev/\n[PyPI]: https://pypi.org/project/mcpauth/\n[PyPI Releases]: https://pypi.org/project/mcpauth/#history\n\nThe MCP spec [requires OAuth 2.1 and other RFCs](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization) for auth. Instead of spending weeks on them, use MCP Auth to connect to an trusted provider with a few lines of code.\n\n## Get started\n\n### Is my provider supported?\n\nCheck out the [MCP-compatible providers](https://mcp-auth.dev/docs/provider-list) to see which providers are supported. It also includes a tool for real-time checking of provider compatibility.\n\n### Installation\n\n```bash\npip install mcpauth\n```\n\nOr use your package manager of choice, such as `poetry` or `uv`.\n\nSee [the documentation](https://mcp-auth.dev/docs) for the full guide.\n\n## Join the discussion\n\nJoin the [MCP Auth org discussion](https://github.com/orgs/mcp-auth/discussions) to ask questions or share your feedback.\n",
"bugtrack_url": null,
"license": null,
"summary": "Plug-and-play auth for Python MCP servers.",
"version": "0.1.1",
"project_urls": {
"documentation": "https://mcp-auth.dev/docs",
"homepage": "https://mcp-auth.dev",
"repository": "https://github.com/mcp-auth/python"
},
"split_keywords": [
"authentication",
" authorization",
" mcp",
" modelcontextprotocol",
" oauth2",
" openid-connect",
" oidc"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "949b416667ce57737158e6e9f20d0119e97bd94f0259b84cfc93e0e1b629f905",
"md5": "0ebd5e32c295009de3a21f7ee84341de",
"sha256": "f50332691745888cc9e77e6dd6bb1eff3cabfae14f9823b76b7385e664f3449a"
},
"downloads": -1,
"filename": "mcpauth-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0ebd5e32c295009de3a21f7ee84341de",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 18142,
"upload_time": "2025-05-22T01:29:13",
"upload_time_iso_8601": "2025-05-22T01:29:13.235501Z",
"url": "https://files.pythonhosted.org/packages/94/9b/416667ce57737158e6e9f20d0119e97bd94f0259b84cfc93e0e1b629f905/mcpauth-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2d727be141fe72c522cf1b6b0e6d84adcb44b5dfeb1e4c7ebe781548e228fd6e",
"md5": "33b0e3ecc2b97bd7dd777d37fc2a7fa3",
"sha256": "7531ba03cff64322b26aab5367c5af681597171767bd4761ff5985a4bd3b7a71"
},
"downloads": -1,
"filename": "mcpauth-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "33b0e3ecc2b97bd7dd777d37fc2a7fa3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 15367,
"upload_time": "2025-05-22T01:29:14",
"upload_time_iso_8601": "2025-05-22T01:29:14.463217Z",
"url": "https://files.pythonhosted.org/packages/2d/72/7be141fe72c522cf1b6b0e6d84adcb44b5dfeb1e4c7ebe781548e228fd6e/mcpauth-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-05-22 01:29:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mcp-auth",
"github_project": "python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "mcpauth"
}