prompt-gui-mcp

prompt-gui-mcp

Enables AI coding agents to request user input through customizable desktop forms, returning structured data.

Category
访问服务器

README

prompt-gui-mcp

prompt-gui-mcp lets AI coding agents ask for your input through beautiful, interactive GUI forms instead of plain text prompts.

Instead of forcing an agent to guess, stall, or ask you in chat, the agent can call an MCP tool that opens a macOS desktop prompt. You answer in the app, and the result goes back to the agent as structured data.

For example, send this prompt to your agent:

Use prompt-gui-mcp to show me a form with questions that will help you recommend a travel destination.
Ask about my preferences, travel season, budget, trip style, and any other details you need.

opens a desktop form like this:

<img src="docs/assets/prompt-form-travel-example.png" alt="Travel preference prompt form" width="320">

flowchart LR
  Agent["AI coding agent"] -->|Calls prompt-form| MCP["prompt-gui-mcp"]
  MCP -->|Opens GUI form| App["Desktop app"]
  App -->|Shows prompt| User["You"]
  User -->|Submits answers| App
  App -->|Returns structured data| MCP
  MCP -->|Tool result| Agent

What It Does

  • Shows flexible forms generated from an MCP tool call.
  • Agents can compose forms with elements such as text, textarea, radio, select, checkbox-list, markdown, and image fields.
  • Returns the user's validated answers to the calling agent.
  • Keeps the prompt in a small always-on-top desktop window.
  • Includes a follow-up wait tool so agents can continue waiting when a prompt takes longer than their normal tool timeout.

The current MCP tools are:

Tool Purpose
prompt-form Show a structured form and return submitted values plus optional feedback.
wait-for-prompt Continue waiting for a pending prompt by UUID.

Download

Only the macOS app is packaged right now.

  1. Open the GitHub Releases page.
  2. Download the latest macOS .dmg or .zip asset.
  3. Install and launch prompt-gui-mcp.
  4. Keep the app running while your coding agent uses the MCP server.

The mac app starts the local backend sidecar automatically. By default, the MCP endpoint is:

http://127.0.0.1:43118/mcp

Set Up Your Coding Agent

Configure any MCP client that supports Streamable HTTP to connect to the local server:

{
  "mcpServers": {
    "prompt-gui-mcp": {
      "url": "http://127.0.0.1:43118/mcp"
    }
  }
}

Then restart the agent or reload its MCP servers. The desktop app must be running before the agent calls prompt-form.

Some agents use a TOML-style MCP config instead:

[mcp_servers.prompt-gui-mcp]
url = "http://127.0.0.1:43118/mcp"

After setup, ask the agent to use prompt-gui-mcp when it needs your input. For example:

Use prompt-gui-mcp to show me a form before choosing the deployment strategy. Ask for the target environment, risk tolerance, rollback preference, and approval notes.

Build And Run The Packaged App

Requirements:

  • Node.js 22+
  • pnpm 10+
  • Rust toolchain
  • Xcode Command Line Tools on macOS

Install dependencies:

pnpm install

Build the packaged desktop app:

pnpm --filter desktop tauri:build

Open the generated app bundle:

open apps/desktop/src-tauri/target/release/bundle/macos/prompt-gui-mcp.app

The .app, .dmg, and .zip outputs are written under:

apps/desktop/src-tauri/target/release/bundle/

Development Checks

pnpm --filter backend check
pnpm --filter desktop check
pnpm simulate

pnpm simulate starts the desktop app and sends a sample MCP tool call so you can test the full prompt flow.

Architecture

Coding agent -> MCP HTTP endpoint -> backend queue -> desktop app -> human
                                                 ^                    |
                                                 |--------------------|
  • apps/backend is the Node.js MCP server and local HTTP API.
  • apps/desktop is the Svelte frontend and Tauri v2 macOS shell.
  • The backend listens on 127.0.0.1:43118 unless I_AM_MCP_SERVER_PORT is set.
  • The desktop app reads backend state over local HTTP/SSE and submits completed form results back to the backend.

Repository

apps/backend   MCP server, task queue, local HTTP/SSE API
apps/desktop   Svelte UI and Tauri desktop shell
docs           Design notes, packaging notes, and README assets

Contributions are welcome. Keep changes focused, run the checks above, and open a pull request with a clear description.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选