servers icon indicating copy to clipboard operation
servers copied to clipboard

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

Open zhongJY1998 opened this issue 1 year ago • 2 comments

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

zhongJY1998 avatar May 08 '25 07:05 zhongJY1998

+1 why does this happen

ishaan-jaff avatar Jun 12 '25 23:06 ishaan-jaff

I upgraded my Mcp version to Version: 1.9.4 and it solved the problem.

hegdeguruprasad avatar Jun 15 '25 08:06 hegdeguruprasad