Skip to content

Support MCP client communication with servers over Streamable HTTP transport #46

@Ashfaqbs

Description

@Ashfaqbs

Description:
Currently, the Python MCP client example demonstrates communication with an MCP server via the STDIO transport. However, MCP also defines a streamable-http transport type that enables communication over HTTP with streaming capabilities.

It would be valuable to have an example or feature in this repository that shows how to implement a client communicating with an MCP server using streamable-http. This would help developers understand how to:

Initialize and configure the client for HTTP-based streaming communication

Handle request/response cycles and event streams over HTTP

Compare differences in setup and behavior between STDIO and streamable-http transports

Providing this example would make the quick start resources more complete and allow developers to experiment with both major transport types defined in MCP.

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