Skip to content
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

Streamable HTTP client transport #416

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

josh-newman
Copy link

@josh-newman josh-newman commented Apr 2, 2025

Client implementation of spec version 2025-03-26's new transport.

Motivation and Context

The 2025-03-26 spec introduces a new HTTP transport mechanism (with fallback to the previous one). I didn't see a reference implementation available yet so we've made this experimental one.

How Has This Been Tested?

We've tested with local and remote MCP servers in our product (Lutra).

Breaking Changes

None.

Types of changes

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

Checklist

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

Additional context

This is a draft. I'm not sure how the maintainers would like to handle updating LATEST_PROTOCOL_VERSION and SUPPORTED_PROTOCOL_VERSIONS. And I don't have automated tests for the new transport.

@josh-newman josh-newman marked this pull request as draft April 2, 2025 23:42
@josh-newman josh-newman changed the title Streamable HTTP transport Streamable HTTP client transport Apr 2, 2025
@ptrrrr
Copy link

ptrrrr commented Apr 6, 2025

Are you also including authorisation the spec says oauth 2

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