Skip to content

Commit 0da9092

Browse files
authored
Point pre-release install pins at 2.0.0b1 (#3039)
1 parent e50fb5b commit 0da9092

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ Python 3.10+.
4141
## Installation
4242

4343
```bash
44-
uv add "mcp[cli]==2.0.0a3" # or: pip install "mcp[cli]==2.0.0a3"
44+
uv add "mcp[cli]==2.0.0b1" # or: pip install "mcp[cli]==2.0.0b1"
4545
```
4646

47-
The pin matters while v2 is in pre-release: an unpinned install resolves to the latest stable v1.x, which this README does not describe. Check [PyPI](https://pypi.org/project/mcp/#history) for the newest pre-release, and use `uv run --with "mcp==2.0.0a3"` for one-off commands.
47+
The pin matters while v2 is in pre-release: an unpinned install resolves to the latest stable v1.x, which this README does not describe. Check [PyPI](https://pypi.org/project/mcp/#history) for the newest pre-release, and use `uv run --with "mcp==2.0.0b1"` for one-off commands.
4848

4949
## A server in 15 lines
5050

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ Python 3.10+.
2121
=== "uv"
2222

2323
```bash
24-
uv add "mcp[cli]==2.0.0a3"
24+
uv add "mcp[cli]==2.0.0b1"
2525
```
2626

2727
=== "pip"
2828

2929
```bash
30-
pip install "mcp[cli]==2.0.0a3"
30+
pip install "mcp[cli]==2.0.0b1"
3131
```
3232

3333
The `[cli]` extra gives you the `mcp` command; you'll want it for development.
3434

35-
!!! warning "Pin the version while v2 is in alpha"
35+
!!! warning "Pin the version while v2 is in beta"
3636
Installers never select a pre-release unless you name one, so an unpinned `uv add "mcp[cli]"`
3737
gives you the latest **v1.x** release, which this documentation does not describe. Check
38-
[PyPI](https://pypi.org/project/mcp/#history) for the newest alpha before you copy the line
38+
[PyPI](https://pypi.org/project/mcp/#history) for the newest beta before you copy the line
3939
above. See [Installation](installation.md) for the details.
4040

4141
## Example

docs/installation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22

33
The Python SDK is on PyPI as [`mcp`](https://pypi.org/project/mcp/). It requires **Python 3.10+**.
44

5-
These docs describe **v2**, which is in alpha, so the version pin is not optional yet:
5+
These docs describe **v2**, which is in beta, so the version pin is not optional yet:
66

77
=== "uv"
88

99
```bash
10-
uv add "mcp[cli]==2.0.0a3"
10+
uv add "mcp[cli]==2.0.0b1"
1111
```
1212

1313
=== "pip"
1414

1515
```bash
16-
pip install "mcp[cli]==2.0.0a3"
16+
pip install "mcp[cli]==2.0.0b1"
1717
```
1818

1919
!!! warning "Why the pin"
2020
Installers never select a pre-release unless you name one, so an unpinned `uv add "mcp[cli]"`
2121
gives you the latest **v1.x** release, which these docs do not describe. Check the
22-
[release history](https://pypi.org/project/mcp/#history) for the newest alpha before you copy
22+
[release history](https://pypi.org/project/mcp/#history) for the newest beta before you copy
2323
the line above.
2424

25-
The same applies to one-off commands: `uv run --with "mcp==2.0.0a3" ...`, not `uv run --with mcp ...`.
25+
The same applies to one-off commands: `uv run --with "mcp==2.0.0b1" ...`, not `uv run --with mcp ...`.
2626

2727
If your *package* depends on `mcp`, add a `<2` upper bound (for example `mcp>=1.27,<2`) before
2828
the stable v2 lands so the major version bump doesn't surprise you.

0 commit comments

Comments
 (0)