mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-11 16:19:10 +02:00
| .. | ||
| client.py | ||
| README.md | ||
| server.py | ||
AuthKit DCR Example
Demonstrates FastMCP server protection with AuthKit Dynamic Client Registration.
Setup
-
Set your AuthKit domain:
export FASTMCP_SERVER_AUTH_AUTHKITPROVIDER_AUTHKIT_DOMAIN="https://your-app.authkit.app" -
Run the server:
python server.py -
In another terminal, run the client:
python client.py
The client will open your browser for AuthKit authentication.