Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for cancellation in client and server #160

Open
Mehdi-Bl opened this issue Jan 20, 2025 · 0 comments
Open

support for cancellation in client and server #160

Mehdi-Bl opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Mehdi-Bl
Copy link

Describe the bug
How to cancel tools execution.
We have a side issue about having a cancel notification for process over 10s.
The issue when a tool start and we want to stop. Pressing stop button on Claude Desktop is supposed to send signal to stop it.
This seem not implemented in SDK current workflow or notification types.

To Reproduce
Cancel tool that started running before it terminates.

Expected behavior
MCP Server recieve a ntoficiation for cancellation ==> sig term or equivalent to stop / cleanup the process and respond Stopped.

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
@dsp-ant dsp-ant added the bug Something isn't working label Jan 23, 2025
@dsp-ant dsp-ant changed the title Cancel tool execution support for cancellation in client and server Jan 23, 2025
@dsp-ant dsp-ant modified the milestones: SDK 1.2.0, SDK 1.2.x Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants