Ask Question MCP App

Provides an interactive MCP tool to ask questions with multiple input types and collect responses.
  • javascript

0

GitHub Stars

javascript

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "imranbarbhuiya-mcp-apps": {
      "command": "node",
      "args": [
        "/path/to/ask-question-mcp/dist/index.js"
      ]
    }
  }
}

You run an interactive MCP server that exposes a single tool called ask_question. This server lets you pose questions to users through multiple input types, collect their responses, and integrate those responses into your workflows or prompts. It is useful for guiding user input, collecting feature requests, or confirming choices in a controlled, structured way.

How to use

You interact with this MCP server using an MCP client. The client discovers the available tool named ask_question and presents its configured input type to the user. You can choose from text input, single select, multi-select, or a confirmation prompt. The client then returns the user’s response in a structured format that your workflow can process.

How to install

Prerequisites: ensure you have Node.js and npm installed on your system.

Install dependencies and build the MCP app with these commands:

npm install
npm run build

Configuration and runtime notes

To run the MCP server locally, use the stdio configuration shown for the MCP client. This starts the local server by executing the build output.

{
  "servers": {
    "ask-question-mcp": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/ask-question-mcp/dist/index.js"]
    }
  }
}

Examples of how the tool works

Here are representative usage scenarios you can implement with the ask_question tool. Each example shows the question prompt and the input type, followed by the possible options when applicable.

{
  "question": "What feature would you like to implement?",
  "inputType": "text",
  "placeholder": "Describe the feature..."
}
{
  "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"}
  ]
}
{
  "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" }
  ]
}
{
  "question": "Do you want to proceed with the deployment?",
  "inputType": "confirm"
}

Available tools

ask_question

Exposes a single tool that prompts users with a question and collects a response. Supported input types include text, select, multiselect, and confirm. Parameters include question (string), inputType (enum), options (array for select types), and placeholder (string for text input).

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational