mrexodia_user_feedback_mcp

mrexodia_user_feedback_mcp

by mrexodia
An MCP server enabling human-in-the-loop workflows for tools like Cline and Cursor.

Human-in-the-Loop MCP Server for Cline and Cursor

Overview

The Human-in-the-Loop MCP Server is a simple yet powerful tool designed to enable a human-in-the-loop workflow in applications like Cline and Cursor. This server is particularly useful for developing desktop applications that require complex user interactions for testing and validation.

Feedback UI Screenshot

Features

  • Human-in-the-Loop Workflow: Ensures user feedback is integrated into the task completion process.
  • Customizable Configuration: Automates command execution based on user preferences.
  • Integration with Cline and Cursor: Seamlessly integrates with popular development tools.

Installation (Cline)

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

Cline Installation Screenshot

  1. Install UV:
  2. Windows: pip install uv
  3. Linux/Mac: curl -LsSf https://astral.sh/uv/install.sh | sh

  4. Clone the Repository:
    shell git clone https://github.com/mrexodia/user-feedback-mcp.git

  5. Configure MCP Servers in Cline:

  6. Navigate to the Cline MCP Servers configuration.
  7. Add the following configuration to cline_mcp_settings.json:
    json { "mcpServers": { "github.com/mrexodia/user-feedback-mcp": { "command": "uv", "args": [ "--directory", "c:\\MCP\\user-feedback-mcp", "run", "server.py" ], "timeout": 600, "autoApprove": [ "user_feedback" ] } } }

Configuration

The server creates a .user-feedback.json file in your project directory upon saving the configuration. Here's an example of the configuration file:

{
  "command": "npm run dev",
  "execute_automatically": false
}
  • command: The command to be executed.
  • execute_automatically: If enabled, the command will be executed automatically without manual intervention.

Usage

Prompt Engineering

For optimal results, include the following in your custom prompt:

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

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

Development

To run the server in development mode:

uv run fastmcp dev server.py

This will open a web interface at http://localhost:5173 for testing and interaction with the MCP tools.

Available Tools

The server provides the following tool for user feedback:

<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>

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

Resources

Features & Capabilities

Categories
mcp_server model_context_protocol python cline cursor feedback_ui api_integration

Implementation Details

Stats

0 Views
9 GitHub Stars

Repository Info

mrexodia Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300