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
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 withObjectSchema
fromdart_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
andmaxErrors
constants toErrorMonitor
class to limit number of errors stored. - Added
kDebugMode
check toMCPToolkitBinding.initialize
method. - Added
kDebugMode
check toMCPToolkitExtensions.initializeServiceExtensions
method. - Added
kDebugMode
check toMCPToolkitExtensions.registerServiceExtension
method to prevent adding entries in release mode.
0.1.1 #
- Fixed documentation.
0.1.0 #
- Initial release.