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
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/v2-feedback.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
name: v2 feedback
2
2
description: Bugs, API friction, or docs gaps in v2 of the SDK
3
3
title: "[v2] "
4
-
labels: ["v2-alpha"]
4
+
labels: ["v2"]
5
5
6
6
body:
7
7
- type: markdown
8
8
attributes:
9
9
value: |
10
-
Thanks for trying v2. Anything that broke, surprised you, or slowed you down is useful — API feedback is explicitly welcome while v2 is in pre-release.
10
+
Anything in v2 that broke, surprised you, or slowed you down is useful, including API friction and docs gaps.
11
11
12
-
Docs: https://py.sdk.modelcontextprotocol.io/v2/ · Migration from v1: https://py.sdk.modelcontextprotocol.io/v2/migration/
12
+
Docs: https://py.sdk.modelcontextprotocol.io/ · Migration from v1: https://py.sdk.modelcontextprotocol.io/migration/
| New features, breaking changes|`main`| New APIs, refactors |
79
+
| New features and fixes for v2|`main`| New APIs, refactors |
80
80
| Security fixes for v1 |`v1.x`| Critical patches |
81
-
|Bug fixes for v1 |`v1.x`|Non-breaking fixes|
81
+
|Critical bug fixes for v1 |`v1.x`|Backports of severe bugs|
82
82
83
-
> **Note:**`main` is the v2 development branch. Breaking changes are welcome on `main`. The `v1.x` branch receives only security and critical bug fixes.
83
+
> **Note:**`main` is the current stable line (v2). The `v1.x` branch is the previous major's maintenance line and receives only security and critical bug fixes.
84
84
85
85
2. Create a new branch from your chosen base branch
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,18 @@
13
13
14
14
</div>
15
15
16
-
> [!CAUTION]
17
-
> **This README documents v2 of the MCP Python SDK — a pre-release (alpha/beta) line under active development. Do not use v2 in production.** Pre-releases are published to PyPI as `2.0.0aN` / `2.0.0bN`, and **each pre-release may contain breaking changes from the previous one**. Pin an exact version and expect to update your code when you bump the pin.
16
+
> [!NOTE]
17
+
> **This is v2 of the MCP Python SDK, the current stable release line.** It is a major rework of the SDK, both to support the [2026-07-28 MCP specification](https://modelcontextprotocol.io/specification/2026-07-28) (and every earlier revision) and to fix long-standing architectural issues. Coming from v1? See [What's new in v2](https://py.sdk.modelcontextprotocol.io/whats-new/) for the tour of what changed and the [migration guide](https://py.sdk.modelcontextprotocol.io/migration/) for every breaking change.
18
18
>
19
-
> **v1.x is the only stable release line and remains recommended for production.**It lives on the [`v1.x` branch](https://github.com/modelcontextprotocol/python-sdk/tree/v1.x) and continues to receive critical bug fixes and security patches; see [the v1.x README](https://github.com/modelcontextprotocol/python-sdk/blob/v1.x/README.md) for its documentation. `pip` and `uv` don't select a pre-release unless you explicitly request one, so existing installs are unaffected. **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.**
19
+
> **Not ready to migrate?**v1.x lives on the [`v1.x` branch](https://github.com/modelcontextprotocol/python-sdk/tree/v1.x), continues to receive critical bug fixes and security patches, and is documented at <https://py.sdk.modelcontextprotocol.io/v1/>. Since `pip install mcp` now installs 2.x, keep a `<2` upper bound on your requirement (for example `mcp>=1.28,<2`) until you've migrated.
20
20
>
21
-
> v2 is a major rework of the SDK, both to support the [2026-07-28 MCP specification release](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/) and to fix long-standing architectural issues. See [What's new in v2](https://py.sdk.modelcontextprotocol.io/v2/whats-new/) for the tour of what changed, and the [migration guide](https://py.sdk.modelcontextprotocol.io/v2/migration/) for every breaking change. Stable v2 is targeted for 2026-07-27, alongside the spec release. Try the pre-releases and [tell us what breaks](https://github.com/modelcontextprotocol/python-sdk/issues/new?template=v2-feedback.yaml), or discuss in [#python-sdk-dev on the MCP Contributors Discord](https://discord.gg/6CSzBmMkjX).
21
+
> Something rough, confusing, or broken? [Open an issue](https://github.com/modelcontextprotocol/python-sdk/issues/new?template=v2-feedback.yaml) or find us in [#python-sdk-dev on the MCP Contributors Discord](https://discord.gg/6CSzBmMkjX).
22
22
23
23
## Documentation
24
24
25
-
**The documentation lives at <https://py.sdk.modelcontextprotocol.io/v2/>.**
25
+
**The documentation lives at <https://py.sdk.modelcontextprotocol.io/>.**
26
26
27
-
It has a [Get started guide](https://py.sdk.modelcontextprotocol.io/v2/get-started/), [What's new in v2](https://py.sdk.modelcontextprotocol.io/v2/whats-new/), the [API reference](https://py.sdk.modelcontextprotocol.io/v2/api/mcp/), and the [migration guide](https://py.sdk.modelcontextprotocol.io/v2/migration/).
27
+
It has a [Get started guide](https://py.sdk.modelcontextprotocol.io/get-started/), [What's new in v2](https://py.sdk.modelcontextprotocol.io/whats-new/), the [API reference](https://py.sdk.modelcontextprotocol.io/api/mcp/), and the [migration guide](https://py.sdk.modelcontextprotocol.io/migration/).
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.
47
+
The `cli` extra adds the `mcp` command-line tool (`mcp dev`, `mcp run`, `mcp install`) on top of the SDK; install plain `mcp` if you don't need it. For one-off commands, `uv run --with "mcp[cli]" mcp ...` works without a project.
48
48
49
49
## A server in 15 lines
50
50
@@ -82,7 +82,7 @@ Call `add` with `a=1`, `b=2` and you get `3` back.
82
82
83
83
Notice what you did **not** write: no JSON Schema (`a: int, b: int`_is_ the schema), no request parsing, no validation code, no protocol handling. Two type-hinted Python functions and a docstring.
84
84
85
-
[Get started](https://py.sdk.modelcontextprotocol.io/v2/get-started/) takes it from here.
85
+
[Get started](https://py.sdk.modelcontextprotocol.io/get-started/) takes it from here.
86
86
87
87
## A client in 10 lines
88
88
@@ -122,7 +122,7 @@ This project is licensed under the MIT License. See the [LICENSE](https://github
0 commit comments