dart_mcp 0.2.0 copy "dart_mcp: ^0.2.0" to clipboard
dart_mcp: ^0.2.0 copied to clipboard

A package for making MCP servers and clients.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_mcp

With Flutter:

 $ flutter pub add dart_mcp

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_mcp: ^0.2.0

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:dart_mcp/client.dart';
import 'package:dart_mcp/server.dart';
14
likes
140
points
280
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

A package for making MCP servers and clients.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

async, collection, json_rpc_2, meta, stream_channel, stream_transform

More

Packages that depend on dart_mcp

OSZAR »