Purchase scaffold
purchase_scaffoldRequests a build for the given component ids, backed by a private GitHub repo BotKelp owns and manages itself under its own org — never your account. Returns the repo's location, a short-lived single-repo-scoped clone credential, and a persistent projectid for later use with get_scaffold/get_projects/set_projects. Repeat requests for the same component combination reuse the same repo at no extra GitHub-side cost. A failed build (red ci.yml) is never charged. Payment: pay with linked BotKelp account credits (MCP OAuth 2.1 / Bearer bk_live_ at transport — never a tool argument), or omit account linkage and pay per-call in USDC via x402 (attach payment via the MCP call's _meta["x402/payment"] — no signup). maintain (default true, credit flow only) keeps this project's repeat access renewable — see ADR 0025 and set_projects. Pass site_profile: true (only your account's single profile) or a profile name to attach that named profile's documents in the same result; if incomplete, call get_siteprofile with next.arguments — there is no second unsolicited reply. delivery: "clone" (default) returns a git clone command; "inline" returns the files in the reply instead, for callers that can't run git — costs more tokens, use only when a shell isn't available. Extra pages land IN the clone (unique personal bk-* repo; shared tpl stays generic): site_profile true or a name bakes dashboard legal pages (privacy/terms/cookies) as Next.js routes; template_files true (all saved files) or [{name} | {source, dest}] pulls dashboard files or files from the connected GitHub repo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project metadata to save alongside the purchased scaffold. | |
| delivery | No | "clone" (default): git clone command. "inline": files in the reply. No git needed. More tokens. | |
| maintain | No | Keep repeat access to this repo renewable. Defaults to true. Ignored for x402 (accountless) purchases. | |
| components | Yes | Component ids to include, e.g. ["nextjs-base", "tailwind", "supabase-client"]. | |
| site_profile | No | false/omit: skip. true: bake this account's one site profile into the clone (errors if 0 or >1). A string: bake that named profile (privacy, terms, cookies, …). | |
| admin_page_set | No | Optional extra file-tree name (same overlay as template_files). Prefer site_profile / template_files. | |
| template_files | No | true: every saved dashboard template file. Or a list of {name} and/or {source, dest} from the connected GitHub repo. |