Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
refer to example in docs
  • Loading branch information
shiraayal-tadata committed Apr 22, 2025
commit ed1e4be268c45c0c516806b2b86c89f55a2010c2
2 changes: 2 additions & 0 deletions docs/03_authentication_and_authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ mcp = FastApiMCP(
mcp.mount()
```

For a complete working example of authorization header, check out the [auth_example_token_passthrough.py](/examples/08_auth_example_token_passthrough.py) in the examples folder.

## OAuth Flow

FastAPI-MCP supports the full OAuth 2 flow, compliant with [MCP Spec 2025-03-26](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization).
Expand Down