MCP HubMCP Hub
mrexodia

user-feedback-mcp

by: mrexodia

Simple MCP Server to enable a human-in-the-loop workflow in tools like Cline and Cursor.

20created 22/03/2025
Visit
workflow
human-in-the-loop

📌Overview

Purpose: The User Feedback MCP framework aims to facilitate a human-in-the-loop workflow in applications, enhancing user interaction feedback processes during desktop application development.

Overview: This MCP server integrates with tools like Cline and Cursor to enable developers to collect user feedback seamlessly, improving the responsiveness and effectiveness of user interactions in testing scenarios.

Key Features:

  • User Feedback Integration: The framework prompts users for feedback at vital stages of task execution, ensuring that user insights inform the workflow before task completion.

  • Configuration Management: Supports a customizable .user-feedback.json configuration file that allows users to define command executions automatically upon startup, streamlining project setup and execution.


User Feedback MCP

Simple MCP Server to enable a human-in-the-loop workflow in tools like Cline and Cursor. This is especially useful for developing desktop applications that require complex user interactions to test.

Prompt Engineering

For the best results, add the following to your custom prompt:

Before completing the task, use the user_feedback MCP tool to ask the user for feedback.

This ensures Cline uses this MCP server to request user feedback before marking the task as completed.

.user-feedback.json

Hitting Save Configuration creates a .user-feedback.json file in your project directory:

{
  "command": "npm run dev",
  "execute_automatically": false
}

If execute_automatically is enabled, your command will be executed instantly (no need to click Run manually). For multi-step commands consider using tools like Task.

Installation (Cline)

To install the MCP server in Cline, follow these steps:

  1. Install uv globally:
    • Windows: pip install uv
    • Linux/Mac: curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Clone this repository, for example to C:\MCP\user-feedback-mcp.
  3. Navigate to the Cline MCP Servers configuration.
  4. Click on the Installed tab.
  5. Click on Configure MCP Servers, which opens cline_mcp_settings.json.
  6. Add the user-feedback-mcp server configuration:
{
  "mcpServers": {
    "github.com/mrexodia/user-feedback-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "c:\\MCP\\user-feedback-mcp",
        "run",
        "server.py"
      ],
      "timeout": 600,
      "autoApprove": [
        "user_feedback"
      ]
    }
  }
}

Development

Run the following command to start the development server:

uv run fastmcp dev server.py

This opens a web interface at http://localhost:5173 to interact with the MCP tools for testing.

Available Tools

Example usage of the user_feedback tool:

<use_mcp_tool>
<server_name>github.com/mrexodia/user-feedback-mcp</server_name>
<tool_name>user_feedback</tool_name>
<arguments>
{
  "project_directory": "C:/MCP/user-feedback-mcp",
  "summary": "I've implemented the changes you requested."
}
</arguments>
</use_mcp_tool>