flutter_ai_mcp 0.1.4
flutter_ai_mcp: ^0.1.4 copied to clipboard
Model Context Protocol (MCP) integration for flutter_ai: connect to MCP servers over Streamable HTTP and expose their tools as flutter_ai tools that flow through the agent loop.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_ai_mcpWith Flutter:
$ flutter pub add flutter_ai_mcpThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_ai_mcp: ^0.1.4Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_ai_mcp/flutter_ai_mcp.dart';