Thursday, August 6, 2026

Langchain MCP Adapters version mismatch error

Using older version of langchain-mcp-adapters produces the following error: 

ImportError: cannot import name 'streamablehttp_client' from 'mcp.client.streamable_http' (/usr/local/lib/python3.12/dist-packages/mcp/client/streamable_http.py). Did you mean: 'streamable_http_client'?


This is the error of version mismatch of langchain-mcp-adapters package, not an error of importing wrong package. 

You can just updgrade langchain-mcp-adapters and check back: 

!pip install --upgrade mcp langchain-mcp-adapters

This error was caused at the statement: 

from langchain_mcp_adapters.client import MultiServerMCPClient

No comments:

Post a Comment

Comparing features of LangGraph vs CrewAI

LangGraph Orchestration vs CrewAI Orchestration The following table compares LangGraph and CrewAI orchestration across their menta...