This is a Flutter-based project designed to manage and configure MCP (Multi-Connection Protocol) servers. The application provides a user-friendly interface for managing API keys, configuring server settings, and handling custom environment variables. The application uses the mcp_dart package to facilitate communication with MCP servers.
- API Key Management: Save, clear, and manage API keys securely using
SharedPreferences. - MCP Server Management:
- Add, edit, and delete MCP server configurations.
- Toggle server connection states.
- Apply changes to synchronize server connections.
- Custom Environment Variables: Define and manage custom environment variables for each server.
- Display Settings: Toggle the visibility of code blocks in chat messages.
To run this project, ensure you have Flutter SDK installed on your machine. Follow the guidelines.
-
Clone the repository:
git clone git@github.com:leehack/flutter-mcp-ai-chat.git cd flutter-mcp-ai-chat -
Install dependencies:
flutter pub get
-
Run the application:
flutter run