Skip to content

Add streamable HTTP python example #9

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

jlonge4
Copy link
Contributor

@jlonge4 jlonge4 commented May 12, 2025

Issue #, if available:
N/A
Description of changes:
Implement streamable HTTP following python-sdk support here modelcontextprotocol/python-sdk#443 (comment)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jlonge4
Copy link
Contributor Author

jlonge4 commented May 13, 2025

@jamesward

@jamesward
Copy link
Member

Thank you! Is there any way to use the standard MCP Client instead of the hand-built one?

@jlonge4
Copy link
Contributor Author

jlonge4 commented May 13, 2025

@jamesward it doesn't seem to play nice with the sigv4 auth due to the actual request being manipulated in the source code, I am open to suggestions of course.

Here is the place I was looking at in source -> https://github.com/modelcontextprotocol/python-sdk/blob/9e66f7ce89c672e9f985bc1be85b2b7bc7bd59a3/src/mcp/client/streamable_http.py#L242

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.

2 participants