Skip to content

Commit 5a95bd8

Browse files
a-sivaCommit Queue
authored andcommitted
Add mcp server instantiation to the list of commands parsed by the VM.
TEST=ci Change-Id: I080dd6f8b1d864d35689701207d282447aaf879f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/433560 Commit-Queue: Siva Annamalai <[email protected]> Reviewed-by: Jake Macdonald <[email protected]>
1 parent 4715ebd commit 5a95bd8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

runtime/bin/dartdev_isolate.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ bool DartDevIsolate::ShouldParseCommand(const char* script_uri) {
6767
(strcmp(script_uri, "devtools") == 0) ||
6868
(strcmp(script_uri, "doc") == 0) || (strcmp(script_uri, "fix") == 0) ||
6969
(strcmp(script_uri, "format") == 0) ||
70-
(strcmp(script_uri, "info") == 0) || (strcmp(script_uri, "pub") == 0) ||
71-
(strcmp(script_uri, "run") == 0) || (strcmp(script_uri, "test") == 0) ||
7270
(strcmp(script_uri, "info") == 0) ||
71+
(strcmp(script_uri, "mcp-server") == 0) ||
72+
(strcmp(script_uri, "pub") == 0) || (strcmp(script_uri, "run") == 0) ||
73+
(strcmp(script_uri, "test") == 0) || (strcmp(script_uri, "info") == 0) ||
7374
(strcmp(script_uri, "language-server") == 0) ||
7475
(strcmp(script_uri, "tooling-daemon") == 0) ||
7576
(!File::ExistsUri(nullptr, script_uri) &&

0 commit comments

Comments
 (0)