
User Prompt
io.github.Jacob-J-ThomasPublished by GitHub account Jacob-J-Thomasv1.0.2Updated Oct 24, 2026
An MCP server that enables AI agents to ask users clarifying questions via pop-up terminal windows.
Overview
Lets an AI agent pause mid-task and ask the user clarifying questions through a pop-up terminal window, returning the typed answers.
- What you can do
- Exposes a single tool, user_prompt, that an agent can call during execution. The server opens a new terminal window showing the agent's stated reason and a numbered list of questions, then returns the user's typed answers as formatted Q&A pairs. It supports multiple questions per call, a 10-minute response window, and detection of a window closed without answers, in which case the agent gets a fallback message.
- When to use it
- Useful for long-running or agentic workflows that hit ambiguous requirements, unexpected errors, or design decisions with several valid paths, where the agent would otherwise guess or stall. It gives the agent a way to request human input without leaving its own I/O channel.
- Requirements
- Runs locally over stdio; the MCP client launches the process. Windows needs PowerShell 5.1+ (included in Windows 10/11); macOS and Linux are untested and need PowerShell Core (pwsh). Pre-built releases have no other dependencies; the .NET Global Tool and source build need the .NET 8.0 SDK or later. No accounts, API keys, or environment variables are declared.
Installation
In SourceWeft
- Open User Prompt in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
User Prompt MCP Server
mcp-name: io.github.Jacob-J-Thomas/user-prompt
A Model Context Protocol (MCP) server that gives AI agents the ability to ask users clarifying questions mid-task via a pop-up terminal window. Built with .NET 8 and C#.
The Problem
Long-running AI agents (like Claude Code, IDE copilots, or custom agentic workflows) often encounter situations where they need human input — ambiguous requirements, unexpected errors, or design decisions that could go multiple ways. Without a mechanism to ask, the agent either guesses (often incorrectly) or stops entirely and waits for the user to notice.
The Solution
This MCP server exposes a single tool, user_prompt, that an AI agent can call at any point during execution. When invoked, a new terminal window opens on the user's machine displaying the agent's questions. The user types their answers and the responses are returned directly to the agent, allowing it to continue working with the additional context.
Features
- Pop-up terminal prompt — questions appear in a dedicated window, separate from the agent's own I/O
- Multi-question support — the agent can ask multiple questions in a single call; all are displayed upfront as a numbered list
- Structured responses — answers are returned as clearly formatted Q&A pairs the agent can parse
- Timeout handling — 10-minute response window with graceful fallback messaging
- Window-closed detection — if the user closes the prompt without answering, the agent receives a clear notification
- Stdio transport — communicates over stdin/stdout per the MCP specification, compatible with any MCP client
Prerequisites
- Windows: PowerShell 5.1+ (included with Windows 10/11)
- macOS/Linux (untested): PowerShell Core (
pwsh) must be installed
Note: Pre-built releases have no other dependencies. The .NET Global Tool and Build from Source options require the .NET 8.0 SDK or later.
Quick Start
Pick one of the three install options below. Each option walks you through installation, client configuration, and updates end-to-end.
Option A: GitHub Releases
Self-contained executables — no .NET SDK required.
1. Download
Grab the zip for your platform from the latest release:
2. Extract
Unzip to a permanent location, for example:
- Windows:
C:\Tools\UserPromptMcpServer\ - macOS / Linux:
~/tools/UserPromptMcpServer/
3. Configure your MCP client
Claude Code (CLI):
Other clients — point the command at the executable (see Client Configuration Reference for full examples):
Updating: download the new release and replace the files in the same folder.
Option B: .NET Global Tool
Requires the .NET 8.0 SDK or later. The tool is added to your PATH automatically.
1. Install
2. Configure your MCP client
Claude Code (CLI):
Other clients — the command name is user-prompt (see Client Configuration Reference for full examples):
Updating:
Option C: Build from Source
Requires the .NET 8.0 SDK or later.
Replace
win-x64with your platform's runtime identifier (e.g.osx-arm64,linux-x64).
Then configure your client the same way as Option A, pointing at the executable inside ./publish/.
Client Configuration Reference
This server uses the stdio transport — it does not listen on a port. The MCP client launches the server process and communicates with it over stdin/stdout. Replace the command/path below with the value from whichever install option you chose.
Claude Desktop
Add the following to your claude_desktop_config.json:
Config file location:
Cursor
Add the following to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
OpenAI Codex CLI
Add the following to ~/.codex/config.toml (global) or .codex/config.toml (project-level):
Or via the CLI:
Other MCP Clients
Any MCP client that supports the stdio transport can launch this server. Point it at the executable (or the user-prompt command name if using the .NET Global Tool).
Usage
Once configured, the user_prompt tool is available to the AI agent automatically. The agent decides when to invoke it based on its own judgment — no manual triggering is required.
Tool Reference
Tool name: user_prompt
Example Tool Call
Example Response
Terminal Window Behavior
When the tool is invoked, a new PowerShell window opens displaying:
- A header indicating an AI agent needs input
- The agent's stated reason for asking
- All questions as a numbered list
- Numbered input prompts (
1>,2>, etc.) — one Enter per answer - A confirmation message before the window auto-closes
If the user does not respond within 10 minutes, or closes the window without answering, the agent receives a descriptive fallback message and can decide how to proceed.
Architecture
How It Works Internally
- The MCP client sends a
tools/callJSON-RPC request over stdin - The server writes the questions to a temporary JSON file
- A PowerShell script is generated and launched in a new terminal window
- The user sees the questions and types answers sequentially
- Answers are written to a response JSON file; the terminal closes
- The server reads the response file, formats it, cleans up temp files, and returns the result over stdout
All temporary files are created under %TEMP%/UserPromptMcpServer/<session-guid>/ and are cleaned up after each invocation regardless of outcome.
Contributing
Contributions are welcome! To make sure your change gets merged, please open an issue first to discuss the proposed change and get approval before starting work.
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes and ensure the project builds cleanly (
dotnet build) - Commit with a clear, descriptive message
- Open a pull request against
develop
Development Setup
Areas for Contribution
- Cross-platform support — the macOS and Linux terminal launching is currently stubbed out and untested
- Test coverage — no test project exists yet
- Additional MCP tools — if the project scope expands beyond a single tool
License
This project is licensed under the Apache License 2.0. See LICENSE for details.
Author
Jacob Thomas — @Jacob-J-Thomas
Source: README.md at commit 94897c8
Tools
0Version history
1- v1.0.2LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.