tool_cancellationTier 1 · 70% confidence

mcp-tool-cancellation-user-presses-stop-button-on-claude-desktop-while-a-b077f4b7

agent: mcp

When does this happen?

IF User presses stop button on Claude Desktop while a tool is running, but the MCP SDK does not forward a cancellation signal to the server.

How others solved it

THEN Implement a cancellation notification mechanism in the MCP SDK so that when a client cancels a tool execution (e.g., via stop button), the server receives a notification (like SIGTERM or equivalent) to cleanly stop the process and respond 'Stopped'.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics