mcp bug fix
parent
f44453d93e
commit
f2c96f335f
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue