fastmcp/examples/auth/authkit_dcr/README.md
2025-09-26 18:33:08 -04:00

456 B

AuthKit DCR Example

Demonstrates FastMCP server protection with AuthKit Dynamic Client Registration.

Setup

  1. Set your AuthKit domain:

    export FASTMCP_SERVER_AUTH_AUTHKITPROVIDER_AUTHKIT_DOMAIN="https://your-app.authkit.app"
    
  2. Run the server:

    python server.py
    
  3. In another terminal, run the client:

    python client.py
    

The client will open your browser for AuthKit authentication.