Skip to content

Support progress notifications with McpClientTool and McpClientExtensions.CallToolAsync #312

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

stephentoub
Copy link
Contributor

Closes #191

…ions.CallToolAsync
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Copy link
Contributor

@halter73 halter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think allowing you to pass in a progressTokenFactory or something similar to WithProgress along the lines of what @LuisM000 suggests could be interesting, but the scenario does seem pretty niche, and that could be added later.

@stephentoub stephentoub merged commit 227f440 into modelcontextprotocol:main Apr 16, 2025
13 of 14 checks passed
@stephentoub stephentoub deleted the toolprogress branch April 16, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customizing Tool Invocation in IChatClient to Include ProgressToken
4 participants