Skip to content

Feature Request: Add Streamable HTTP Server Transport #126

Description

@CaliLuke

Currently, the MCP Hub server endpoint at /mcp only supports Server-Sent Events (SSE) for client connections, as implemented in src/mcp/server.js using SSEServerTransport.

However, the client-side MCPConnection in src/MCPConnection.js is already designed to prefer a generic StreamableHTTPClientTransport and only falls back to SSE. This creates a mismatch where the hub's client capabilities are more advanced than its server's.

Additionally, the project's README.md states that streamable-http is the primary transport protocol, which can be misleading for users trying to connect clients that might not support SSE or would prefer a different streaming mechanism.

This feature request is to implement a StreamableHTTPServerTransport for the /mcp endpoint to align with the client's capabilities and the project's documentation. This would make the hub more flexible and compliant with its own stated standards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions