Update mcp-server command to be an alias for 'run dart_mcp_server@'

Strips the dart-lang/ai dependency from the SDK entirely, as well as the snapshot.

Bug: https://github.com/dart-lang/ai/issues/479
Change-Id: Id919c6a8fbf5fedeffb37e5181bc2fbd85adf986
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/507220
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
This commit is contained in:
Jake Macdonald
2026-05-28 12:06:25 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent 527d529493
commit 06bdbd777f
10 changed files with 82 additions and 151 deletions
-5
View File
@@ -150,11 +150,6 @@ if (dart_target_arch != "ia32" && dart_target_arch != "x86") {
"../utils/dtd:dtd_aot",
"dart_tooling_daemon_aot",
],
[
"dart_mcp_server_aot_product",
"../utils/dart_mcp_server:dart_mcp_server_aot",
"dart_mcp_server_aot",
],
]
if (include_experimental_vm_service) {
_platform_sdk_snapshots += [ [