python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

Feature/resource progress

Open davemssavage opened this issue 7 months ago • 2 comments

Experimenting with the idea of passing back resources with progress notification

Motivation and Context

Tinkering to see if this idea works https://github.com/modelcontextprotocol/modelcontextprotocol/pull/549#issuecomment-2906863831

How Has This Been Tested?

Unit testing only so far

Breaking Changes

None expected

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation update

Checklist

  • [x] I have read the MCP Documentation
  • [x] My code follows the repository's style guidelines
  • [x] New and existing tests pass locally
  • [ ] I have added appropriate error handling
  • [ ] I have added or updated documentation as needed

Additional context

Quick patch to test idea will need tests to prove it works

davemssavage avatar May 24 '25 15:05 davemssavage

Looks nice, it sounds from your language like maybe this is a draft?

hesreallyhim avatar May 24 '25 16:05 hesreallyhim

Yep, couple of tweeks to make, forgot to tag it as draft

davemssavage avatar May 24 '25 17:05 davemssavage

I'm going to close this merge request in favour of implementing this behaviour https://github.com/modelcontextprotocol/modelcontextprotocol/pull/617 which includes this functionality but addresses some of the concerns around long running requests requiring continous connections

davemssavage avatar May 31 '25 17:05 davemssavage