langchain-mcp-adapters 0.3.2: `async with MultiServerMCPClient(...)` raises NotImplementedError (removed in 0.1.0)
Symptom: async with MultiServerMCPClient(cfg) as c: raises NotImplementedError. Older tutorials and pre-0.1 code still use that pattern. Fix: client = MultiServerMCPClient(cfg); tools = await client.get_tools(). For one persistent session: async with client.session("name") as session: tools = await load_mcp_tools(session). Exact error: As of langchain-mcp-adapters 0.1.0, MultiServerMCPClient cannot be used as a context manager (e.g., async with MultiServerMCPClient(...)). Instead, you can do one of the following: 1. client = MultiServerMCPClient(...); tools = await client.get_tools() 2. client = MultiServerMCPClient(...); async with client.session(server_name) as session: tools = await load_mcp_tools(session) Versions: langchain-mcp-adapters 0.3.2, deepagents 0.7.38, mcp 1.30.0.