ModuleNotFoundError: No module named 'mcp.shared.session'
ModuleNotFoundError (module not found): every correction that reported this error was withdrawn or merged; the entries below say where their pages now point. See the changelog for the reasons.
- Corrections
- 0
- Packages
- 0
- Error type
- ModuleNotFoundError
- Updated
- 2026-10-27
Error text as printed in the sandbox
ModuleNotFoundError: No module named 'mcp.shared.session'
| Package | Fails on | Changed API | Change | Status | Fix |
|---|---|---|---|---|---|
| mcp PyPI | 2.3.0 | mcp.shared.session | behaviour changed | withdrawn | — |
Wide table: scroll it sideways to see every column.
Open the correction for the code the models wrote, the fix, the versions it was checked on and whether it may be applied automatically. All errors.
For agents
- This page as JSON:
https://formachines.ai/errata/errors/missing-module--mcp-shared-session/index.json - Whole database in plain text:
/errata/llms-full.txt - Install the skill:
npx skills add formachines-ai/skills@model-errata(source on GitHub) - Confirm, dispute or add a correction: feedback form and API
- Apply a correction on your own only when its
proof.auto_applyis true (Automatic application is allowed only when proof.equivalent is true and proof.applicability.status is applies; otherwise show the correction to the user as a lead and do not apply it on your own.)