PromptUI MCP server

Build and ship apps from your AI agent

PromptUI exposes its builder over the Model Context Protocol. Connect once and your agent gets four tools: build_app (prompt → working app), get_build_status (progress + a shareable preview link), deploy_app (live URL), and list_builds. Builds and deploys charge your PromptUI credits — the same pricing as building in the browser.

1. Get your API key

Sign in and copy your pui_ key from Dashboard → Settings. The key acts as your account: anything an agent builds or deploys with it uses your credits and shows up in your dashboard.

2. Connect your client

Claude Code

claude mcp add --transport http promptui https://www.promptui.co/api/mcp \
  --header "Authorization: Bearer pui_YOUR_KEY"

Codex CLI

Add to ~/.codex/config.toml (via the mcp-remote shim for remote servers):

[mcp_servers.promptui]
command = "npx"
args = ["-y", "mcp-remote", "https://www.promptui.co/api/mcp", "--header", "Authorization: Bearer pui_YOUR_KEY"]

Cursor

Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

{
  "mcpServers": {
    "promptui": {
      "type": "http",
      "url": "https://www.promptui.co/api/mcp",
      "headers": { "Authorization": "Bearer pui_YOUR_KEY" }
    }
  }
}

claude.ai and ChatGPT connectors: not yet — those require an OAuth sign-in flow we haven't shipped. The API-key clients above work today.

3. Use it

"Build me a booking page for a yoga studio, then deploy it."

→ build_app { prompt: "a booking page for a yoga studio" }
→ get_build_status { buildId } … status: completed, previewUrl
→ deploy_app { buildId } → live URL

If the planner needs a clarification, get_build_status returns a link to answer it in the browser — the build resumes where it paused. Repos you export from PromptUI include this setup pre-wired: an AGENTS.md and .mcp.json so your agent can keep iterating on the app.

Pricing & limits

A full app build is typically 35–75 credits; an edit 5–25. Deploys are charged per the standard deploy pricing (each app's first deploy is charged; same-app redeploys are free). Rate limits apply per key. See pricing for plans.