Skip to content

SSE Connection to Local starter-webmvc-server Fails with Cursor: Body Timeout Error #61

@wiesel07

Description

@wiesel07

I'm building my MCP server using Spring AI WebMvc (starter-webmvc-server). When I run it locally and attempt to connect via SSE using Cursor, everything starts fine, but after a short while, the connection fails with the following error:
2025-06-25 11:07:35.726 [error] user-my-weather-server: Client error for command SSE error: TypeError: terminated: Body Timeout Error

https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/weather/starter-webmvc-server

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions