From e65b42abc8865d6d12872832ccb9d75d56c1e24b Mon Sep 17 00:00:00 2001 From: saidsurucu Date: Wed, 9 Jul 2025 19:26:24 +0300 Subject: [PATCH] Update asgi_app.py --- asgi_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asgi_app.py b/asgi_app.py index a9dbc1d..8e34cf1 100644 --- a/asgi_app.py +++ b/asgi_app.py @@ -89,8 +89,8 @@ app = FastAPI( # Add Stripe webhook router to FastAPI app.include_router(stripe_router, prefix="/api") -# Add MCP Auth HTTP adapter to FastAPI under /mcp prefix (replaces old OAuth router) -app.include_router(mcp_auth_router, prefix="/mcp") +# MCP Auth HTTP adapter now handled by create_app() - no need for separate router +# app.include_router(mcp_auth_router, prefix="/mcp") # Commented out to avoid duplication # Custom 401 exception handler for MCP spec compliance @app.exception_handler(401)