File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212print (f"BASE_DIR: { BASE_DIR } " )
1313load_dotenv (find_dotenv (str (BASE_DIR / ".env" )))
1414
15- mcp_app = mcp .http_app (transport = "streamable-http" , path = "/mcp " )
15+ mcp_app = mcp .http_app (transport = "streamable-http" , path = "/" )
1616
1717
1818@asynccontextmanager
@@ -47,7 +47,7 @@ async def merged_lifespan(app: FastAPI):
4747# Mount sub-applications
4848# This preserves each app's state, so request.app.state.config works correctly
4949# When a request comes to open_webui_app, request.app will point to open_webui_app
50- app .mount ("/kael" , mcp_app )
50+ app .mount ("/kael/mcp " , mcp_app )
5151app .mount ("/" , open_webui_app )
5252
5353# Add CORS middleware
Original file line number Diff line number Diff line change @@ -1091,7 +1091,7 @@ def feishu_oauth_register(oauth: OAuth):
10911091
10921092INTERNAL_TOOL_SERVER_CONNECTIONS = [
10931093 {
1094- "url" : "http://localhost:8000 /mcp" ,
1094+ "url" : "http://localhost:8083/kael /mcp" ,
10951095 "path" : "openapi.json" ,
10961096 "type" : "mcp" ,
10971097 "auth_type" : "session" ,
You can’t perform that action at this time.
0 commit comments