Pugi

v1.0.1
io.pugi/pugi Checked 4 hours ago Published 9 days ago

Your AI product team: build websites and web apps, design logos, check security, publish.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_balance Get credit balance

Use this when the person asks about their Pugi plan, credit or what they spent today. Free and read-only.

scan_url Check a website for security issues

Use this when the person wants a public website checked for security problems, for example "is my site secure?" or "check example.com". Free and read-only: HTTPS, security headers, cookie flags and exposed keys, with a grade from A+ to F and how to fix each finding. Not a pentest. Not for private or local addresses or for code repositories (scan_repo).

ParameterTypeDescription
url *stringThe public address to check, for example https://example.com
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".

publish_status Get publish status

Use this when the person asks which of their Pugi sites are live and at what address.

ParameterTypeDescription
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".
project_idstringOptional project id.

my_sites List my sites

Use this when the person refers to a site or app they built earlier (in this chat or another one) and its project_id is needed, for example to publish it. It also shows whether a site already exists before a new build. Free and read-only.

scan_repo Check a GitHub repository for security issues

Use this when the person wants a public GitHub repository checked for leaked secrets, vulnerable or malicious dependencies and risky code. No code is run. 3 free checks a day per account, then $1 when the check finishes; a failed check costs nothing. Not for websites (scan_url) or private repositories.

ParameterTypeDescription
idempotency_key *stringA unique string naming this check. The same key collects the result or retries the check, and is charged once.
repo_url *stringA public GitHub repository, for example https://github.com/owner/repo
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".
refstringOptional branch name. Default: the repository's default branch.

build_app Build a web app

Use this when the person wants something people use: upload a photo, generate or transform pictures with AI, accounts or sign-in, saved data, a tool, a calculator, a game, bookings, a dashboard. It builds an app, not a landing page. An app that makes pictures with AI asks for the owner's own image-AI key and shows no fake results. brief is the customer's request in the customer's own words, with only the features they asked for (no sign-up, accounts, subscriptions or payments they did not name). When it is built Pugi checks it for security issues, and publish waits for that check. An app that…

ParameterTypeDescription
brief *stringThe app to build, in the customer's own words.
idempotency_key *stringA unique string naming this build. Reuse it only to retry the same call; it is never charged twice.
brandHandoffIdstringBrandHandoff from logo.pugi.io.
brief_confirmedbooleanTrue only after the person has seen the summary and agreed. In a chat, without it nothing starts and the summary comes back.
brief_versionstringWith brief_confirmed: the version of the summary the person agreed to, as returned with that summary.
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".
localestringSite language (legacy alias for site_language).
logo_idstringSelected logo_id returned by make_logo.
max_usdnumberThe most this build may cost in USD (default 5).
pickstringConsole gallery starter slug.
site_languagestringLanguage for the app content; independent of the chat card language.
themestringConsole theme slug.
without_logobooleanTrue only when the person said this site should not use the logo they picked.

build_site Build a website

Use this when the person wants a marketing website for a business, for example "a site for my bakery". Something people use (upload a photo, AI pictures, sign-in, a tool, a game) is an app, made with build_app. brief is the customer's request in the customer's own words, with only the features they asked for (no sign-up, accounts, subscriptions or payments they did not name). The first call starts nothing and returns a summary; its action.arguments start the build once the person agrees. In hosts that render the build card (MCP Apps or ChatGPT widget) the card tracks progress; in hosts without…

ParameterTypeDescription
brief *stringThe customer's request in their own words: what the site is for and any pages, texts, colours or style they named, with only the features they asked for.
idempotency_key *stringA unique string naming this job. The same key returns the same job and is never charged twice.
as_sitebooleanTrue only when Pugi said this sounds like an app (app_suggested) and the person chose a marketing website anyway.
brandHandoffIdstringBrandHandoff from logo.pugi.io.
brief_confirmedbooleanTrue only after the person has seen the summary and agreed. In a chat, without it nothing starts and the summary comes back.
brief_versionstringWith brief_confirmed: the version of the summary the person agreed to, as returned with that summary.
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".
localestringSite language (legacy alias for site_language).
logo_idstringSelected logo_id returned by make_logo.
max_usdnumberThe run ceiling in USD; plan builds are included in the subscription. For credit builds, the most this build may cost. Default 5. Credit accounts pay actual cost, usually less.
pickstringConsole gallery starter slug.
site_languagestringLanguage for the website content; independent of the chat card language.
themestringConsole theme slug.
without_logobooleanTrue only when the person said this site should not use the logo they picked.

edit Change a site Pugi built

Use this when the person asks to change a Pugi website or app from this conversation: "change the headline", "make the buttons green", "add a menu page". instruction is the change in the customer's own words, with only what they asked for. job_id or project_id comes from the last build result. It starts no new site or app. In hosts that render the build card (MCP Apps or ChatGPT widget) the card tracks progress; in hosts without one (Claude Code or API) job_status reports it until the job is finished, stopped or failed.

ParameterTypeDescription
idempotency_key *stringA unique string naming this job. The same key returns the same job and is never charged twice.
instruction *stringThe change to make, in plain words.
brandHandoffIdstringBrandHandoff from logo.pugi.io.
brief_confirmedbooleanTrue only after the person has seen the summary and agreed. In a chat, without it nothing starts and the summary comes back.
brief_versionstringWith brief_confirmed: the version of the summary the person agreed to, as returned with that summary.
job_idstringThe job_id of the build (or of an earlier edit) of the site to change.
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".
localestringSite language (legacy alias for site_language).
logo_idstringSelected logo_id returned by make_logo.
max_usdnumberThe run ceiling in USD; plan edits are included in the subscription. For credit edits, the most this change may cost. Default 2.
pickstringConsole gallery starter slug.
project_idstringOr the project_id of that site.
site_languagestringLanguage for the website content; independent of the chat card language.
themestringConsole theme slug.
without_logobooleanTrue only when the person said this site should not use the logo they picked.

job_status Get the status of a build

Use this when the person asks how a Pugi build or change is going, or for a fresh preview link. In hosts that render the build card (MCP Apps or ChatGPT widget) the card tracks progress; in hosts without one (Claude Code or API) job_status reports it until the job is finished, stopped or failed. Preview links expire after 15 minutes; a new call returns a fresh link.

ParameterTypeDescription
job_id *stringThe job_id build_site, build_app or edit returned.

publish Publish a built site

Use this when the person asks to put a Pugi website or app live ("publish", "go live"). Free. Puts the latest version on its pugi.app address after the security check every Pugi publish runs; publishing again replaces the live version.

ParameterTypeDescription
idempotency_keystringOptional. Reuse it to retry the same publish.
job_idstringThe job_id of the build (or the latest edit) to publish.
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".
project_idstringOr the project_id of that site.
publish_with_samplesbooleanOnly after the person saw the list of sample details this tool answered with (sample_facts_remain) and chose to keep them.

open_project Open in Pugi

Use this when the person wants to open, see or work on one of their Pugi sites or apps in Pugi itself (the full workspace: chat, live preview, files, publish, domain). Pass the project_id from a build or my_sites; without one it opens their newest project. Read-only: it builds, publishes and changes nothing.

ParameterTypeDescription
languagestringThe language the person is writing in, as a BCP 47 tag such as "ru".
project_idstringThe project to open, from a build or my_sites. Optional: the newest project when left out.