From d77781709a997cb9429d996a825ed88eb4bf1ba9 Mon Sep 17 00:00:00 2001 From: saidsurucu Date: Wed, 9 Jul 2025 19:15:19 +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 529ddbe..8cd294f 100644 --- a/asgi_app.py +++ b/asgi_app.py @@ -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)