Point pre-release install pins at 2.0.0rc1 (#3186)
Some checks failed
CI / checks (push) Has been cancelled
CI / all-green (push) Has been cancelled

This commit is contained in:
Max 2026-07-27 14:23:57 +01:00 • committed by GitHub
commit 45f2a88a9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,21 +22,21 @@ Python 3.10+.
=== "uv"
```bash
uv add "mcp[cli]==2.0.0b1"
uv add "mcp[cli]==2.0.0rc1"
```
=== "pip"
```bash
pip install "mcp[cli]==2.0.0b1"
pip install "mcp[cli]==2.0.0rc1"
```
The `[cli]` extra gives you the `mcp` command; you'll want it for development.
!!! warning "Pin the version while v2 is in beta"
!!! warning "Pin the version while v2 is pre-release"
Installers never select a pre-release unless you name one, so an unpinned `uv add "mcp[cli]"`
gives you the latest **v1.x** release, which this documentation does not describe. Check
[PyPI](https://pypi.org/project/mcp/#history) for the newest beta before you copy the line
[PyPI](https://pypi.org/project/mcp/#history) for the newest pre-release before you copy the line
above. See [Installation](get-started/installation.md) for the details.
## Example