Skip to content

Extend MCP server to support streamable HTTP transport #5768

@HariAmoor-professional

Description

@HariAmoor-professional

What is the problem this feature would solve?

The best practice insofar as the MCP protocol is with streamable HTTP, as detailed here. JSON-RPC, which is what @effect/ai/McpServer currently supports, is not the latest best practice.

What is the feature you are proposing to solve the problem?

Requesting to add layerStreamableHttp or some such to the McpServer module so that this protocol is supported.

What alternatives have you considered?

I've tried using the reference implementation, and it works fine, but it's not as user-friendly in chatbot integrations. Case in point, it won't dynamically discover the available MCP capabilities with JSON-RPC as it would with streamable HTTP requests. There are other limitations as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions