Skip to content
Draft
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
9 changes: 3 additions & 6 deletions mcp_examples/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
name: dart_mcp_examples
description: Examples for the Dart MCP package.
publish_to: none
version: 0.0.1
version: 0.1.0

resolution: workspace
environment:
sdk: ^3.7.0

dependencies:
args: ^2.7.0
async: ^2.13.0
cli_util: ^0.4.2
dart_mcp: ^0.2.0
dart_mcp: ^0.4.0-wip
google_generative_ai: ^0.4.7
path: ^1.9.1
stream_channel: ^2.1.4

dependency_overrides:
dart_mcp:
path: ../pkgs/dart_mcp
7 changes: 4 additions & 3 deletions pkgs/dart_mcp/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: dart_mcp
version: 0.3.4-wip
version: 0.4.0-wip
description: A package for making MCP servers and clients.
repository: https://github.com/dart-lang/ai/tree/main/pkgs/dart_mcp
issue_tracker: https://github.com/dart-lang/ai/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Adart_mcp

resolution: workspace
environment:
sdk: ^3.7.0

dependencies:
async: ^2.13.0
collection: ^1.19.1
json_rpc_2: ">=3.0.3 <5.0.0"
json_rpc_2: ^4.0.0
meta: ^1.16.0
stream_channel: ^2.1.4
stream_transform: ^2.1.1

dev_dependencies:
dart_flutter_team_lints: ^3.2.1
test: ^1.25.15
test: ^1.26.1
9 changes: 3 additions & 6 deletions pkgs/dart_mcp_server/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description: >-
An MCP server for Dart projects, exposing various developer tools to AI
models.
publish_to: none
resolution: workspace
environment:
sdk: ^3.9.0-163.0.dev

Expand All @@ -13,7 +14,7 @@ dependencies:
args: ^2.7.0
async: ^2.13.0
collection: ^1.19.1
dart_mcp: ^0.3.3
dart_mcp: ^0.4.0-wip
dds_service_extensions: ^2.0.1
devtools_shared: ^12.0.0
dtd: ^4.0.0
Expand Down Expand Up @@ -43,10 +44,6 @@ dev_dependencies:
analyzer: ^7.5.2
dart_flutter_team_lints: ^3.2.1
pub_semver: ^2.2.0
test: ^1.25.15
test: ^1.26.1
test_descriptor: ^2.0.2
test_process: ^2.1.1

dependency_overrides:
dart_mcp:
path: ../dart_mcp
5 changes: 4 additions & 1 deletion pkgs/dart_mcp_server/test_fixtures/counter_app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: counter_app
description: "A new Flutter project."
publish_to: 'none'
publish_to: "none"
version: 0.1.0-wip

# As this is a flutter project we exclude it from the workspace.
# This avoids making flutter SDK a dependency during development.
# resolution: workspace
environment:
sdk: ^3.6.1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: example_dart_cli_app
publish_to: none
resolution: workspace
environment:
sdk: ^3.7.0
15 changes: 15 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: _
publish_to: none

environment:
sdk: ^3.6.1

workspace:
- mcp_examples/
- pkgs/dart_mcp/
- pkgs/dart_mcp_server/
- pkgs/dart_mcp_server/test_fixtures/dart_cli_app/
# The flutter counter_app is excluded from workspace
# This avoids making flutter SDK a dependency during
# development.
# - pkgs/dart_mcp_server/test_fixtures/counter_app/