Skip to content

Commit 9a5ea35

Browse files
authored
Prepare mcp_dart_cli 0.1.9 release (#272)
1 parent 2e4d1d6 commit 9a5ea35

6 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/test_core.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@ name: Run Core Tests on PR
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- 'packages/mcp_dart_cli/**'
75
push:
86
branches:
97
- main
10-
paths-ignore:
11-
- 'packages/mcp_dart_cli/**'
128

139
jobs:
1410
test:

packages/mcp_dart_cli/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Unreleased
1+
## 0.1.9
22

33
- Add `mcp_dart inspect-server` for structured MCP server inspection reports
44
covering handshake, capabilities, ping, tools, resources, resource templates,

packages/mcp_dart_cli/bin/mcp_dart.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ bool shouldCheckForUpdate(List<String> arguments) {
2020
return false;
2121
}
2222

23+
if (arguments.isNotEmpty && arguments.first == 'serve') {
24+
return false;
25+
}
26+
2327
if (arguments.isNotEmpty && arguments.first == 'inspect-client') {
2428
return false;
2529
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const packageVersion = '0.1.8';
1+
const packageVersion = '0.1.9';

packages/mcp_dart_cli/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mcp_dart_cli
22
description: Command-line tools for creating, serving, inspecting, and testing Dart Model Context Protocol (MCP) servers.
3-
version: 0.1.8
3+
version: 0.1.9
44
repository: https://github.com/leehack/mcp_dart
55
homepage: https://github.com/leehack/mcp_dart/tree/main/packages/mcp_dart_cli
66
issue_tracker: https://github.com/leehack/mcp_dart/issues

packages/mcp_dart_cli/test/bin/mcp_dart_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ void main() {
88
expect(cli.shouldCheckForUpdate(['update']), isFalse);
99
});
1010

11+
test('skips serve because stdout is MCP protocol traffic', () {
12+
expect(cli.shouldCheckForUpdate(['serve']), isFalse);
13+
});
14+
1115
test('skips conformance JSON mode to keep stdout machine-readable', () {
1216
expect(cli.shouldCheckForUpdate(['conformance', '--json']), isFalse);
1317
});

0 commit comments

Comments
 (0)