You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I''m trying to connect to a MCP server developed with Python fastMCP.
The MCP server runs on SSE (text/event-stream).
The MCP client just hangs for 1 min and then fails with timeout.
here is the simple fastMCP server:
#!/usr/bin/env python3importdatetimefromfastmcpimportFastMCPmcp=FastMCP(name="Simple-MCP-Server")
@mcp.tool()defcurrent_datetime() ->dict:
"""Provides the current date and time in ISO format."""return {"datetime": f"{datetime.datetime.now().isoformat()}"}
if__name__=="__main__":
mcp.run(transport="streamable-http")
uv run simple_server.py
the MCP client fails during the initialization process.