Flutter + dart_mcp + AI Desktop App Demo
@leehack
Basic information
About Flutter + dart_mcp + AI Desktop App Demo
Demonstrate how to implement MCP Client in Flutter application with AI.
Overview
What is Flutter + dart_mcp + AI Desktop App Demo?
Flutter + dart_mcp + AI Desktop App Demo is a Flutter-based desktop application that manages and configures MCP (Model Context Protocol) servers. It uses the mcp_dart package for communication and integrates with Google’s Gemini model via an API key. This demo is designed for developers exploring MCP and building AI‑powered chat applications.
How to use Flutter + dart_mcp + AI Desktop App Demo?
Clone the repository, run flutter pub get to install dependencies, then flutter run to launch the app. Obtain a Gemini API key from Google AI Studio and enter it in the Settings screen. Use the MCP server management screen to add, edit, delete, and toggle stdio‑based MCP servers, define custom environment variables per server, and apply changes.
Key features of Flutter + dart_mcp + AI Desktop App Demo
- API key management (save/clear/secure) via SharedPreferences
- Add, edit, delete, and toggle MCP server connections
- Custom environment variables for each server configuration
- Display settings to toggle code block visibility
- Supports stdio‑based MCP servers only
- Built with Flutter and the dart_mcp package
Use cases of Flutter + dart_mcp + AI Desktop App Demo
- Manage multiple MCP server configs in a graphical interface
- Test and debug custom stdio‑based MCP servers
- Experiment with Gemini AI chat combined with MCP tool calls
- Customize server arguments and environment variables for different protocols
- Learn how to integrate MCP into a Flutter desktop app
FAQ from Flutter + dart_mcp + AI Desktop App Demo
What is this application?
It is a Flutter desktop demo for managing MCP servers and using them with Google’s Gemini AI model via an API key.
Which MCP servers are supported?
Currently only stdio‑based MCP servers are supported. You can find example servers in the official MCP servers repository.
How do I get an API key?
You can obtain a Gemini API key from Google AI Studio (aistudio.google.com/apikey) and save it in the app’s Settings screen.
How do I add a new MCP server?
Click the “Add New MCP Server” button, fill in the name, command, arguments, and optional custom environment variables, then save. Use the toggle switch to enable the connection and click “Apply” to synchronize.
Is this application free and open‑source?
Yes, it is licensed under the MIT License. No pricing or usage limits are mentioned.
More Desktop Chat MCP clients
Dive AI Agent 🤿 🤖
openagentplatformDive is an open-source MCP Host Desktop Application that seamlessly integrates with any LLMs supporting function calling capabilities. ✨
Rijksmuseum MCP Client for Rijksmuseum MCP Server
r-huijtsAn Electron-based desktop application that integrates with the Rijksmuseum MCP server using the Model Context Protocol (MCP). This client enables AI-powered interactions with the Rijksmuseum's art collection through a chat interface.
Flutter_mcp
yashmakanGroq Desktop
groqLocal Groq Desktop chat app with MCP support
DTC MCP
rafaelsztutmanContext-optimized MCP server for DTC e-commerce brands. Connect Claude (or any MCP client) to your Klaviyo and Shopify data with 16 pre-built analytics tools.
Comments