mcp_toolkit 0.3.0 copy "mcp_toolkit: ^0.3.0" to clipboard
mcp_toolkit: ^0.3.0 copied to clipboard

Flutter MCP Toolkit to add Flutter-specific methods to the MCP server

0.3.0 #

BREAKING CHANGES:

Dart SDK: 3.8.0

  • chore: dart_mcp: ^0.3.30
  • chore: from_json_to_json: ^0.3.0
  • chore: lints: ^6.0.0
  • chore: xsoulspace_lints: ^0.1.2

0.2.3 #

  • perf: added more checks for [MCPCallEntry.resourceUri]

0.2.0 #

  • Added addMcpTool function to add a single MCP tool to the MCP toolkit.

BREAKING CHANGES #

  • Replaced MCPCallEntry with two constructors to create MCPCallEntry for resources and tools:
    • MCPCallEntry.resource to create MCPCallEntry for resources.
    • MCPCallEntry.tool to create MCPCallEntry for tools. This change simplifies the syntax by removing the need to write name of tool twice.
    • Now MCPToolDefinition has inputSchema as required parameter with ObjectSchema from dart_mcp package for better type safety. For example:
        definition: MCPToolDefinition(
          name: 'calculate_fibonacci',
          description: 'Calculate the nth Fibonacci number and return the sequence',
          inputSchema: ObjectSchema(
            properties: {
              'n': IntegerSchema(
                description: 'The position in the Fibonacci sequence (0-100)',
                minimum: 0,
                maximum: 100,
              ),
            },
            required: ['n'],
          ),
        ),
      

0.1.2 #

  • Added kDefaultMaxErrors and maxErrors constants to ErrorMonitor class to limit number of errors stored.
  • Added kDebugMode check to MCPToolkitBinding.initialize method.
  • Added kDebugMode check to MCPToolkitExtensions.initializeServiceExtensions method.
  • Added kDebugMode check to MCPToolkitExtensions.registerServiceExtension method to prevent adding entries in release mode.

0.1.1 #

  • Fixed documentation.

0.1.0 #

  • Initial release.
2
likes
140
points
2.71k
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter MCP Toolkit to add Flutter-specific methods to the MCP server

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, dart_mcp, equatable, flutter, from_json_to_json, is_dart_empty_or_not, universal_io

More

Packages that depend on mcp_toolkit