Skip to content

ModuleNotFoundError: No module named 'mcp.server.streamable_http' #1707

@zhongJY1998

Description

@zhongJY1998

Hello, when I uv add mcp, it works fine. But when I build the server, I get an error message "ModuleNotFoundError: No module named 'mcp.server.streamable_http'" when I execute from mcp.server.streamable_http import (
MCP_SESSION_ID_HEADER,
StreamableHTTPServerTransport,
) What's the reason? My mcp version is 1.7.1

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