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
4 changes: 0 additions & 4 deletions .github/workflows/test_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ name: Run Core Tests on PR

on:
pull_request:
paths-ignore:
- 'packages/mcp_dart_cli/**'
push:
branches:
- main
paths-ignore:
- 'packages/mcp_dart_cli/**'

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp_dart_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## 0.1.9

- Add `mcp_dart inspect-server` for structured MCP server inspection reports
covering handshake, capabilities, ping, tools, resources, resource templates,
Expand Down
4 changes: 4 additions & 0 deletions packages/mcp_dart_cli/bin/mcp_dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ bool shouldCheckForUpdate(List<String> arguments) {
return false;
}

if (arguments.isNotEmpty && arguments.first == 'serve') {
return false;
}

if (arguments.isNotEmpty && arguments.first == 'inspect-client') {
return false;
}
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.1.8';
const packageVersion = '0.1.9';
2 changes: 1 addition & 1 deletion 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.1.8
version: 0.1.9
repository: https://github.com/leehack/mcp_dart
homepage: https://github.com/leehack/mcp_dart/tree/main/packages/mcp_dart_cli
issue_tracker: https://github.com/leehack/mcp_dart/issues
Expand Down
4 changes: 4 additions & 0 deletions packages/mcp_dart_cli/test/bin/mcp_dart_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ void main() {
expect(cli.shouldCheckForUpdate(['update']), isFalse);
});

test('skips serve because stdout is MCP protocol traffic', () {
expect(cli.shouldCheckForUpdate(['serve']), isFalse);
});

test('skips conformance JSON mode to keep stdout machine-readable', () {
expect(cli.shouldCheckForUpdate(['conformance', '--json']), isFalse);
});
Expand Down