Fix cannot import name ‘RequestContext’ from ‘mcp.shared.context’ after mcp 2.0: update the import or pin mcp<2. Tested on 1.30.0 and 2.3.0.
MCP Python SDK ImportError: RequestContext Fix (2026)
calendar_today
November 16, 2026
domain
weirapp-io