feat: Progress Support for Long Running Tool Calls ⏳#271
Merged
cliffhall merged 10 commits intomodelcontextprotocol:mainfrom Apr 8, 2025
Merged
feat: Progress Support for Long Running Tool Calls ⏳#271cliffhall merged 10 commits intomodelcontextprotocol:mainfrom
cliffhall merged 10 commits intomodelcontextprotocol:mainfrom
Conversation
This was referenced Apr 5, 2025
Contributor
Author
|
Hi, @cliffhall, pinging this for review (apologies if already checking) |
cliffhall
requested changes
Apr 8, 2025
Member
cliffhall
left a comment
There was a problem hiding this comment.
Tested locally and this works great. Verified max timeout works. Only one beef with the makeRequest renaming.
cliffhall
requested changes
Apr 8, 2025
Member
cliffhall
left a comment
There was a problem hiding this comment.
One more suggestion here.
These configuration variable names are really not looking good, particularly with wrapping.
Could we show just words like:
- Request Timeout
- Reset Timeout on Progress
- Max Timeout with Progress
- Proxy Full Address
The env var to use could be in the tooltip or just in the README.
Contributor
Author
Closed
IgnacioC44
referenced
this pull request
in MCPJam/inspector
Jun 21, 2025
feat: Progress Support for Long Running Tool Calls ⏳
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Progress Support for Long Running Tool Calls
progress_flow.mov
The MCP Inspector now fully supports the Model Context Protocol Progress Flow specification, which enables:
MCP_REQUEST_TIMEOUT_RESET_ON_PROGRESS: Controls whether timeouts reset on progress notifications. Default:trueMCP_REQUEST_MAX_TOTAL_TIMEOUT: Sets maximum total timeout for requests with progress notifications. Default:60000msOther Changes
Run toolbutton now shows as a spinner while the tool is running (and becomes disabled).callToolexceptions..onprogresshook inuseConnectionTesting
longRunningOperationtool.MCP_REQUEST_TIMEOUT_RESET_ON_PROGRESStotrue(default).durationis less thanMCP_REQUEST_MAX_TOTAL_TIMEOUTthen tool call will succeed.MCP error -32001: Maximum total timeout exceededMCP_REQUEST_MAX_TOTAL_TIMEOUTto 200000 (200 seconds) and verified if duration is set to 150 seconds, the tool execution completes fine.MCP_REQUEST_TIMEOUT_RESET_ON_PROGRESSand verified that tool correctly times out.Related Issues