Skip to content

Conversation

@ihrpr
Copy link
Contributor

@ihrpr ihrpr commented Apr 13, 2025

Introducing functionality that allows users to resume long-running requests. This feature is useful for scenarios where:

  • Tools or processes require extended execution time
  • Users need to check progress periodically (e.g., every few hours)
  • Continuous client connection for notifications is unnecessary or impractical

Features:

  • Clients can pass a session ID to reconnect with an existing session
  • Resume and replay: Tools can accept the last event ID to resume from that point, replaying notifications and waiting for responses

@ihrpr ihrpr requested a review from jspahrsummers April 13, 2025 22:47
@ihrpr ihrpr marked this pull request as ready for review April 14, 2025 08:25
Copy link
Member

@jspahrsummers jspahrsummers left a comment

Choose a reason for hiding this comment

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

Mostly looks good, just some bikeshedding on the Protocol interface.

Base automatically changed from resumability to main April 15, 2025 17:45
@ihrpr ihrpr merged commit 09e5d5b into main Apr 15, 2025
4 checks passed
@ihrpr ihrpr deleted the ihrpr/resume-long-running-requests branch April 15, 2025 21:25
Pizzaface pushed a commit to RewstApp/mcp-inspector that referenced this pull request May 20, 2025
feat(client): add search param configuration
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.

3 participants