2025-05-31 06:53:35 +08:00
# Interactive Feedback MCP
2025-05-30 23:24:09 +08:00
2025-06-02 21:30:29 +08:00
**🌐 Language / 語言切換:** **English** | [繁體中文 ](README.zh-TW.md ) | [简体中文 ](README.zh-CN.md )
2025-05-30 23:24:09 +08:00
2025-05-31 07:50:50 +08:00
**Original Author:** [Fábio Ferreira ](https://x.com/fabiomlferreira ) | [Original Project ](https://github.com/noopstudios/interactive-feedback-mcp ) ⭐
2025-05-31 06:00:25 +08:00
**Enhanced Fork:** [Minidoracat ](https://github.com/Minidoracat )
2025-06-02 21:41:38 +08:00
**UI Design Reference:** [sanshao85/mcp-feedback-collector ](https://github.com/sanshao85/mcp-feedback-collector )
2025-05-31 06:53:35 +08:00
2025-06-02 21:41:38 +08:00
## 🎯 Core Concept
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
This is an [MCP server ](https://modelcontextprotocol.io/ ) that implements **human-in-the-loop** workflows in AI-assisted development tools. By guiding AI to confirm with users rather than making speculative operations, it can consolidate up to 25 tool calls into a single feedback-oriented request, dramatically reducing platform costs.
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
**Supported Platforms:** [Cursor ](https://www.cursor.com ) | [Cline ](https://cline.bot ) | [Windsurf ](https://windsurf.com )
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
### 🔄 Workflow
1. **AI Call** → `mcp-feedback-enhanced`
2. **Environment Detection** → Auto-select appropriate interface
3. **User Interaction** → Command execution, text feedback, image upload
4. **Feedback Delivery** → Information returns to AI
5. **Process Continuation** → Adjust or end based on feedback
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
## 🌟 Key Features
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
### 🖥️ Dual Interface System
2025-06-03 07:56:19 +08:00
- **Qt GUI**: Native experience for local environments, modular refactored design
- **Web UI**: Modern interface for remote SSH environments, brand new architecture
2025-06-02 21:41:38 +08:00
- **Smart Switching**: Auto-detect environment and choose optimal interface
2025-05-31 05:20:53 +08:00
2025-06-03 07:56:19 +08:00
### 🎨 Brand New Interface Design (v2.1.0)
- **Modular Architecture**: Both GUI and Web UI adopt modular design
- **Centralized Management**: Reorganized folder structure for easier maintenance
- **Modern Themes**: Improved visual design and user experience
- **Responsive Layout**: Adapts to different screen sizes and window dimensions
2025-06-02 21:41:38 +08:00
### 🖼️ Image Support
- **Format Support**: PNG, JPG, JPEG, GIF, BMP, WebP
- **Upload Methods**: Drag & drop files + clipboard paste (Ctrl+V)
- **Auto Processing**: Smart compression to ensure 1MB limit compliance
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
### 🌏 Multi-language
2025-06-03 07:56:19 +08:00
- **Three Languages**: English, Traditional Chinese, Simplified Chinese
2025-06-02 21:41:38 +08:00
- **Smart Detection**: Auto-select based on system language
- **Live Switching**: Change language directly within interface
2025-05-31 03:42:31 +08:00
2025-06-02 21:41:38 +08:00
## 🖥️ Interface Preview
2025-05-30 23:24:09 +08:00
2025-06-03 07:56:19 +08:00
### Qt GUI Interface (Refactored Version)
< div align = "center" >
< img src = "docs/images/en/gui1.png" width = "400" alt = "Qt GUI Main Interface" / >
< img src = "docs/images/en/gui2.png" width = "400" alt = "Qt GUI Settings Interface" / >
< / div >
*Qt GUI Interface - Modular refactoring, supporting local environments*
2025-05-30 23:24:09 +08:00
2025-06-03 07:56:19 +08:00
### Web UI Interface (Refactored Version)
< div align = "center" >
< img src = "docs/images/en/web1.png" width = "400" alt = "Web UI Main Interface" / >
< img src = "docs/images/en/web2.png" width = "400" alt = "Web UI Settings Interface" / >
< / div >
*Web UI Interface - Brand new architecture, suitable for SSH Remote environments*
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
**Keyboard Shortcuts**
- `Ctrl+Enter` : Submit feedback (supports both main keyboard and numpad)
- `Ctrl+V` : Directly paste clipboard images
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
## 🚀 Quick Start
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
### 1. Installation & Testing
```bash
# Install uv (if not already installed)
pip install uv
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
# Quick test
uvx mcp-feedback-enhanced@latest test
```
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
### 2. MCP Configuration
**Basic Configuration** (suitable for most users):
2025-05-30 23:24:09 +08:00
```json
{
"mcpServers": {
2025-05-31 03:42:31 +08:00
"mcp-feedback-enhanced": {
"command": "uvx",
2025-06-02 21:41:38 +08:00
"args": ["mcp-feedback-enhanced@latest "],
2025-05-31 03:42:31 +08:00
"timeout": 600,
2025-06-02 21:41:38 +08:00
"autoApprove": ["interactive_feedback"]
2025-05-31 03:42:31 +08:00
}
}
}
```
2025-06-02 21:41:38 +08:00
**Advanced Configuration** (custom environment needed):
2025-05-31 03:42:31 +08:00
```json
{
"mcpServers": {
"mcp-feedback-enhanced": {
2025-06-02 21:41:38 +08:00
"command": "uvx",
"args": ["mcp-feedback-enhanced@latest "],
2025-05-30 23:24:09 +08:00
"timeout": 600,
2025-05-31 02:03:00 +08:00
"env": {
2025-05-31 05:20:53 +08:00
"FORCE_WEB": "true",
"MCP_DEBUG": "false"
2025-05-31 02:03:00 +08:00
},
2025-06-02 21:41:38 +08:00
"autoApprove": ["interactive_feedback"]
2025-05-30 23:24:09 +08:00
}
}
}
```
2025-06-02 21:41:38 +08:00
### 3. Prompt Engineering Setup
For best results, add these rules to your AI assistant:
2025-06-02 21:30:29 +08:00
```
2025-06-02 21:41:38 +08:00
# MCP Interactive Feedback Rules
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
1. During any process, task, or conversation, whether asking, responding, or completing stage tasks, must call MCP mcp-feedback-enhanced.
2. When receiving user feedback, if feedback content is not empty, must call MCP mcp-feedback-enhanced again and adjust behavior based on feedback.
3. Only when user explicitly indicates "end" or "no more interaction needed" can you stop calling MCP mcp-feedback-enhanced, then the process is complete.
4. Unless receiving end command, all steps must repeatedly call MCP mcp-feedback-enhanced.
2025-06-02 21:30:29 +08:00
```
2025-06-02 21:41:38 +08:00
## ⚙️ Advanced Settings
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
### Environment Variables
| Variable | Purpose | Values | Default |
|----------|---------|--------|---------|
| `FORCE_WEB` | Force use Web UI | `true` /`false` | `false` |
| `MCP_DEBUG` | Debug mode | `true` /`false` | `false` |
| `INCLUDE_BASE64_DETAIL` | Full Base64 for images | `true` /`false` | `false` |
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
### Testing Options
2025-06-02 21:30:29 +08:00
```bash
2025-06-02 22:56:03 +08:00
# Version check
uvx mcp-feedback-enhanced@latest version # Check version
2025-06-02 21:41:38 +08:00
# Interface-specific testing
2025-06-03 00:27:25 +08:00
uvx mcp-feedback-enhanced@latest test --gui # Quick test Qt GUI
2025-06-03 07:56:19 +08:00
uvx mcp-feedback-enhanced@latest test --web # Test Web UI (auto continuous running)
2025-06-02 21:41:38 +08:00
# Debug mode
2025-06-02 21:30:29 +08:00
MCP_DEBUG=true uvx mcp-feedback-enhanced@latest test
```
2025-06-02 21:41:38 +08:00
### Developer Installation
```bash
git clone https://github.com/Minidoracat/mcp-feedback-enhanced.git
cd mcp-feedback-enhanced
uv sync
2025-06-03 00:27:25 +08:00
```
**Local Testing Methods**
```bash
# Method 1: Standard test (recommended)
2025-06-02 21:41:38 +08:00
uv run python -m mcp_feedback_enhanced test
2025-06-03 00:27:25 +08:00
2025-06-03 07:56:19 +08:00
# Method 2: Complete test suite (macOS and Windows dev environment)
2025-06-03 00:27:25 +08:00
uvx --with-editable . mcp-feedback-enhanced test
# Method 3: Interface-specific testing
uvx --with-editable . mcp-feedback-enhanced test --gui # Quick test Qt GUI
2025-06-03 07:56:19 +08:00
uvx --with-editable . mcp-feedback-enhanced test --web # Test Web UI (auto continuous running)
2025-06-02 21:30:29 +08:00
```
2025-06-03 00:27:25 +08:00
**Testing Descriptions**
- **Standard Test**: Complete functionality check, suitable for daily development verification
- **Complete Test**: Deep testing of all components, suitable for pre-release verification
- **Qt GUI Test**: Quick launch and test of local graphical interface
- **Web UI Test**: Start Web server and keep running for complete Web functionality testing
2025-06-02 21:41:38 +08:00
## 🆕 Version Highlights
2025-06-02 21:30:29 +08:00
2025-06-03 12:45:46 +08:00
### v2.1.1 (Window Positioning Optimization)
- 🖥️ **Smart Window Positioning** : Added "Always show window at primary screen center" setting option
- 🌐 **Multi-Monitor Support** : Perfect solution for complex multi-monitor setups like T-shaped screen arrangements
- 💾 **Position Memory** : Auto-save and restore window position with intelligent visibility detection
- ⚙️ **User Choice** : Provides smart positioning (default) and forced center display modes
2025-06-03 07:56:19 +08:00
### v2.1.0 (Latest Refactored Version)
- 🎨 **Complete Refactoring** : GUI and Web UI adopt modular architecture
- 📁 **Centralized Management** : Reorganized folder structure, improved maintainability
- 🖥️ **Interface Optimization** : Modern design and improved user experience
- 🍎 **macOS Interface Optimization** : Specialized improvements for macOS user experience
- ⚙️ **Feature Enhancement** : New settings options and auto-close page functionality
- 🌐 **Language Switching** : Fixed Web UI content update issues when switching languages
- ℹ ️ **About Page** : Added about page with version info, project links, and acknowledgments
### v2.0.14
2025-06-02 21:41:38 +08:00
- ⌨️ Enhanced Shortcuts: Ctrl+Enter supports numpad
- 🖼️ Smart Image Pasting: Ctrl+V directly pastes clipboard images
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
### v2.0.9
- 🌏 Multi-language architecture refactor with dynamic loading
- 📁 Modularized language file organization
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
### v2.0.3
- 🛡️ Complete fix for Chinese character encoding issues
- 🔧 Resolved JSON parsing errors
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
### v2.0.0
- ✅ Added Web UI support for remote environments
- ✅ Auto environment detection and interface selection
- ✅ WebSocket real-time communication
2025-06-02 21:30:29 +08:00
2025-06-02 21:41:38 +08:00
## 🐛 Common Issues
2025-05-31 05:20:53 +08:00
2025-05-31 06:00:25 +08:00
**Q: Getting "Unexpected token 'D'" error**
2025-06-02 21:41:38 +08:00
A: Debug output interference. Set `MCP_DEBUG=false` or remove the environment variable.
2025-05-31 05:20:53 +08:00
2025-06-02 21:41:38 +08:00
**Q: Chinese character garbled text**
A: Fixed in v2.0.3. Update to latest version: `uvx mcp-feedback-enhanced@latest`
2025-05-30 23:24:09 +08:00
2025-05-31 06:00:25 +08:00
**Q: Image upload fails**
2025-06-02 21:41:38 +08:00
A: Check file size (≤1MB) and format (PNG/JPG/GIF/BMP/WebP).
2025-05-31 03:42:31 +08:00
2025-05-31 06:00:25 +08:00
**Q: Web UI won't start**
2025-06-02 21:41:38 +08:00
A: Set `FORCE_WEB=true` or check firewall settings.
2025-06-02 21:30:29 +08:00
2025-06-03 08:02:35 +08:00
**Q: Gemini Pro 2.5 cannot parse images**
A: Known issue. Gemini Pro 2.5 may not correctly parse uploaded image content. Testing shows Claude-4-Sonnet can properly analyze images. Recommend using Claude models for better image understanding capabilities.
2025-06-03 12:45:46 +08:00
**Q: Multi-screen window positioning issues**
A: Fixed in v2.1.1. Go to "⚙️ Settings" tab, check "Always show window at primary screen center" to resolve window positioning issues. Especially useful for T-shaped screen arrangements and other complex multi-monitor configurations.
2025-06-02 21:41:38 +08:00
## 🙏 Acknowledgments
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
### 🌟 Support Original Author
2025-05-30 23:24:09 +08:00
**Fábio Ferreira** - [X @fabiomlferreira ](https://x.com/fabiomlferreira )
2025-06-02 21:41:38 +08:00
**Original Project:** [noopstudios/interactive-feedback-mcp ](https://github.com/noopstudios/interactive-feedback-mcp )
2025-05-31 07:50:50 +08:00
2025-06-02 21:41:38 +08:00
If you find this useful, please:
- ⭐ [Star the original project ](https://github.com/noopstudios/interactive-feedback-mcp )
- 📱 [Follow the original author ](https://x.com/fabiomlferreira )
2025-05-30 23:24:09 +08:00
2025-06-02 21:41:38 +08:00
### Design Inspiration
2025-06-03 07:56:19 +08:00
**sanshao85** - [mcp-feedback-collector ](https://github.com/sanshao85/mcp-feedback-collector )