Integrations

MCP server

Use PromptFloe as a tool inside Claude Desktop, Claude Code, or any MCP-compatible client. Describe an app and PromptFloe generates production-ready source files — no browser tab required.

Generate full apps

Describe your app in plain English — PromptFloe builds and returns complete source files.

Edit existing apps

Diff-aware editing. Only changed files are rewritten, so edits are fast and precise.

Deploy instantly

One tool call deploys to Vercel, Netlify, Cloudflare, or GitHub from inside the chat.

Choose your tier

fast (15 s), standard (60–90 s), or pro (90–180 s, best models). Pass it with every call.

#Quick setup

1

Get your API key

Open /settings/apiGenerate key. Copy the pf_... token.

2

Edit claude_desktop_config.json

Open the Claude Desktop config file:
• macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
• Windows: %APPDATA%\Claude\claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "promptfloe": {
      "command": "npx",
      "args": ["-y", "@promptfloe/mcp-server"],
      "env": {
        "PROMPTFLOE_API_KEY": "pf_your_key_here"
      }
    }
  }
}
3

Restart Claude Desktop

Quit and reopen Claude Desktop. The PromptFloe icon appears in the toolbar — you're connected.

#Tools reference

Six tools are available once connected. Every tool returns structured JSON.

FieldTypeDescription
generate_appprompt, tier?, template_id?, wait_for_completion?Run the full PromptFloe pipeline. Returns all source files when complete.
get_generation_statusapp_idPoll an ongoing generation. Returns status + files when complete.
edit_appapp_id, prompt, tier?, wait_for_completion?Diff-aware edit — only rewritten files are returned.
get_app_filesapp_id, paths?Retrieve source files. Filter to specific paths or get all.
deploy_appapp_id, platform, project_name?Deploy to vercel | netlify | cloudflare | github.
list_appslimit?, cursor?List your generated apps with live status.

Model tiers

FieldTypeDescription
fast~15 sFastest tier. Simple edits, copy changes, colour tweaks.
standard60–90 sFull multi-page apps. Default.
pro90–180 sMaximum quality. Complex apps, best design, most accurate code.

#Built-in prompt templates

Type /mcp in your AI client and select a PromptFloe prompt template to pre-fill the conversation with the right parameters.

FieldTypeDescription
build_saas_appproduct_name, core_feature, target_user?, style?Scaffold landing page + auth + dashboard + billing. Tier: pro.
build_dashboarddomain, metrics, data_source?Analytics dashboard with KPI cards, charts, and data tables.
add_featureapp_id, feature, details?Add a specific feature to an existing app without breaking anything.
improve_ui_qualityapp_id, style_reference?Upgrade visual design — spacing, color tokens, interactions, empty states.

#Custom prompt examples

You don't need templates — just describe the app naturally. These examples show the kind of prompts that produce great results.

SaaS starter

Example prompt
Build a SaaS app called "Trackr" for freelancers to log billable hours.

Features:
- Time tracker with start/stop button and notes field
- Weekly summary table: client, hours, rate, total
- Invoice generator (PDF download placeholder)
- Auth with email + Google OAuth
- Dark mode by default

Tech: Next.js 14 + TypeScript + shadcn/ui + Tailwind. Tier: pro.

E-commerce product page

Example prompt
Build a product detail page for a headphone brand.

- Hero: large image gallery with thumbnail strip (use Unsplash headphone photos)
- Sticky purchase panel: variant selector (color/size), price, add-to-cart button
- Specs table, reviews section (3 mock reviews), related products grid
- Mobile-first, clean white design

Single React page. No routing needed. Tier: standard.

Internal tool / admin panel

Example prompt
Build an order management dashboard for a small e-commerce team.

Data: mock array of 20 orders (id, customer, product, status, date, amount).

Panels:
1. KPI row: total revenue, orders today, avg order value, pending count
2. Orders table: sortable by date/amount, filterable by status, row click = drawer with details
3. Status donut chart (Recharts)
4. Top customers list (top 5 by spend)

Sidebar nav: Orders | Customers | Reports | Settings (stubs).
Dark theme. Tier: standard.

#MCP resources (file browser)

Generated files are exposed as MCP resources — browse them without a tool call:

text
app:///<app_id>                        # app metadata
app:///<app_id>/files/src/App.tsx      # individual file
app:///<app_id>/files/package.json     # any path

In Claude Desktop, click the paperclip → Resources to browse your apps.

#Getting your API key

  1. Sign in to PromptFloe and go to /settings/api.
  2. Click Generate API key.
  3. Copy the key — it's only shown once.
  4. Paste it as PROMPTFLOE_API_KEY in your MCP config.

You can create multiple keys (e.g. one per device) and revoke them individually from the same settings page.

PromptFloe docs · last updated Jun 2026Report a doc issue