You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the v2 status banner and pin spawned environments to the running SDK version
- README.md banner: v2 is in alpha with pre-releases published to PyPI
(previously said "pre-alpha, in development"), plus the beta/stable
target dates, the <2 upper-bound ask for dependents, and v1.x's
maintenance-mode status. The freeze check in shared.yml now honors an
override-readme-freeze label so deliberate updates like this one can
land while accidental edits stay blocked.
- mcp dev and mcp install spawn environments via `uv run --with mcp`,
which resolves to the latest stable release rather than the version
the user installed; pre-releases are never selected without an
explicit pin, so with a v2 pre-release installed the spawned
environment got v1 and the user's server failed to import. The
requirement now pins the running version; source builds fall back to
the unpinned form since dev/local versions are not published to PyPI.
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,9 @@
18
18
> [!NOTE]
19
19
> **This README documents v1.x of the MCP Python SDK (the current stable release).**
20
20
>
21
-
> For v1.x code and documentation, see the [`v1.x` branch](https://github.com/modelcontextprotocol/python-sdk/tree/v1.x).
22
-
> For the upcoming v2 documentation (pre-alpha, in development on `main`), see [`README.v2.md`](README.v2.md).
21
+
> **v2 is in alpha.** Pre-releases are published to PyPI as `2.0.0aN` and can be installed with an explicit pin, for example `pip install mcp==2.0.0a1`. See [`README.v2.md`](README.v2.md) for the v2 documentation and the [migration guide](docs/migration.md) for what's changed. We're targeting a beta on 2026-06-30 and a stable v2 on 2026-07-27. If your package depends on `mcp`, add a `<2` upper bound to your version constraint (for example `mcp>=1.27,<2`) before the stable release lands.
22
+
>
23
+
> For v1.x code and documentation, see the [`v1.x` branch](https://github.com/modelcontextprotocol/python-sdk/tree/v1.x). v1.x is in maintenance mode and continues to receive critical bug fixes and security patches.
0 commit comments