flutter_mcp 1.0.1 copy "flutter_mcp: ^1.0.1" to clipboard
flutter_mcp: ^1.0.1 copied to clipboard

Flutter plugin that integrates MCP server, client, and LLM into a unified agent system. Provides background execution, notification, system tray, lifecycle management, secure data storage, and schedul [...]

1.0.1 - 2025-06-18 #

Bug Fixes and Security Improvements #

  • Security Enhancements

    • Replaced XOR encryption with HMAC-SHA256 based stream cipher
    • Added encryption timeout and error handling
    • Improved key generation and management
  • Platform Compatibility Fixes

    • Android: Migrated from deprecated FlutterMain to FlutterLoader
    • macOS: Replaced deprecated NSUserNotification with UserNotifications framework (10.14+)
    • Added legacy support for older macOS versions
  • Event System Improvements

    • Fixed hanging issues in EnhancedTypedEventSystem
    • Added timeout protection for middleware processing
    • Improved async event handling to prevent deadlocks
    • Restored full functionality of type-safe event system
    • Event System Cleanup
      • Removed dependency on EnhancedTypedEventSystem in core EventSystem
      • Made EventSystem fully self-contained without external dependencies
      • Integrated typed event support directly into EventSystem
      • Preserved all improvements (single lock, memory leak prevention, statistics)
      • Simplified API by removing temporary workarounds
  • Code Quality

    • Fixed null safety issues in Android background service
    • Improved error handling across all platforms
    • Enhanced logging and diagnostics

1.0.0 - 2025-03-26 #

First Stable Release #

Complete rewrite to support MCP 2025-03-26 specification with modern API design.

Breaking Changes #

  • Complete API Redesign

    • Migrated to factory-based creation patterns for all MCP components
    • Introduced configuration objects (McpClientConfig, McpServerConfig)
    • Implemented Result<T, E> pattern for better error handling
    • Removed all deprecated methods and legacy APIs
  • New Factory Methods

    • McpClient.createClient() replaces direct Client constructor
    • McpServer.createServer() replaces direct Server constructor
    • Transport creation now uses factory methods with Result types
  • Enhanced Features

    • OAuth 2.1 authentication support
    • Batch processing with 40-60% performance improvement
    • Health monitoring and capability management
    • Circuit breaker pattern for resilience
    • Real-time performance monitoring

Features #

  • Core MCP Integration

    • Full MCP Client v1.0.0 support
    • Full MCP Server v1.0.0 support
    • Full MCP LLM v1.0.0 support with all 2025-03-26 features
    • Seamless multi-client and multi-server management
  • Platform Services

    • Cross-platform background execution
    • Native notifications on all platforms
    • System tray support for desktop
    • Secure credential storage
    • Advanced job scheduling
  • Developer Experience

    • Comprehensive plugin system
    • Dynamic plugin loading
    • Event-driven architecture
    • Advanced diagnostics and logging
    • Memory and performance optimization

Platform Support #

  • Android (API 21+)
  • iOS (12.0+)
  • macOS (10.15+)
  • Windows (10+)
  • Linux
  • Web (partial support)

Previous Releases #

0.1.0 #

  • API Improvements and Breaking Changes

    • Renamed methods to be more descriptive and consistent
      • createLlm split into createLlmServer and createLlmClient for better clarity
      • integrateServerWithLlm changed to addMcpServerToLlmServer
      • integrateClientWithLlm changed to addMcpClientToLlmClient
    • Updated return types for better type safety
      • createLlmServer now returns (String llmId, String llmServerId) tuple
      • createLlmClient now returns (String llmId, String llmClientId) tuple
    • Parameter changes for consistency and clarity
      • Removed useCache parameter from chat method
    • Enhanced documentation with clearer examples
    • Added explicit dependency information in README.md
  • Enhanced Testing Features

    • Improved memory leak detection and testing
    • Enhanced circuit breaker tests for better fault tolerance
    • Timeout recovery testing improvements
    • Added robust lifecycle management tests
    • Fixed timing-dependent tests for greater reliability
  • Performance Improvements

    • Optimized memory usage during LLM operations
    • Enhanced error recovery mechanisms
    • Improved concurrent operations handling
    • Better resource management across platforms

0.0.2 #

  • Bug fixes and improvements
    • Fixed issues with background service initialization
    • Improved error handling and logging
    • Enhanced performance monitoring features
    • Updated documentation for better clarity

0.0.1 #

  • Initial release
    • Support for MCP client, server, and LLM integration
    • Platform features: background service, notifications, system tray
    • Secure storage integration
    • Lifecycle management
    • Scheduled tasks
5
likes
0
points
102
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin that integrates MCP server, client, and LLM into a unified agent system. Provides background execution, notification, system tray, lifecycle management, secure data storage, and scheduling for cross-platform agent apps.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, flutter, flutter_web_plugins, intl, logging, mcp_client, mcp_llm, mcp_server, meta, path, path_provider, plugin_platform_interface, pointycastle, pub_semver, synchronized, universal_html, uuid, yaml

More

Packages that depend on flutter_mcp

Packages that implement flutter_mcp