Ask Question MCP App
Provides an interactive user interface for asking questions with support for text inputs, single/multi-select options, and confirmation dialogs. It allows LLMs to gather structured input or feedback from users through a set of predefined input types.
README
Ask Question MCP App
An MCP App that provides an interactive UI for asking questions with various input types.
Features
- Text Input: Free-form text area for open-ended questions
- Single Select: Choose one option from a list
- Multi-Select: Choose multiple options with checkboxes
- Confirm: Simple Yes/No confirmation dialog
Installation
npm install
npm run build
Usage
The MCP server exposes a single tool ask_question with the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
question |
string | Yes | The question to display |
inputType |
enum | Yes | text, select, multiselect, or confirm |
options |
array | No | Options for select/multiselect (each with value, label, optional description) |
placeholder |
string | No | Placeholder text for text input |
Examples
Text Input:
{
"question": "What feature would you like to implement?",
"inputType": "text",
"placeholder": "Describe the feature..."
}
Single Select:
{
"question": "Which framework do you prefer?",
"inputType": "select",
"options": [
{
"value": "react",
"label": "React",
"description": "A JavaScript library for building user interfaces"
},
{
"value": "vue",
"label": "Vue",
"description": "The progressive JavaScript framework"
},
{
"value": "svelte",
"label": "Svelte",
"description": "Cybernetically enhanced web apps"
}
]
}
Multi-Select:
{
"question": "Select the features to include:",
"inputType": "multiselect",
"options": [
{ "value": "auth", "label": "Authentication" },
{ "value": "db", "label": "Database" },
{ "value": "api", "label": "REST API" },
{ "value": "tests", "label": "Unit Tests" }
]
}
Confirmation:
{
"question": "Do you want to proceed with the deployment?",
"inputType": "confirm"
}
VS Code Configuration
Add to your .vscode/mcp.json:
{
"servers": {
"ask-question-mcp": {
"type": "stdio",
"command": "node",
"args": ["/path/to/ask-question-mcp/dist/index.js"]
}
}
}
Development
npm run watch
License
MIT
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
E2B
Using MCP to run code via e2b.