Skip to content

A 'pub-dev-search' mcp tool #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 59 commits into from
May 19, 2025
Merged
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
cf1b4b4
A pub search functionality
sigurdm May 2, 2025
65de883
Update pkgs/dart_tooling_mcp_server/lib/src/mixins/pub_dev_search.dart
sigurdm May 5, 2025
dbcabff
Update pkgs/dart_tooling_mcp_server/lib/src/mixins/pub_dev_search.dart
sigurdm May 5, 2025
ff7cc43
Detailed search term description
sigurdm May 5, 2025
a383fb5
Rename argument `search-query` -> `query`
sigurdm May 5, 2025
0fe6f8c
Remove unused import
sigurdm May 5, 2025
5426861
Underscores in tool name
sigurdm May 5, 2025
245d790
Readonlyhint: true
sigurdm May 5, 2025
8f5e9cb
Remove copy-paste waste
sigurdm May 5, 2025
ce713a1
Extract `dig` json utility
sigurdm May 5, 2025
cd3ba90
Remove unused query parameters
sigurdm May 5, 2025
f9219b4
Make client mockable
sigurdm May 5, 2025
f1f9f2c
Add test
sigurdm May 5, 2025
2b28b8d
Better golden file error message
sigurdm May 5, 2025
084cfe7
Privatify name
sigurdm May 5, 2025
c803a7b
Test failure
sigurdm May 5, 2025
e0afe2d
Run subqueries in parallel
sigurdm May 5, 2025
29888c8
Test and fix json dig
sigurdm May 5, 2025
7442c9c
Make pool top-level static
sigurdm May 5, 2025
9070d8a
Update pkgs/dart_tooling_mcp_server/test_fixtures/pub_dev_responses/R…
sigurdm May 5, 2025
b46121c
Update pkgs/dart_tooling_mcp_server/test_fixtures/pub_dev_responses/R…
sigurdm May 5, 2025
9e1283a
Update pkgs/dart_tooling_mcp_server/lib/src/utils/json.dart
sigurdm May 6, 2025
ab08279
json util, handle specified types
sigurdm May 6, 2025
77ccf09
Update pkgs/dart_tooling_mcp_server/lib/src/mixins/pub_dev_search.dart
sigurdm May 6, 2025
95da176
Handle generic types
sigurdm May 6, 2025
7a4c89c
Remove nonsense
sigurdm May 6, 2025
525ea44
Bump subosito/flutter-action from 1 to 2 in the github-actions group …
dependabot[bot] May 1, 2025
2093225
Making `instructions` optional. (#98)
domesticmouse May 1, 2025
b10e03c
Require roots for all CLI tools (#101)
jakemac53 May 2, 2025
29cd5b2
Add runtime errors resource and tool to clear errors. (#94)
jakemac53 May 2, 2025
adf7ee9
add option to log protocol messages to a Sink<String> (#102)
jakemac53 May 2, 2025
fed9134
Modify DTD connection verbiage in example client (#104)
kenzieschmoll May 2, 2025
4871a32
add test for server closing early to validate behavior (#105)
jakemac53 May 2, 2025
06c71c7
Continue making `instructions` optional. (#107)
domesticmouse May 4, 2025
23aa993
Release dart_mcp version 0.2.0 (#106)
jakemac53 May 5, 2025
009219c
Add supported tools to the MCP server README (#109)
kenzieschmoll May 5, 2025
346d7c4
add signature_help tool (#110)
jakemac53 May 5, 2025
f5c83bd
show thinking text and input/output token usage (#108)
jakemac53 May 5, 2025
cc41bfb
Tolerate missing sub-responses
sigurdm May 6, 2025
e483a8c
Report error when no packages found
sigurdm May 6, 2025
472d00b
merge
sigurdm May 6, 2025
b30e7f9
dartfmt
sigurdm May 6, 2025
10c723d
Extract result count constant
sigurdm May 9, 2025
1f06c85
End with period
sigurdm May 9, 2025
0745135
Use named records
sigurdm May 9, 2025
152457d
End with period
sigurdm May 9, 2025
524fac2
Break up lines
sigurdm May 9, 2025
b9d78aa
Extract test helper
sigurdm May 9, 2025
c3b41d8
Explain no 'or' operator in tool description
sigurdm May 12, 2025
d36f0f5
Merge
sigurdm May 12, 2025
5636292
Fix merge
sigurdm May 12, 2025
d0cdb29
Sort dependencies
sigurdm May 12, 2025
1e4524e
Address some of review
sigurdm May 13, 2025
e7f3935
Fix rename
sigurdm May 13, 2025
e3e187e
Refactor to use `runWithClient`
sigurdm May 13, 2025
9e6e34b
dynamic -> Object
sigurdm May 13, 2025
b808801
Use list of strings instead of list of objects
sigurdm May 16, 2025
6c98900
Restrict max number of listed identifiers
sigurdm May 16, 2025
a9c13b9
Report the publisher of the package
sigurdm May 16, 2025
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
Prev Previous commit
Next Next commit
Remove unused query parameters
  • Loading branch information
sigurdm committed May 5, 2025
commit cd3ba902ba21407375dc2e53f89f0607712d89cd
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ base mixin PubDevSupport on ToolsSupport {
scheme: 'https',
host: 'pub.dev',
path: 'api/packages/$packageName',
queryParameters: {'q': query},
),
),
);
Expand All @@ -71,7 +70,6 @@ base mixin PubDevSupport on ToolsSupport {
scheme: 'https',
host: 'pub.dev',
path: 'api/packages/$packageName/score',
queryParameters: {'q': query},
),
),
);
Expand Down