SuperAPI AI Directory

user-prompt-mcp

user-prompt-mcp is a Model Context Protocol (MCP) server for Cursor that requests additional input from the user during model generation without having to end the generation process. It acts as a bridge between the AI model and the user, allowing the AI to interact with the user through a popup dialog when it has questions, needs more information, or completes a stage of work. The project provides a simple graphical interface with text wrapping support, integrates with Cursor via stdio, and runs on Linux (tested) and macOS. Installation options include a recommended one-click install script, building from source (requires Go 1.18+), and manually downloading precompiled binaries from the Releases page. Users can add the server as JSON in Cursor's MCP Servers settings and guide the AI to use the tool through global rules. The default timeout for waiting for user input is 20 minutes, adjustable via command-line arguments or environment variables.

Open website

About this tool

Purpose: user-prompt-mcp is a Model Context Protocol (MCP) server primarily aimed at Cursor, and also suitable for other MCP-compatible clients. Its goal is to request additional user input during model generation without ending the current generation process, thereby creating a more interactive experience between the AI model and the user.

Key capabilities: supports the AI proactively asking the user questions and obtaining more information during generation; provides a simple GUI that displays input prompts in a dialog with text wrapping support; cross-platform, designed to run on Linux (tested) and macOS; integrates with Cursor via stdio transport. GUI functionality depends on system components: zenity on Linux and the built-in osascript on macOS.

Usage: the recommended approach is to install quickly using the install script, which detects the operating system and architecture (Linux or macOS, amd64 or arm64), downloads the corresponding precompiled binary, installs it to a suitable directory in PATH, and grants executable permissions. It can also be built from source, requiring Go 1.18+; or precompiled binaries can be downloaded directly from the Releases page and installed manually. In Cursor, open Settings, go to the MCP Servers section, add a new server by editing the JSON, then save and refresh. You can also add a note to the global rules guiding the AI to always use the MCP's input_user_prompt to communicate with the user when it is stuck, has questions, or completes work, rather than ending the response directly. The server can be configured via command-line flags or environment variables; by default it times out after waiting 20 minutes for user input, customizable with --timeout <seconds> or USER_PROMPT_TIMEOUT=<seconds>.

Use cases: suitable for interactive generation tasks in MCP-compatible clients such as Cursor that require multiple rounds of clarification, letting the AI confirm information with the user, supplement context, or report stage progress mid-generation.

Limitations: the project description notes that the code is primarily AI-generated; Linux is tested, while macOS is "should work"; the GUI depends on zenity (Linux) or osascript (macOS); there is a default 20-minute input timeout; other platforms and more detailed functional boundaries are not yet provided.