mcp_server_dart 1.0.0 copy "mcp_server_dart: ^1.0.0" to clipboard
mcp_server_dart: ^1.0.0 copied to clipboard

retracted

A developer-friendly MCP (Model Context Protocol) framework for Dart with annotations and code generation.

1.0.0 #

  • πŸš€ Initial release of MCP Dart Framework
  • 🏷️ Annotation-based development: @MCPTool, @MCPResource, @MCPPrompt annotations
  • πŸ”§ Code generation: Automatic boilerplate generation using build_runner
  • πŸ“‘ Multiple transports: Support for stdio, HTTP, and WebSocket connections
  • πŸ” Type-safe: Full Dart type safety with automatic parameter extraction
  • πŸ“š JSON Schema: Automatic input schema generation from method signatures
  • 🌟 Complete example: Google Maps MCP server demonstrating all features
  • πŸ§ͺ Testing support: Built-in support for testing MCP servers
  • πŸ“– Comprehensive docs: Detailed README with examples and API reference

Features #

  • MCPServer base class with full MCP protocol implementation
  • Automatic parameter extraction from method signatures
  • JSON Schema generation for tool input validation
  • WebSocket and stdio transport support
  • Resource and prompt management alongside tools
  • Error handling and logging built-in
  • Type-safe context access for tool parameters

Examples #

  • Simple MCP server example
  • Google Maps MCP server with multiple tools, resources, and prompts
  • Comprehensive test suite demonstrating framework usage
5
likes
0
points
356
downloads

Publisher

verified publishercodenka.com

Weekly Downloads

A developer-friendly MCP (Model Context Protocol) framework for Dart with annotations and code generation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, dart_style, json_annotation, json_rpc_2, logging, meta, relic, source_gen

More

Packages that depend on mcp_server_dart