Skip to content

[Feature Request]: Streamable-http for workflows as mcp tools #18869

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

Closed
rangan2510 opened this issue May 28, 2025 · 2 comments · Fixed by #18903
Closed

[Feature Request]: Streamable-http for workflows as mcp tools #18869

rangan2510 opened this issue May 28, 2025 · 2 comments · Fixed by #18903
Assignees
Labels
enhancement New feature or request triage Issue needs to be triaged/prioritized

Comments

@rangan2510
Copy link

Feature Description

The tutorial listed here (https://docs.llamaindex.ai/en/stable/examples/tools/mcp/#converting-a-workflow-to-an-mcp-app) speaks solely about SSE. However SSE is deprecated in newer versions of MCP implementation and is replaced with streamable http.

The tutorials need to be updated. Moreover, since workflows can also have calls to LLMs inside them, it would help to have an example of an mcp tool which streams the response.

Reason

MCP has deprecated SSEs in favor of streamable HTTP.

Value of Feature

Keep the framework compatible with the newest standard of MCP.

@rangan2510 rangan2510 added enhancement New feature or request triage Issue needs to be triaged/prioritized labels May 28, 2025
@AstraBert AstraBert self-assigned this May 28, 2025
@AstraBert
Copy link
Member

Hey @rangan2510: if you already have a tutorial or example for this, feel free to open a PR, otherwise I can look into it later today :))

@rdas-genesilico-ai
Copy link

@AstraBert I'll have a look at this over the weekend.
The idea is that I may have a streaming agent working as a tool. I would like to see how I can stream the tool output to the mcp client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Issue needs to be triaged/prioritized
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants