From 01b4814cbce39c91b625730c1d25aa58da723a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E7=93=9C=C2=B0?= Date: Sat, 21 Jun 2025 15:47:23 +0800 Subject: [PATCH] dev --- backend/mcpServer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/mcpServer.py b/backend/mcpServer.py index d4676e1d..ca9040e4 100644 --- a/backend/mcpServer.py +++ b/backend/mcpServer.py @@ -17,6 +17,7 @@ mcp = FastMCP.from_fastapi( name="Dcalc_MCP", instructions="DNF相关的MCP服务", timeout=60, + host="0.0.0.0", port=config.MCPPORT, route_map_fn=custom_route_mapper, )