Skip to main content
Glama
Prowpt MCP Server

Prowpt MCP Server

Official
by prowptai

Prowpt.ai MCP Server

MCP (Model Context Protocol) server that lets AI agents create, edit, and publish web apps on Prowpt.ai.

Setup

1. Get an API key

Go to prowpt.ai/settings → API Keys → Create a new key with the scopes you need.

2. Install

pip install prowpt-mcp-server
# or
pipx install prowpt-mcp-server

3. Configure your AI tool

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "prowpt": {
      "command": "prowpt-mcp",
      "env": {
        "PROWPT_API_KEY": "pk_live_your_key_here"
      }
    }
  }
}

Claude Code:

export PROWPT_API_KEY="pk_live_your_key_here"
prowpt-mcp

Environment variables:

Variable

Required

Default

Description

PROWPT_API_KEY

Yes (stdio only)

—

Your Prowpt API key

PROWPT_API_URL

No

https://api.prowpt.ai

API base URL

Related MCP server: AppsAI MCP Server

Transports

The server supports two transports:

stdio (default)

Used by local IDEs like Cursor and Claude Code. The CLI authenticates with the PROWPT_API_KEY environment variable and speaks MCP over stdin/stdout.

prowpt-mcp                    # reads PROWPT_API_KEY from env
prowpt-mcp --api-key pk_...   # or pass explicitly

Streamable HTTP (remote)

Used by public connectors (Claude.ai custom servers, ChatGPT Apps, etc.). The server listens on an HTTP endpoint at /mcp; every request must carry an Authorization: Bearer <token> header. The token is either a Prowpt API key (pk_live_...) or — once the Prowpt OAuth AS is live — a JWT issued by https://prowpt.ai/oauth/*. Tokens are forwarded verbatim to the Prowpt REST API, which owns all scope/rate-limit enforcement.

pip install "prowpt-mcp-server[http]"
prowpt-mcp --transport http --bind 0.0.0.0:8001

Useful flags:

Flag

Description

--transport http

Run the HTTP transport (default: stdio)

--bind HOST:PORT

Listen address (default: 0.0.0.0:8001)

--stateful

Use session-state mode (default: stateless)

--json-response

Return plain JSON instead of SSE streams

--no-auth

Disable bearer-token auth (local debugging only)

--api-url URL

Prowpt REST API base URL

The server also exposes GET /healthz for liveness probes. Unauthenticated requests return 401 with a WWW-Authenticate: Bearer challenge pointing at the OAuth protected-resource metadata URL, so MCP clients can auto-discover the authorisation server.

OAuth-issued tokens (used by Claude.ai and ChatGPT directory connectors) are short-lived JWTs backed by an api_keys row with origin='oauth'. Each connector key carries a default rate limit of 20 requests per minute and a 25-credit per-UTC-day spend cap for credit-consuming actions (send_prompt, /api/generate/*). Users can revoke any connection from Settings → API Keys in the Prowpt web app.

Getting Started

After installation, the recommended first step for any code-generation task is to fetch the project context:

get_project_context(project_id=123)

This returns the full conventions, available record types, templates, i18n state, enabled packages, and subscription info for the project — everything the agent needs to write correct, Prowpt-compliant code.

The server also exposes two static resources that agents can read at any time:

Resource URI

Description

prowpt://docs/quickstart

Quick-start guide with tool summaries

prowpt://docs/code-guidelines

Comprehensive code conventions: PROJECT_CONFIG shape, auth patterns, i18n, records API, routing rules, component templates, and best practices

Available Tools

Project Management

  • list_projects — List all projects

  • get_project — Get project details

  • get_project_context — Get full project context for writing correct code (stack, conventions, record types, templates, i18n state)

  • create_project — Create a new app

  • update_project — Update project settings

  • delete_project — Delete a project

  • clone_project — Clone a project

  • publish_project — Publish to live

  • deploy_project — Deploy to hosting

Source Code

  • list_source_files — List files in a project

  • read_source_file — Read a file's content

  • write_source_files — Write/update files

  • get_preview_url — Get preview URL

  • get_source_versions — Version history

  • restore_source_version — Restore a version

AI Assistant (uses Prowpt credits)

  • send_prompt — Send instruction to Prowpt AI. Transport-aware: on stdio (Cursor / Claude Code) it blocks up to 5 minutes and returns the final result; on HTTP (remote connectors with short tool-call timeouts) it returns {run_id, status: "queued"} immediately and the caller polls get_assistant_status(project_id, run_id=...) until the run terminates.

  • accept_preview — Accept AI changes

  • get_assistant_status — Check generation status. Pass run_id to poll a specific async run (HTTP flow); omit it to fetch the latest active run for the project (stdio flow).

Records & Data

  • list_record_types / create_record_type / update_record_type

  • list_records / create_record / update_record / delete_record

Workflows

  • list_workflows / create_workflow / update_workflow / delete_workflow

  • execute_workflow / get_workflow_executions

Packages / Dependencies

  • list_catalog — Browse all available npm packages in the platform catalog

  • list_project_packages — List packages enabled for a project (with update info)

  • add_package — Enable a catalog package for a project

  • remove_package — Remove a package from a project

Assets

  • list_assets / upload_asset / delete_asset

Translations

  • get_translations / update_translations

Email Templates

  • list_email_templates — List all templates (system + custom)

  • get_email_template — Get a template by slug (full HTML body + variables)

  • upsert_email_template — Create or update a template

  • delete_email_template — Delete a custom template

  • preview_email_template — Render a preview with sample variables

  • send_test_email — Send a test email to a given address

  • seed_email_templates — Seed factory defaults

  • reset_system_templates — Reset system templates to defaults

Payments (Stripe Connect)

  • connect_stripe — Start Stripe Connect onboarding for a project

  • get_stripe_status — Check Stripe connection status

  • disconnect_stripe — Remove Stripe Connect link

Billing

  • get_usage / get_credits / purchase_credit_pack / get_account_info

Development

cd prowpt-mcp-server
pip install -e .
prowpt-mcp --api-key pk_live_test_key --api-url http://localhost:8000

License

MIT

Available Tools

59 tools
accept_previewC

Accept pending AI-generated changes

Inputs: project_id (required), preview_token (required).

add_packageA

Add a catalog package to a project's dependencies. The package must exist in the platform catalog.

Inputs: project_id (required), package_name (required).

clone_projectA

Clone an existing project. Provide a new name; slug is auto-generated if omitted.

Inputs: project_id (required), name, slug.

connect_stripeA

Start Stripe Connect onboarding for a project (returns onboarding URL). Requires Starter+ tier.

Inputs: project_id (required), return_url (required).

create_projectB

Create a new web app project

Inputs: name (required), description.

create_recordD

Create a new record

Inputs: project_id (required), record_type_slug (required), fields (required).

create_record_typeA

Create a new record type with field definitions. Each field needs {name, type}; label is auto-generated from name if omitted. select/multiselect options: use a plain string array (e.g. ["Small","Medium","Large"]); {label,value} objects are also accepted and auto-normalized. user_scope='profile' for one-per-user data (upsert /me/profile-records/) or 'collection' for many-per-user (CRUD with Bearer).

Inputs: project_id (required), name (required), slug (required), fields (required), +5 more.

create_workflowB

Create a workflow. Trigger types: form_submit, button_click, cron, chat_message, webhook (inbound HTTP), stripe_event. IMPORTANT node structure: each node needs type='action' (or 'condition'/'loop') with the specific action inside action.type. Example node: {"id": "n1", "type": "action", "action": {"type": "send_email", "config": {"to": "...", "subject": "...", "body": "..."}}, "next_node_id": null}. Action types: send_email, http_request, llm_chat, save_record, fetch_data, send_whatsapp, redirect, forward_to_human, send_reply. Node outputs propagate via {{nodes..body}}.

Inputs: project_id (required), name (required), definition (required).

delete_assetC

Delete an asset

Inputs: project_id (required), filename (required).

delete_email_templateB

Delete a custom email template. System templates cannot be deleted.

Inputs: project_id (required), slug (required).

delete_projectC

Delete a project permanently

Inputs: project_id (required).

delete_recordD

Delete a record

Inputs: project_id (required), record_type_slug (required), record_id (required).

delete_workflowD

Delete a workflow

Inputs: workflow_id (required).

deploy_projectC

Deploy project to hosting

Inputs: project_id (required).

discard_draft_changesC

Discard unpublished draft changes

Inputs: project_id (required).

disconnect_stripeC

Remove the Stripe Connect link from a project

Inputs: project_id (required).

execute_workflowC

Execute a workflow with trigger data

Inputs: workflow_id (required), trigger_data.

export_projectC

Export project as JSON backup

Inputs: project_id (required).

get_account_infoA

Get current user account info, tier, and limits

Inputs: no named parameters.

get_assistant_statusA

Check the status of an assistant generation run. If run_id is provided, looks up that specific run (use this after a send_prompt over HTTP). Otherwise returns the latest unacknowledged run for the project.

Inputs: project_id (required), run_id.

get_creditsB

Get current credit balance

Inputs: no named parameters.

get_deploymentsC

Get deployment history for a project

Inputs: project_id (required).

get_email_templateB

Get a specific email template by slug, including full HTML body and variables schema

Inputs: project_id (required), slug (required).

get_preview_urlC

Build a preview bundle and return the URL

Inputs: project_id (required).

get_projectA

Get detailed information about a specific project

Inputs: project_id (required).

get_project_contextA

IMPORTANT: Call this BEFORE writing code for a project. Returns full conventions, patterns, record types, templates, packages, and rules that the generated code MUST follow.

Inputs: project_id (required), include_sources.

get_publish_statusC

Get current publish/deploy status

Inputs: project_id (required).

get_source_versionsB

List source version history

Inputs: project_id (required).

get_stripe_statusB

Check whether a project has a connected Stripe account

Inputs: project_id (required).

get_translationsC

Get all translations for a project

Inputs: project_id (required).

get_usageA

Get current usage (credits, projects, workflows, domains)

Inputs: no named parameters.

get_workflow_executionsC

Get execution history for a workflow

Inputs: workflow_id (required).

list_assetsC

List project assets (images, files)

Inputs: project_id (required).

list_catalogA

List all npm packages available in the platform catalog (not project-specific)

Inputs: no named parameters.

list_email_templatesA

List all email templates for a project (system and custom)

Inputs: project_id (required).

list_project_packagesC

List npm packages enabled for a project, with version info and update availability

Inputs: project_id (required).

list_projectsA

List all projects owned by the authenticated user

Inputs: no named parameters.

list_recordsC

List records of a specific type

Inputs: project_id (required), record_type_slug (required).

list_record_typesB

List all record types for a project

Inputs: project_id (required).

list_source_filesC

List all source file paths in a project

Inputs: project_id (required).

list_workflowsC

List all workflows for a project

Inputs: project_id (required).

preview_email_templateA

Render a preview of an email template with optional sample context variables

Inputs: project_id (required), slug (required), context.

publish_projectB

Publish the current draft to live (makes the app accessible via subdomain)

Inputs: project_id (required).

purchase_credit_packA

Purchase credits (returns Stripe checkout URL). Minimum 5 credits.

Inputs: credits.

read_source_fileC

Read the content of a specific source file

Inputs: project_id (required), file_path (required).

remove_packageA

Remove a package from a project's dependencies. Core packages (react, react-dom, etc.) cannot be removed.

Inputs: project_id (required), package_name (required).

reset_system_templatesB

Reset all system email templates to their factory defaults (overwrites customisations)

Inputs: project_id (required).

restore_source_versionC

Restore project source to a previous version

Inputs: project_id (required), version_id (required).

seed_email_templatesA

Seed default email templates for a project (inserts factory defaults, skips existing slugs)

Inputs: project_id (required).

send_promptA

Send a natural-language prompt to the Prowpt AI assistant to modify the app (uses Prowpt AI credits). Over stdio (Cursor/Claude Code) this blocks until completion (up to 5 minutes). Over HTTP (Claude.ai/ChatGPT connectors) it returns a run_id immediately; poll get_assistant_status(run_id=...) until status is 'completed' or 'failed'.

Inputs: project_id (required), prompt (required), auto_accept.

send_test_emailB

Send a test email using a template to a specified address

Inputs: project_id (required), slug (required), to_email (required), context.

update_projectC

Update project name, description, or settings

Inputs: project_id (required), name, description.

update_recordC

Update an existing record

Inputs: project_id (required), record_type_slug (required), record_id (required), fields (required).

update_record_typeC

Update a record type's name, slug, fields, or other settings

Inputs: project_id (required), record_type_id (required), name, slug, +6 more.

update_translationsC

Update translations for a locale

Inputs: project_id (required), locale (required), translations (required).

update_workflowC

Update a workflow's name, definition, or enabled status

Inputs: workflow_id (required), name, definition.

upload_assetC

Upload an asset to a project

Inputs: project_id (required), filename (required), content_base64 (required), content_type.

upsert_email_templateA

Create or update an email template. For new templates 'name' is required. System templates only allow editing subject, body_html, body_text, and variables_schema.

Inputs: project_id (required), slug (required), name, category, +4 more.

write_source_filesB

Write or update one or more source files

Inputs: project_id (required), files (required), entry_point.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 59 tools

    Disambiguation5/5

    Each tool targets a distinct resource or action, with clear CRUD coverage for major entities (projects, records, workflows, email templates, source files). No overlapping purposes; even similar tools like preview_email_template and send_test_email are clearly differentiated.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., create_project, list_workflows, upload_asset). The verbs are descriptive and appropriate, and there is no mixing of naming conventions.

    Tool Count2/5

    With 59 tools, the server is significantly above the typical well-scoped range (3-15). While the platform's feature set justifies many tools, this large number can overwhelm agents and suggests potential for consolidation or clearer grouping.

    Completeness4/5

    The tool set covers nearly all major operations for project management, records, workflows, email templates, source files, assets, Stripe, and more. Minor gaps exist (e.g., no explicit translation deletion), but the coverage is thorough for the domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers