Skip to content

[Bug]: Need update streamablehttp_client to streamable_http_client #1392

@WilliamEricCheung

Description

@WilliamEricCheung

我在使用本地MCP Server时使用Streamable HTTP发现MCP那边已经将streamablehttp_client函数变成了streamable_http_client。

参见:https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/streamable_http.py#L519

from mcp.client.streamable_http import streamablehttp_client (deprecated)
from mcp.client.streamable_http import streamable_http_client (new)

see: agentscope/src/agentscope/mcp/_http_stateless_client.py (stateful的client同理)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions