mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-17 02:59:11 +02:00
456 B
456 B
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.