Update asgi_app.py
This commit is contained in:
+2
-2
@@ -87,8 +87,8 @@ app = FastAPI(
|
||||
# Add Stripe webhook router to FastAPI
|
||||
app.include_router(stripe_router, prefix="/api")
|
||||
|
||||
# Add MCP Auth HTTP adapter to FastAPI (replaces old OAuth router)
|
||||
app.include_router(mcp_auth_router)
|
||||
# Add MCP Auth HTTP adapter to FastAPI under /mcp prefix (replaces old OAuth router)
|
||||
app.include_router(mcp_auth_router, prefix="/mcp")
|
||||
|
||||
# Custom 401 exception handler for MCP spec compliance
|
||||
@app.exception_handler(401)
|
||||
|
||||
Reference in New Issue
Block a user