We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f225013 commit 27279bcCopy full SHA for 27279bc
src/mcp/server/fastmcp/server.py
@@ -697,6 +697,10 @@ def custom_route(
697
The handler function must be an async function that accepts a Starlette
698
Request and returns a Response.
699
700
+ Routes using this decorator will not require authorization. It is intended
701
+ for uses that are either a part of authorization flows or intended to be
702
+ public such as health check endpoints.
703
+
704
Args:
705
path: URL path for the route (e.g., "/oauth/callback")
706
methods: List of HTTP methods to support (e.g., ["GET", "POST"])
0 commit comments