Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 25 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
## Unreleased

### Conformance and release readiness
## 2.3.0-dev.1

- Expanded the manual TypeScript SDK 2026 RC interop fixture pinned to the
upstream PR #2327 preview package, covering modern negotiation,
`server/discover` cache metadata, `tools/list`, `tools/call`,
`x-mcp-header` mirroring, progress notifications, raw HTTP header,
unsupported-version, and removed core RPC rejection, `subscriptions/listen`,
and Streamable HTTP SSE cancellation against the Dart 2026 RC conformance
server.
- Added a diagnostic Dart preview client -> TypeScript server alpha path and
documented the current TS alpha gaps around mandatory `server/discover` and
stateless `resultType` responses.
- Aligned 2026 draft protocol-defined error codes with the live draft:
This dev preview refreshes MCP `2026-07-28` draft/RC support while keeping MCP
`2025-11-25` as the default protocol profile.

### MCP 2026-07-28 draft/RC refresh

- Aligned draft protocol-defined error codes with the live draft:
`HeaderMismatch` is now `-32020`,
`MissingRequiredClientCapability` is now `-32021`, and
`UnsupportedProtocolVersion` is now `-32022`. The conformance alpha.4 server
scenarios that still expect the old `HeaderMismatch` code are tracked as
expected failures.
`UnsupportedProtocolVersion` is now `-32022`.
- Marked `server/discover` as a 2026 cacheable result so stateless responses
include default `ttlMs` and `cacheScope` hints.
- Updated official conformance gates to
`@modelcontextprotocol/conformance@0.2.0-alpha.4`, with 2026 RC runs pinned
to `2026-07-28`, the full 2026 server scenario list covered in CI, the 2026
client wrapper aligned with alpha.4's spec-filtered scenario list, and the
current upstream client fixture gap tracked as an expected failure.
- Removed the legacy `DRAFT-2026-v1` draft alias now that official conformance
targets the `2026-07-28` wire version.
- Ported the JSON Schema boolean-subschema preservation fix onto the RC dev
line, including legacy tool-schema shims.

### Conformance and interoperability

- Updated official conformance gates to
`@modelcontextprotocol/conformance@0.2.0-alpha.4`, with full 2026 RC server
scenario coverage and alpha.4's spec-filtered 2026 client scenario list in CI.
- Expanded the manual TypeScript SDK 2026 RC interop fixture pinned to the
upstream PR #2327 preview package, covering modern negotiation,
`server/discover` cache metadata, `tools/list`, `tools/call`,
`x-mcp-header` mirroring, progress notifications, raw HTTP header validation,
unsupported-version and removed core RPC rejection, `subscriptions/listen`,
and Streamable HTTP SSE cancellation.
- Added a diagnostic Dart preview client -> TypeScript server alpha path and
documented the current TS alpha gaps around mandatory `server/discover` and
stateless `resultType` responses.

## 2.3.0-dev.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Add to your `pubspec.yaml`:

```yaml
dependencies:
mcp_dart: ^2.3.0-dev.0
mcp_dart: ^2.3.0-dev.1
```

Then install dependencies:
Expand Down
2 changes: 1 addition & 1 deletion doc/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Add the MCP Dart SDK to your `pubspec.yaml`:

```yaml
dependencies:
mcp_dart: ^2.3.0-dev.0
mcp_dart: ^2.3.0-dev.1
```

Then run:
Expand Down
6 changes: 3 additions & 3 deletions doc/mcp-2026-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,16 @@ dev release, `mcp_dart_cli 0.2.0-dev.0`, is already published. The CLI publish
workflow removes the local SDK override before publishing so users receive the
published SDK dependency.

Install the dev CLI explicitly by version:
Install the current dev CLI explicitly by version:

```sh
dart pub global activate mcp_dart_cli 0.2.0-dev.0
dart pub global activate mcp_dart_cli 0.2.0-dev.1
```

The standalone install and update scripts intentionally track stable GitHub
releases; use Dart SDK activation when testing prerelease CLI builds.

`mcp_dart create` continues to generate projects that resolve the stable SDK by
default. For draft/RC testing, update generated projects to depend on
`mcp_dart: ^2.3.0-dev.0` and opt into `McpProtocol.preview2026` or
`mcp_dart: ^2.3.0-dev.1` and opt into `McpProtocol.preview2026` or
`McpProtocol.require2026`.
2 changes: 1 addition & 1 deletion doc/quick-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Fast lookup guide for common MCP Dart SDK operations.
```yaml
# pubspec.yaml
dependencies:
mcp_dart: ^2.3.0-dev.0
mcp_dart: ^2.3.0-dev.1
```

```bash
Expand Down
10 changes: 10 additions & 0 deletions packages/mcp_dart_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.2.0-dev.1

- Update the dev CLI package to depend on `mcp_dart ^2.3.0-dev.1`.
- Refresh built-in 2026 RC conformance checks for the current draft error
codes and cacheable `server/discover` behavior.
- Keep CLI standalone binary release automation current with GitHub runner and
artifact action updates.
- Add installer fallback behavior for resolving the latest stable CLI GitHub
release when the GitHub Releases API is unavailable.

## 0.2.0-dev.0

- Prepare the CLI for the MCP `2026-07-28` draft/RC SDK dev line with a
Expand Down
9 changes: 4 additions & 5 deletions packages/mcp_dart_cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For the MCP `2026-07-28` draft/RC dev release, pass the prerelease version
explicitly:

```bash
dart pub global activate mcp_dart_cli 0.2.0-dev.0
dart pub global activate mcp_dart_cli 0.2.0-dev.1
```

Without the Dart SDK, install the latest standalone binary from GitHub Releases:
Expand Down Expand Up @@ -60,7 +60,7 @@ If `directory` is omitted, the project will be created in the current directory

Generated projects resolve the stable `mcp_dart` SDK by default. For MCP
`2026-07-28` draft/RC testing, update the generated `pubspec.yaml` to depend on
`mcp_dart: ^2.3.0-dev.0`.
`mcp_dart: ^2.3.0-dev.1`.

### Create from a specific template

Expand Down Expand Up @@ -466,9 +466,8 @@ dart run tool/validate_cli_publish.dart

For follow-up CLI dev releases whose matching `mcp_dart` SDK dev package is not
published yet, this uses `pubspec_overrides.yaml` so the CLI can validate
against the local SDK checkout. The initial `mcp_dart 2.3.0-dev.0` SDK package
is already published, so release validation should also cover the pub.dev SDK
version:
against the local SDK checkout. After the matching SDK dev package is published,
also validate the CLI against the pub.dev SDK version:

```bash
dart run tool/validate_cli_publish.dart --published-sdk
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp_dart_cli/lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const packageVersion = '0.2.0-dev.0';
const packageVersion = '0.2.0-dev.1';
4 changes: 2 additions & 2 deletions packages/mcp_dart_cli/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mcp_dart_cli
description: Command-line tools for creating, serving, inspecting, and testing Dart Model Context Protocol (MCP) servers.
version: 0.2.0-dev.0
version: 0.2.0-dev.1
repository: https://github.com/leehack/mcp_dart
homepage: https://github.com/leehack/mcp_dart/tree/dev/2026-07-28-rc/packages/mcp_dart_cli
issue_tracker: https://github.com/leehack/mcp_dart/issues
Expand All @@ -27,7 +27,7 @@ dependencies:
stream_transform: ^2.1.1
watcher: ^1.2.0
yaml: ^3.1.3
mcp_dart: ^2.3.0-dev.0
mcp_dart: ^2.3.0-dev.1
mason_logger: ^0.3.3
meta: ^1.17.0
pub_updater: ^0.5.0
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mcp_dart
description: Dart and Flutter SDK for building Model Context Protocol (MCP) servers, clients, hosts, and AI tools.
version: 2.3.0-dev.0
version: 2.3.0-dev.1
repository: https://github.com/leehack/mcp_dart
homepage: https://github.com/leehack/mcp_dart
issue_tracker: https://github.com/leehack/mcp_dart/issues
Expand Down
Loading