Skip to content

Streamable http support #110

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

Merged
merged 4 commits into from
Jun 16, 2025
Merged

Streamable http support #110

merged 4 commits into from
Jun 16, 2025

Conversation

kevalmahajan
Copy link
Member

@kevalmahajan kevalmahajan commented Jun 16, 2025

✨ Feature / Enhancement PR

πŸ”— Epic / Issue

#109
Closes #109


πŸš€ Summary (1–2 sentences)

Implemented streamable HTTP transport to enable client communication with the MCP gateway with authentication.

Added new variables in env:

  • USE_STATEFUL_SESSIONS
    Set to False to use stateless sessions without an event store.
    Set to True for stateful sessions.

  • JSON_RESPONSE_ENABLED
    Set to True to enable JSON responses.
    Set to False to enable SSE streams.

To test this out:

  1. Open the MCP Inspector and Select "Streamable HTTP" as the transport option.
  2. Enter the URL: http://localhost:4444/mcp/
  3. Paste the Bearer authentication token for the gateway. Click on "Connect."

πŸ§ͺ Checks

  • make lint passes
  • make test passes
  • CHANGELOG updated (if user-facing)

Copy link
Member

@crivetimihai crivetimihai left a comment

Choose a reason for hiding this comment

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

Merging intermediate PR

@crivetimihai crivetimihai merged commit 33d2f55 into main Jun 16, 2025
15 of 16 checks passed
@crivetimihai crivetimihai deleted the streamable-http-support branch June 16, 2025 18:09
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.

[Feature Request]: Implement Streamable HTTP Transport for Client Connections to MCP Gateway
2 participants