NU

nazar256/user-prompt-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

21 stars 3 forks 품질 58 트렌드 0MIT

A Model Context Protocol (MCP) Server for Cursor는 생성 중 사용자 입력을 요청할 수 있도록 합니다

개요

커서의 모델 Context Protocol (MCP) 서버는 생성 중 사용자 입력을 요청할 수 있습니다. 이것은 주로 AI-generated 부호입니다. 이 프로젝트는 Cursor (또는 MCP 호환 클라이언트)를 허용하는 MCP 서버를 구현하여 생성 프로세스를 종료하지 않고 모델 생성시 추가 입력을 요청합니다. 그것은 AI 모델과 사용자 사이의 다리 역할을, 더 대화 형 경험을 만드는. - : AI가 생성하는 동안 더 많은 정보를 요청할 수 있도록 허용합니다. : 텍스트 포장과 대화 상자에서 입력 프롬프트를 제시합니다. : Linux (tested) 및 macOS 모두에서 작동해야 함 - : stdio를 통해 커서와 통합 - GUI 기능 : - Linux : zenity - macOS : osascript (붙박이) user-prompt-mcp를 설치하는 가장 쉬운 방법은 우리의 설치 스크립트를 사용하여, 이는 자동으로 시스템에 적합한 바이너리를 다운로드: 설치 스크립트는 : - OS 및 아키텍처를 감지 (Linux 또는 macOS, amd64 또는 arm64) - 적절한 사전 컴파일을 다운로드 ...

개요(AI 번역)

커서의 모델 Context Protocol (MCP) 서버는 생성 중 사용자 입력을 요청할 수 있습니다. 이것은 주로 AI-generated 부호입니다.

개요

이 프로젝트는 Cursor (또는 MCP 호환 클라이언트)를 허용하는 MCP 서버를 구현하여 생성 프로세스를 종료하지 않고 모델 생성시 추가 입력을 요청합니다. 그것은 AI 모델과 사용자 사이의 다리 역할을, 더 대화 형 경험을 만드는.

특징

-User Input Prompting: AI가 생성하는 동안 더 많은 정보를 요청할 수 있음

  • ** 간단한 GUI**: 텍스트 래핑을 가진 대화 상자에서 입력 프롬프트를 선물합니다.
  • Cross-Platform: Linux(tested) 및 macOS 모두에서 작업해야 합니다.
  • ** 교통 **: stdio를 통해 Cursor와 통합

설치

# 필수품

  • GUI 기능을 위해:
  • 리눅스: 젠티
  • macOS: osascript(건축)

빠른 설치 (추천)

user-prompt-mcp를 설치하는 가장 쉬운 방법은 우리의 설치 스크립트를 사용하여, 이는 자동으로 시스템에 적합한 바이너리를 다운로드:

설치 스크립트는:

  • OS 및 아키텍처를 감지 (Linux 또는 macOS, amd64 또는 arm64)
  • 적절한 pre-compiled 바이너리를 다운로드

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

User Prompt MCP

A Model Context Protocol (MCP) server for Cursor that enables requesting user input during generation. This is mostly AI-generated code.

Overview

This project implements an MCP server that allows Cursor (or any MCP-compatible client) to request additional input from users during model generation without ending the generation process. It serves as a bridge between the AI model and the user, creating a more interactive experience.

Features

  • User Input Prompting: Allows the AI to ask for more information during generation
  • Simple GUI: Presents input prompts in a dialog box with text wrapping
  • Cross-Platform: Should work on both Linux (tested) and macOS
  • Stdio Transport: Integration with Cursor via stdio

Installation

Prerequisites

  • For GUI functionality:
    • Linux: zenity
    • macOS: osascript (built-in)

The easiest way to install user-prompt-mcp is using our installation script, which automatically downloads the appropriate binary for your system:

# Install the latest version
curl -sSL https://raw.githubusercontent.com/nazar256/user-prompt-mcp/main/install.sh | bash

# Or install a specific version
curl -sSL https://raw.githubusercontent.com/nazar256/user-prompt-mcp/main/install.sh | bash -s -- -v v1.0.0

The installation script will:

  • Detect your OS and architecture (Linux or macOS, amd64 or arm64)
  • Download the appropriate pre-compiled binary
  • Install it to a suitable directory in your PATH
  • Make it executable

Install from source

If you prefer to build from source (requires Go 1.18+):

go install github.com/nazar256/user-prompt-mcp/cmd/user-prompt-mcp@latest

Manual Installation

You can also download pre-compiled binaries directly from the Releases page.

Usage with Cursor

  1. Open Cursor and go to Settings
  2. Navigate to the MCP Servers section and add a new server by editing JSON:
{
  "mcpServers": {
    "prompt": {
      "command": "user-prompt-mcp"
    }
  }
}
  1. Save and refresh

  2. Add to global rules something like: “Important - do not finish responding until explicitly told to do so, instead always use MCP input_user_prompt and wait for response in all cases, either you feel stuck, you have question or you finished work on a prompt - always communicate with the user using this MCP.”

Configuration

The server can be configured using command-line flags or environment variables:

Timeout Configuration

By default, the server will wait 20 minutes for user input before timing out. You can customize this timeout using:

  • Command line flag: --timeout
    user-prompt-mcp --timeout 600  # Set timeout to 10 minutes
    
  • Environment variable: USER_PROMPT_TIMEOUT=
    export USER_PROMPT_TIMEOUT=1800  # Set timeout to 30 minutes
    user-prompt-mcp
    
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "prompt": { "command": "user-prompt-mcp" } } }