mcp_codegen 0.1.0 copy "mcp_codegen: ^0.1.0" to clipboard
mcp_codegen: ^0.1.0 copied to clipboard

Source-gen builder that generates boilerplate MCP server and tool code.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mcp_codegen

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

dependencies:
  mcp_codegen: ^0.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mcp_codegen/mcp_codegen.dart';
2
likes
120
points
16
downloads

Documentation

API reference

Publisher

verified publishernelsoncampos.xyz

Weekly Downloads

Source-gen builder that generates boilerplate MCP server and tool code.

License

BSD-3-Clause (license)

Dependencies

analyzer, build, dart_mcp, mcp_annotations, meta, source_gen

More

Packages that depend on mcp_codegen