Feedback Web
БесплатноНе проверенProvides a web-based interactive feedback server for MCP, replacing desktop GUI with a browser interface supporting full CJK input and bilingual UI.
Описание
Provides a web-based interactive feedback server for MCP, replacing desktop GUI with a browser interface supporting full CJK input and bilingual UI.
README
A web-based Interactive Feedback server for MCP (Model Context Protocol), designed for headless Linux servers. Replaces the desktop GUI (PySide6) approach with a browser-based interface that supports full CJK input and bilingual UI (English/Chinese).
Why This Project?
The original interactive-feedback-mcp uses PySide6 (Qt) to display a desktop feedback dialog. This doesn't work on headless Linux servers, and even with X11 forwarding, the Windows input method (IME) cannot be used in the forwarded window.
mcp-feedback-nodesktop solves this by serving the feedback UI as a web page. The browser on your local machine handles everything — including Chinese/Japanese/Korean input — natively.
Architecture
┌───────────────────────────────────────────────────────────────┐
│ Linux Server (headless) │
│ │
│ ┌──────────────┐ HTTP (127.0.0.1) ┌──────────────────┐ │
│ │ server.py │ ───────────────────> │ web_feedback.py │ │
│ │ (MCP Server)│ │ (Web Server) │ │
│ │ stdio │ <─────────────────── │ port 8765 │ │
│ └──────┬───────┘ feedback result └────────┬─────────┘ │
│ │ │ │
│ │ stdin/stdout │ HTTP │
└─────────┼────────────────────────────────────────┼────────────┘
│ │
│ SSH tunnel │ LAN
│ │
┌─────────┼────────────────────────────────────────┼────────────┐
│ ▼ Local Machine (Windows/Mac) ▼ │
│ ┌──────────────┐ ┌────────────────────┐ │
│ │ Cursor IDE │ │ Browser │ │
│ │ │ │ http://IP:8765 │ │
│ └──────────────┘ │ Full IME support │ │
│ └────────────────────┘ │
└───────────────────────────────────────────────────────────────┘
How It Works
- Cursor IDE invokes
server.pyon the Linux server via SSH (MCP stdio transport) - When AI requests user feedback,
server.pylaunchesweb_feedback.pyin client mode - The client sends a feedback request to the Web Server (port 8765) via HTTP API
- The browser receives the request via long polling and displays a feedback form
- User types feedback in the browser (with full native IME support) and submits
- The Web Server returns the result to the client, which writes it to a temp file
server.pyreads the result and returns it to Cursor
Quick Start
Docker (Recommended)
docker compose up -d
docker compose ps # STATUS should show "healthy"
The container uses restart: unless-stopped, so it will automatically start after system reboot (as long as Docker is enabled).
Manual Installation
python3 -m venv .venv
.venv/bin/pip install fastmcp pydantic
.venv/bin/python web_feedback.py --server
systemd Service
Create /etc/systemd/system/mcp-web-feedback.service:
[Unit]
Description=MCP Web Feedback Server
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/path/to/mcp-feedback-nodesktop
ExecStart=/path/to/mcp-feedback-nodesktop/.venv/bin/python web_feedback.py --server
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable --now mcp-web-feedback
Usage
1. Start the Web Server
Deploy using any method above. Verify:
curl http://127.0.0.1:8765/api/status
# {"status": "running"}
2. Open the Browser (Important!)
Navigate to http://<server-ip>:8765 on your local machine.
You must keep this browser tab open at all times. The page will automatically receive new feedback requests via long polling — no manual refresh needed. When a new request arrives, the tab title will flash and a browser notification will appear (if permitted).
Note: The web server cannot automatically open a browser on your local machine. You need to open the URL manually once. After that, just keep the tab open.
3. Configure Cursor MCP
Add to your Cursor MCP configuration (.cursor/mcp.json).
For Docker deployment on the same machine:
{
"mcpServers": {
"interactive-feedback": {
"command": "docker",
"args": ["exec", "-i", "mcp-web-feedback", "python", "server.py"],
"timeout": 600,
"autoApprove": ["interactive_feedback"]
}
}
}
For remote access via SSH (e.g., from a Windows machine):
{
"mcpServers": {
"interactive-feedback": {
"command": "ssh",
"args": [
"your-server",
"docker exec -i mcp-web-feedback python server.py"
],
"timeout": 600,
"autoApprove": ["interactive_feedback"]
}
}
}
Tip: The
-iflag indocker exec -iis required to keep stdin open for MCP stdio transport.
4. Features
- Bilingual UI (English/Chinese) with auto language detection and manual switch
- Tab title flashes when a new request arrives
- Browser notification support (requires permission)
- Enter to submit, Shift+Enter for newline
- "No feedback" button for quick empty submission
- Page automatically returns to waiting state after submission
web_feedback.py Dual Mode
# Server mode: start the persistent web server
python web_feedback.py --server
# Client mode: send a request and wait for response
python web_feedback.py \
--project-directory /path/to/project \
--prompt "Please provide feedback" \
--output-file /tmp/result.json
In client mode, if no server is detected, it automatically starts one as a daemon.
API Reference
| Method | Path | Description |
|---|---|---|
| GET | / |
Feedback page (HTML) |
| GET | /api/status |
Health check |
| GET | /api/poll |
Long poll for new requests (30s timeout) |
| POST | /api/request |
Create a new feedback request |
| POST | /api/submit |
Submit feedback |
| POST | /api/get_response |
Block until feedback is submitted (300s timeout) |
File Structure
| File | Purpose |
|---|---|
server.py |
MCP server, communicates with Cursor via stdio |
web_feedback.py |
Web feedback server + client (dual mode) |
Dockerfile |
Docker image build file |
docker-compose.yml |
Docker Compose configuration |
Troubleshooting
| Issue | Solution |
|---|---|
| Browser can't load page | Check firewall rules for port 8765 |
| Client connection timeout | Use 127.0.0.1 instead of localhost (IPv6 issue) |
| Docker health check fails | Run docker logs mcp-web-feedback |
| Feedback page unresponsive | Refresh the browser tab or restart the service |
Credits
Based on interactive-feedback-mcp by Fábio Ferreira (MIT License). Modified to use a web-based UI instead of PySide6 desktop GUI.
Установка Feedback Web
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/0xffff87/mcp-feedback-nodesktopFAQ
Feedback Web MCP бесплатный?
Да, Feedback Web MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Feedback Web?
Нет, Feedback Web работает без API-ключей и переменных окружения.
Feedback Web — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Feedback Web в Claude Desktop, Claude Code или Cursor?
Открой Feedback Web на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
автор: passerbyflutterdannote/figma-use
Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.
автор: dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
автор: NOVA-3951PIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
автор: jangjo123Compare Feedback Web with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории design
