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.