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 dayong@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.