Skip to content

[Enhancement]: Add Streamable HTTP MCP Server SupportΒ #7020

@ferrants

Description

@ferrants

What features would you like to see added?

Thank you for this great project!

MCP released a spec update in march: https://modelcontextprotocol.io/specification/2025-03-26/changelog

Right now, LibreChat supports the websocket, sse and stdio MCP servers, but now there's a streamable-http type.

For the config typing, I think the change to add it would be here:
https://github.com/danny-avila/LibreChat/blob/a10bc87/packages/data-provider/src/mcp.ts#L10-L87

But, I am confident that there is much more to add to support this, here are some other projects adding support, for reference:

The everything server is wrapping up its PR to support streamable-http: modelcontextprotocol/servers#1496
And the server inspector is also wrapping up support: modelcontextprotocol/inspector#339

There is a lot of similarity with SSE, there's a backwards compatibility guide: https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#backwards-compatibility

Additionally, the spec adds details for oauth authentication with MCP servers. I would expect that to be more complex and be a separate feature request after this is implemented.

Thank you!

More details

Details in first answer ^

Which components are impacted by your request?

Plugins

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions