mcp-feedback-elicitation

trojanbox/mcp-feedback-elicitation

3.2

If you are the rightful owner of mcp-feedback-elicitation and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An interactive feedback elicitation server based on the Model Context Protocol (MCP).

MCP Feedback Elicitation Server

An interactive feedback elicitation server based on the Model Context Protocol (MCP). It uses the MCP Elicitation feature to replace traditional Web UI solutions, providing a standardized user feedback collection experience.

Project Background

  • šŸ¤– AI Generated: This project was generated by Claude Sonnet 4.
  • šŸ“š Implementation Reference: Implemented with reference to mcp-feedback-enhanced. For more powerful features, such as image uploads, session management, etc., please use the mcp-feedback-enhanced project.
  • šŸ”§ Technical Feature: Uses MCP Elicitation instead of a Web UI, requiring client support for the Elicitation feature.

Compatibility

Currently, VS Code 1.102+ supports the MCP Elicitation feature.

Quick Start

Add the following configuration to your mcp.json:

"mcp-feedback-elicitation": {
    "command": "npx",
    "args": [
        "mcp-feedback-elicitation"
    ],
    "timeout": 86400000,
    "autoApprove": [
        "interactive_feedback"
    ],
    "env": {
        "FEEDBACK_TEMPLATE": "=== User Feedback ===\n{{feedback}}", // Optional: Adjust the feedback message template
        "FEEDBACK_PROMPT": "Custom tool description for the AI assistant to understand its purpose and rules"  // Optional: Customize the tool prompt description
    }
}

Environment Variables

FEEDBACK_TEMPLATE

Controls the output format template for the feedback. Use {{feedback}} as a placeholder for the actual user feedback content.

Example Configuration:

"FEEDBACK_TEMPLATE": "šŸ“ Feedback Content: {{feedback}}\n\nāœ… Please handle the related matters promptly."

FEEDBACK_PROMPT

Customizes the tool's description, which the AI assistant uses to understand the tool's purpose and usage rules.

Multi-language Support Example:

// English Environment
"FEEDBACK_PROMPT": "Interactive feedback collection tool. Call this tool to collect user feedback during task execution. Must call repeatedly until user explicitly says 'end'."

// Chinese Environment
"FEEDBACK_PROMPT": "äŗ¤äŗ’å¼åé¦ˆę”¶é›†å·„å…·ć€‚åœØä»»åŠ”ę‰§č”Œčæ‡ēØ‹äø­č°ƒē”Øę­¤å·„å…·ę”¶é›†ē”Øęˆ·åé¦ˆć€‚åæ…é”»é‡å¤č°ƒē”Øē›“åˆ°ē”Øęˆ·ę˜Žē”®č”Øē¤ŗē»“ęŸć€‚"

// Japanese Environment
"FEEDBACK_PROMPT": "ć‚¤ćƒ³ć‚æćƒ©ć‚Æćƒ†ć‚£ćƒ–ćƒ•ć‚£ćƒ¼ćƒ‰ćƒćƒƒć‚ÆåŽé›†ćƒ„ćƒ¼ćƒ«ć€‚ć‚æć‚¹ć‚Æå®Ÿč”Œäø­ć«ć“ć®ćƒ„ćƒ¼ćƒ«ć‚’å‘¼ć³å‡ŗć—ć¦ćƒ¦ćƒ¼ć‚¶ćƒ¼ćƒ•ć‚£ćƒ¼ćƒ‰ćƒćƒƒć‚Æć‚’åŽé›†ć—ć¾ć™ć€‚ćƒ¦ćƒ¼ć‚¶ćƒ¼ćŒę˜Žē¢ŗć«ēµ‚äŗ†ć‚’ē¤ŗć™ć¾ć§ē¹°ć‚Ščæ”ć—å‘¼ć³å‡ŗć™åæ…č¦ćŒć‚ć‚Šć¾ć™ć€‚"

Contributing

Contributions are welcome! Please see the file for details on how to contribute to this project.

License

This project is licensed under the MIT License. See the file for details.

Disclaimer

This project was generated by an AI and has not undergone complete testing and optimization. Please assess the risks before using it. The author assumes no responsibility.