返回 MCP 目录
public公开dns本地运行

MCP用户反馈服务器

简单的MCP服务器,用于在Cline和Cursor等工具中实现人工介入的工作流程。这对于开发需要复杂用户交互来测试的桌面应用程序尤其有用。

article

README

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.

Screenshot showing the feedback UI

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 will ensure 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 that looks like this:

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

This configuration will be loaded on startup and if execute_automatically is enabled your command will be instantly executed (you will not have to click Run manually). For multi-step commands you should use something like Task.

Installation (Cline)

To install the MCP server in Cline, follow these steps (see screenshot):

Screenshot showing installation 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 this example C:\MCP\user-feedback-mcp.
  3. Navigate to the Cline MCP Servers configuration (see screenshot).
  4. Click on the Installed tab.
  5. Click on Configure MCP Servers, which will open cline_mcp_settings.json.
  6. Add the user-feedback-mcp server:
{
  "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

uv run fastmcp dev server.py

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

Available tools

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

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端