diff --git a/backend/app/mcp/server.py b/backend/app/mcp/server.py index c7de8e0..a6b3da0 100644 --- a/backend/app/mcp/server.py +++ b/backend/app/mcp/server.py @@ -190,13 +190,12 @@ _mcp_http_app = None if FastMCP is not None: mcp_server = FastMCP( "iMeeting MCP", + host=API_CONFIG["host"], + port=API_CONFIG["port"], json_response=True, stateless_http=True, streamable_http_path="/", ) - # Keep FastMCP's server settings aligned with the outer Uvicorn process. - mcp_server.settings.host = API_CONFIG["host"] - mcp_server.settings.port = API_CONFIG["port"] @mcp_server.tool() def get_my_meetings() -> Dict[str, Any]: