File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 67
67
from onyx .server .features .input_prompt .api import (
68
68
basic_router as input_prompt_router ,
69
69
)
70
+ from onyx .server .features .mcp .api import admin_router as mcp_admin_router
71
+ from onyx .server .features .mcp .api import router as mcp_router
70
72
from onyx .server .features .notifications .api import router as notification_router
71
73
from onyx .server .features .password .api import router as password_router
72
74
from onyx .server .features .persona .api import admin_router as admin_persona_router
@@ -374,6 +376,8 @@ def get_application(lifespan_override: Lifespan | None = None) -> FastAPI:
374
376
include_router_with_global_prefix_prepended (application , api_key_router )
375
377
include_router_with_global_prefix_prepended (application , standard_oauth_router )
376
378
include_router_with_global_prefix_prepended (application , federated_router )
379
+ include_router_with_global_prefix_prepended (application , mcp_router )
380
+ include_router_with_global_prefix_prepended (application , mcp_admin_router )
377
381
378
382
if AUTH_TYPE == AuthType .DISABLED :
379
383
# Server logs this during auth setup verification step
You can’t perform that action at this time.
0 commit comments