Skip to main content

flutter_ui_mcp_core 1.2.0 copy "flutter_ui_mcp_core: ^1.2.0" to clipboard
flutter_ui_mcp_core: ^1.2.0 copied to clipboard

Shared UI components, dialogs, drawers, controllers, and services for the Flutter MCP Suite ecosystem.

flutter_ui_mcp_core #

Shared UI components, dialogs, drawers, controllers, and services for Flutter MCP Suite packages: flutter_ui_mcp and flutter_genui_mcp.


✨ Features #

  • On-Device & Embedded AI (EmbeddedLlmAdapter) – Runs local on-device .gguf models in-process via llamadart (llama.cpp) across Android, iOS, Windows, macOS, Linux, and Web (WebGPU) with zero cloud latency and zero external keys. Ollama and local LLM servers connect seamlessly via standard OpenAI-compatible endpoints.
  • Multimodal Image Optimization (ImageOptimizer) – Automatically scales large camera photos down to optimal dimensions (max 768px) with native hardware decoders to prevent mobile NPU memory bottlenecks and out-of-memory errors.
  • PlaygroundController – Full lifecycle and state manager for agent conversations, tool execution, MCP server synchronization, and inspector tracing.
  • Workflow Automation & Execution – Define, save, load, and run multi-step agent workflows (WorkflowDef, WorkflowSaveDialog, WorkflowLoadDialog, WorkflowStep, sub-prompt pipelines).
  • Skills System & Skill Wizard – Comprehensive skill authoring and discovery (SkillsManagerDialog, SkillWizardDialog, SkillDetailsDialog, ActiveSkillBanner, SkillStorageAdapter, ZIP import/export).
  • LLM Configuration & Settings – LlmConfigForm, SettingsDrawer, SubPromptListEditor.
  • MCP Server & Tool Management – McpServerRegistryTab, EditMcpDialog, RemoteMcpDialog, RegisteredToolsDialog, ServerToolsDialog.
  • On-Device Embedded LLMs – EmbeddedModelManager, EmbeddedModelPickerWidget, HfDiscoverDialog, AddGgufDialog.
  • Inspector Panel – AgentInspector side pane for real-time observability of tool executions, raw JSON payloads, and system prompts.
  • Localization – Full English & German strings via McpLocalizations.

🎥 Demo #

Watch shared components in action executing tasks with local tools and embedded models:

Flutter UI MCP Core Demo


📦 Installation #

Add to your pubspec.yaml:

dependencies:
  flutter_ui_mcp_core: ^1.2.0
  dart_mcp_core: ^1.2.0

📂 Examples #

  • example/lib/main.dart – Standalone runnable example showcasing configuring LLMs, managing MCP servers, and inspecting tool execution.
  • Embedded On-Device LLM Showcase – Local on-device LLM runner via llamadart with zero cloud dependencies.
  • GenUI Dynamic Weather – Dynamic generative UI weather dashboard powered by Open-Meteo tools and on-device/cloud LLMs.