mcp_llm 1.0.2
mcp_llm: ^1.0.2 copied to clipboard
Advanced Dart package for Large Language Model (LLM) integration with Model Context Protocol (MCP) 2025-03-26 specification. Features OAuth 2.1 authentication, JSON-RPC 2.0 batch processing, health mo [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mcp_llm
With Flutter:
$ flutter pub add mcp_llm
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
mcp_llm: ^1.0.2
Alternatively, 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:mcp_llm/mcp_llm.dart';