deepak191z commited on
Commit
97a889c
·
verified ·
1 Parent(s): ca2d087

Update calculator_server.py

Browse files
Files changed (1) hide show
  1. calculator_server.py +3 -1
calculator_server.py CHANGED
@@ -41,7 +41,9 @@ if __name__ == "__main__":
41
 
42
  try:
43
  # FastMCP only supports streamable-http transport
44
- mcp.run(transport="streamable-http", host="0.0.0.0", port=port)
 
 
45
  except Exception as e:
46
  logger.error(f"Failed to start server: {e}")
47
  raise
 
41
 
42
  try:
43
  # FastMCP only supports streamable-http transport
44
+ mcp.run(transport="streamable-http", host="0.0.0.0",
45
+ port=7860,
46
+ path="/mcp")
47
  except Exception as e:
48
  logger.error(f"Failed to start server: {e}")
49
  raise