loading…
Search for a command to run...
loading…
Provides an interactive user interface for asking questions with support for text inputs, single/multi-select options, and confirmation dialogs. It allows LLMs
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.
An MCP App that provides an interactive UI for asking questions with various input types.
npm install
npm run build
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 |
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"
}
Add to your .vscode/mcp.json:
{
"servers": {
"ask-question-mcp": {
"type": "stdio",
"command": "node",
"args": ["/path/to/ask-question-mcp/dist/index.js"]
}
}
}
npm run watch
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"ask-question-mcp-app": {
"command": "npx",
"args": []
}
}
}