MCP ExplorerExplorer

Ask Mcp

@fruktoguoon 15 days ago
1 MIT
FreeCommunity
AI Systems
Ask-MCP is an interactive tool for AI to dynamically ask users questions during conversations.

Overview

What is Ask Mcp

Ask-MCP is a tool that allows AI to dynamically ask users questions during conversations, enhancing interaction and engagement.

Use cases

Use cases include gathering user feedback, conducting surveys, educational quizzes, and enhancing AI conversations with real-time user interaction.

How to use

To use Ask-MCP, install the required dependencies, run the component tests, and utilize the ask_user_question tool to send questions to users in XML format.

Key features

Key features include a user-friendly graphical interface, support for both Q&A and multiple-choice questions, asynchronous processing, and a modern macOS-style design.

Where to use

Ask-MCP can be used in various fields such as customer support, surveys, educational applications, and any interactive AI-driven platforms requiring user input.

Content

🎯 Ask-MCP - AI交互式问答工具

Python
License
MCP
PyQt5

一个允许AI在对话中动态询问用户问题的现代化MCP工具


📋 项目简介

Ask-MCP 是一个基于 Model Context Protocol (MCP) 的交互式问答工具,它允许AI助手在对话过程中通过美观的图形界面向用户提出问题并获取回答。

🚀 快速开始

1. 下载项目

# 从GitHub下载项目
git clone https://github.com/your-username/ask-mcp.git
cd ask-mcp

2. 运行安装脚本

# Windows用户直接双击运行
第一次使用时运行.bat

3. 配置MCP服务器

安装脚本会生成 mcp.json 配置文件,将其内容合并到以下位置:

Cursor IDE:

  • 配置文件位置: %APPDATA%\Cursor\User\globalStorage\cursor.workbench\mcp.json

Claude Desktop:

  • 配置文件位置: %APPDATA%\Claude\claude_desktop_config.json

将生成的配置内容添加到现有的 mcpServers 部分即可。

4. 测试界面

# 测试现代化UI界面
python testUI.py

📖 使用示例

AI使用方式

AI可以通过调用 ask_user_question 工具来向用户提问:

问答题示例

<question type="qa">
  <title>项目反馈</title>
  <content>请分享您对这个功能的使用体验</content>
</question>

选择题示例

<question type="choice">
  <title>技术偏好</title>
  <content>请选择您偏好的编程语言:</content>
  <options>
    <option value="python">Python</option>
    <option value="javascript">JavaScript</option>
    <option value="rust">Rust</option>
  </options>
</question>

🏗️ 项目结构

ask-mcp/
├── 📄 README.md                 # 项目说明文档
├── 📄 requirements.txt          # Python依赖列表
├── 🔧 第一次使用时运行.bat      # 一键安装脚本
├── 🚀 fastmcp_server.py        # MCP服务器主程序
├── 🎨 ui_handler.py            # 现代化UI界面处理
├── 📝 question_parser.py       # XML问题解析器
└── 🧪 testUI.py               # UI功能测试

📄 许可证

本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。


如果这个项目对您有帮助,请给我一个 ⭐ Star!

Tools

No tools

Comments