I notice it will terminated after several times call, but why not stop calling once detect the server was disconnencted?
I have the same issue. I don’t know if it’s cursor’s bug or my mcp’s bug. Below is my mcp code
# server.py
from mcp.server.fastmcp import FastMCP
mcp = FastMCP(name="GreetingServer", port = 8090, host = "127.0.0.1")
@mcp.tool()
def greet(name: str) -> str:
"""Greet a user by name."""
return f"Hello, {name}!"
if __name__ == "__main__":
mcp.run(transport="streamable-http")
Hey, actually Cursor doesn’t initially know that the server is unavailable. It just sees that it’s enabled and tries to call it. When it fails after several attempts, it stops executing.