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
Thanks for highlighting this @startime-h!
The SDK doesn't implement cancellation capabilities yet. We can start with basic, e.g. ignore cancellation handlers (on client and server side).
To build more meaningful cancelation handlers we need to better understand the common use cases. Can you please elaborate on your use case?
When using Postman as your MCP client it sends cancellation notifications frequently whenever it encounters an issue. Clogging up the std out with unhelpful error messages
ERROR io.modelcontextprotocol.spec.McpServerSession [http-nio-8080-exec-9] No handler registered for notification method: notifications/cancelled
changed the title [-]ERROR McpServerSession - - No handler registered for notification method: notifications/cancelled[/-][+]Support cancellation[/+]on Feb 17, 2026
Activity
tzolov commentedon Apr 11, 2025
Thanks for highlighting this @startime-h!
The SDK doesn't implement cancellation capabilities yet. We can start with basic, e.g. ignore cancellation handlers (on client and server side).
To build more meaningful cancelation handlers we need to better understand the common use cases. Can you please elaborate on your use case?
CrazyHZM commentedon Apr 12, 2025
@tzolov Sending a cancellation notification when a request times out is a usage scenario.
See #147
MaxHoecker commentedon Jul 18, 2025
When using Postman as your MCP client it sends cancellation notifications frequently whenever it encounters an issue. Clogging up the std out with unhelpful error messages
feat: add ignorable JSON-RPC methods support for both client and server
He-Pin commentedon Sep 4, 2025
@tzolov Will this be supported in 0.12.0?
[-]ERROR McpServerSession - - No handler registered for notification method: notifications/cancelled[/-][+]Support cancellation[/+]yzaparto commentedon Feb 20, 2026
@chemicL @tzolov I can start looking into this.
yzaparto commentedon Feb 20, 2026
@chemicL @tzolov I took a stab at it here: #803
frankbenoitbosch commentedon Aug 29, 2026
As a sdk-user I am surprised to see the cancellation is not an existing feature for me a Java MCP server implementor.
Any chance this gets done soon?
Kehrlann commentedon Sep 4, 2026
We are currently focusing on the 2026-07-28 spec, so it will likely be implemented there instead.