Skip to content

Commit f21edd5

Browse files
authored
Merge pull request #478 from jlowin/oauthclient
Introduce MCP client oauth flow
2 parents b3d0f5b + b8e1e81 commit f21edd5

File tree

18 files changed

+1749
-225
lines changed

18 files changed

+1749
-225
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ dependencies = [
77
"python-dotenv>=1.1.0",
88
"exceptiongroup>=1.2.2",
99
"httpx>=0.28.1",
10-
"mcp>=1.9.0,<2.0.0",
10+
"mcp>=1.9.2,<2.0.0",
1111
"openapi-pydantic>=0.5.1",
1212
"rich>=13.9.4",
1313
"typer>=0.15.2",
1414
"websockets>=14.0",
15+
"authlib>=1.5.2",
1516
]
1617
requires-python = ">=3.10"
1718
readme = "README.md"

src/fastmcp/client/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
FastMCPTransport,
1212
StreamableHttpTransport,
1313
)
14+
from .auth import OAuth
1415

1516
__all__ = [
1617
"Client",
@@ -24,4 +25,5 @@
2425
"NpxStdioTransport",
2526
"FastMCPTransport",
2627
"StreamableHttpTransport",
28+
"OAuth",
2729
]

0 commit comments

Comments
 (0)