widget_review_mcp 0.1.0
widget_review_mcp: ^0.1.0 copied to clipboard
MCP server that lets AI agents read, reply to, and resolve Widget Review comments in a running Flutter app over the Dart VM Service.
Using widget_review_mcp #
-
In your Flutter app, add
widget_reviewand wrap your app:void main() => runApp(const WidgetReview(child: MyApp())); -
Run the app so the server can find it:
flutter run --vmservice-out-file=.dart_tool/widget_review/vm_service_uri -
Install the server and register it with your agent (from your app's project directory):
dart pub global activate widget_review_mcp claude mcp add widget-review -- widget_review_mcp -
Tap widgets in the app, leave reviews, then ask your agent: "Check my widget reviews and fix them."
Driving the server directly (newline-delimited JSON-RPC over stdio):
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{}}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_reviews","arguments":{}}}' \
| widget_review_mcp