Implore MCP

Implore MCP

Enables AI assistants to request human input through interactive GUI dialogs with quiz-style questions, supporting multiple choice and free-form responses for clarification, decisions, and knowledge extraction.

Category
Visit Server

README

Implore MCP

MCP to Implore the Human Intelligence

A Model Context Protocol (MCP) server that provides a quiz-style tool to request input from humans via GUI dialogs. This tool allows AI assistants to "implore" human users for clarification, decisions, or knowledge extraction through an interactive visual interface.

Inspired by the Interactive Feedback MCP pattern.

Features

  • Quiz-Style Interface: Display multiple questions in a single, scrollable dialog
  • Multiple Question Types:
    • Multiple choice (radio buttons with automatic "Other..." option including text input)
    • Free-form text input
  • Process Isolation: GUI runs in a separate subprocess to avoid blocking the MCP server
  • Structured Responses: Get organized answers mapped to question IDs
  • FastMCP Integration: Built on FastMCP for easy MCP server implementation
  • Cross-Platform: Works on Windows, macOS, and Linux

Architecture

The tool uses a decoupled architecture:

  • server.py: MCP server that handles tool requests and launches the GUI subprocess
  • implore_ui.py: Separate GUI process that displays quiz dialogs and communicates results via temporary files
  • Communication via temporary JSON files ensures the main server process remains responsive

Installation

  1. Clone or download this repository:
git clone <repository-url>
cd implore-mcp
  1. Install dependencies using uv:
uv sync

Or install directly:

uv pip install fastmcp>=2.0.0 psutil>=7.0.0 pyside6>=6.8.2.1

Usage

Running the Server

Start the MCP server:

uv run server.py

Or using Python directly:

python server.py

Configuring in MCP Clients

Add to your MCP client configuration (e.g., Claude Desktop, Cline):

Using uv:

{
  "mcpServers": {
    "implore": {
      "command": "uv",
      "args": ["run", "C:/path/to/implore-mcp/server.py"]
    }
  }
}

Using Python directly:

{
  "mcpServers": {
    "implore": {
      "command": "python",
      "args": ["C:/path/to/implore-mcp/server.py"]
    }
  }
}

Using the Tool

Once configured, the AI assistant can use the implore tool to request input from you:

Example 1: Single Free-Form Question

Tool: implore
Arguments: {
  "questions": [
    {
      "text": "What is your preferred color scheme?",
      "type": "free_form"
    }
  ]
}
Result: {
  "success": true,
  "answers": {
    "q1": "Dark mode"
  }
}

Example 2: Multiple Choice Question

Tool: implore
Arguments: {
  "questions": [
    {
      "id": "framework",
      "text": "Which web framework should we use?",
      "type": "multiple_choice",
      "options": ["React", "Vue", "Angular", "Svelte"]
    }
  ],
  "title": "Framework Selection"
}
Result: {
  "success": true,
  "answers": {
    "framework": "React"
  }
}

Example 3: Mixed Question Types

Tool: implore
Arguments: {
  "questions": [
    {
      "id": "deployment",
      "text": "Where should we deploy the application?",
      "type": "multiple_choice",
      "options": ["AWS", "Azure", "Google Cloud", "On-Premise"]
    },
    {
      "id": "timeline",
      "text": "What is your preferred timeline?",
      "type": "free_form"
    },
    {
      "id": "budget",
      "text": "What is your budget range?",
      "type": "multiple_choice",
      "options": ["Under $100", "$100-$500", "$500-$1000", "Over $1000"]
    },
    {
      "id": "additional",
      "text": "Any additional requirements or concerns?",
      "type": "free_form"
    }
  ],
  "title": "Project Planning Questions"
}
Result: {
  "success": true,
  "answers": {
    "deployment": "AWS",
    "timeline": "2-3 months",
    "budget": "$500-$1000",
    "additional": "Need to support mobile devices"
  }
}

Tool Reference

implore

Displays a quiz-style GUI dialog to request input from the user. The dialog runs in a separate process and can handle multiple questions of different types.

Parameters:

  • questions (list, required): Array of question objects for quiz-style interface
  • title (str, optional): The title of the dialog window. Default: "Human Input Requested"

Question Object Structure:

Each question in the list should have:

  • text (str, required): The question text to display
  • type (str, required): Either "multiple_choice" or "free_form"
  • For "multiple_choice", an automatic "Other..." option with free-text input is always included after the provided options.
  • options (list, optional): List of option strings (required for multiple_choice)
  • id (str, optional): Unique identifier (auto-generated as "q1", "q2", etc. if not provided)

Returns:

Dictionary with structured response:

  • Success: {"success": True, "answers": {question_id: answer, ...}}
  • Cancelled: {"success": False, "cancelled": True}
  • Error: {"success": False, "error": "error message"}

Notes:

  • Multiple choice questions that aren't answered will have null value
  • Free-form questions that aren't answered will have empty string value
  • Prefer using comprehensive multiple choice options for most questions to guide responses, reserving free-form for simple copy-paste values or easily answered open questions. The automatic "Other..." option in multiple choice provides flexibility for additional input.

Use Cases

The implore tool is perfect for:

  1. Requirement Clarification: Ask users to clarify ambiguous requirements
  2. Design Decisions: Get user preferences on architecture or design choices
  3. Configuration Selection: Let users choose from predefined configuration options
  4. Knowledge Extraction: Extract implicit knowledge from users through targeted questions
  5. Progress Checkpoints: Confirm decisions before proceeding with major changes
  6. Feature Prioritization: Ask users to prioritize features or tasks
  7. Error Resolution: When multiple solutions exist, ask user which approach to take

Dependencies

  • fastmcp (>=2.0.0): FastMCP framework for building MCP servers
  • psutil (>=7.0.0): System and process utilities
  • pyside6 (>=6.8.2.1): Qt for Python - GUI framework

License

[Add your license here]

Contributing

[Add contribution guidelines here]

Credits

Developed with inspiration from the Interactive Feedback MCP pattern.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured