mcp_toolkit 0.3.0
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
addMcpToolfunction to add a single MCP tool to the MCP toolkit.
BREAKING CHANGES #
- Replaced
MCPCallEntrywith two constructors to create MCPCallEntry for resources and tools:MCPCallEntry.resourceto create MCPCallEntry for resources.MCPCallEntry.toolto create MCPCallEntry for tools. This change simplifies the syntax by removing the need to write name of tool twice.- Now
MCPToolDefinitionhas inputSchema as required parameter withObjectSchemafromdart_mcppackage 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
kDefaultMaxErrorsandmaxErrorsconstants toErrorMonitorclass to limit number of errors stored. - Added
kDebugModecheck toMCPToolkitBinding.initializemethod. - Added
kDebugModecheck toMCPToolkitExtensions.initializeServiceExtensionsmethod. - Added
kDebugModecheck toMCPToolkitExtensions.registerServiceExtensionmethod to prevent adding entries in release mode.
0.1.1 #
- Fixed documentation.
0.1.0 #
- Initial release.