build

build is a command for Claude Code from lovablelabs/mcp. It costs 13 tokens per session (632 once invoked), scanned A, original, Apache-2.0.

A command for creating a new Lovable app from a written description and optionally publishing it online.

In plain words
What is it for?
Use it to start an app, monitor its initial build, inspect the project links, and choose whether to deploy it.
Why use it?
It organizes the build process across a Lovable workspace and makes the project and preview links available after creation.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the lovable plugin — 13 skills, 3 commands, 1 MCP server shipped together

Good fit Use it to start an app, monitor its initial build, inspect the project links, and choose whether to deploy it.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lovablelabs/mcp/build
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/lovablelabs/mcp

Made for: Claude Code.

Or install lovable, the plugin that ships this one along with the rest of its 13 skills, 3 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build

README.md
[![agentmods](https://agentmods.dev/badge/commands/lovablelabs/mcp/build/github.svg)](https://agentmods.dev/commands/lovablelabs/mcp/build)
Your own site
<a href="https://agentmods.dev/commands/lovablelabs/mcp/build"><img src="https://agentmods.dev/badge/commands/lovablelabs/mcp/build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build

Your own site · 80×15
<a href="https://agentmods.dev/commands/lovablelabs/mcp/build"><img src="https://agentmods.dev/badge/commands/lovablelabs/mcp/build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 632 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00632
Opus 5.5 $0.00005 $0.00253
Sonnet 5.5 $0.00003 $0.00126
Haiku 4.5 $0.00001 $0.00063

Measured 18d ago against content hash 26cffdfd017d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/build.md · 20 lines

What it actually says

Build a new Lovable app described as: $ARGUMENTS

Use the Lovable MCP tools to do this end to end:

  1. Call get_me to find the workspaces. If the user belongs to more than one, ask which to use.
  2. Confirm with the user before spending credits: about 2 for a static page, 7 to 11 for an app with a database and sign-in. Then call create_project with wait: false in that workspace, with an initial build prompt derived from the description above.
  3. If the app is for the user's team, the prompt also says which email domain or addresses may sign up, and asks Lovable to enforce it in the database: row-level security policies that check the signed-in user's email in lower case (@<domain>, with the at sign), plus a sign-up check that verifies the email at sign-in, never when the account is created. If anyone may sign up, it asks for policies that keep each person to their own rows. By default anyone can create an account and every signed-in user can read, change and delete every row.
  4. Follow the build with get_message on the returned message id, passing wait_seconds up to 55 and repeating until response.status is completed, awaiting_input, stopped or error. Do not wait on get_project.agentFinished; it stays false while a build waits for an approval. Then read response.status, response.summary and response.cost_credits. Show any question in the summary to the user word for word. If the status is awaiting_input, show the pending action and answer it with respond_to_approval only after the user decides.
  5. Share the editor URL and preview URL from get_project. For any app with sign-in, read pg_policies with query_database, and the sign-up trigger on auth.users from pg_trigger (or src/integrations/auth/auth.server.ts), and report who can sign up and who can read and change what; never call the app safe to share. Leave visibility as it came back unless the user wants teammates to edit the project, and ask before changing it.
  6. Ask whether to publish. deploy_project publishes every unpublished edit, immediately. If yes, call it. Its pending result and URL, and get_project.is_published, do not confirm the new version is live, so open the URL and check the new content is there before calling it live; if you cannot check, say publishing is in progress. Return the URL and who can open it (publish_audience).

Notes:

  • create_project, send_message and an approved respond_to_approval consume Lovable build credits; always confirm first.
  • deploy_project publishes a publicly reachable URL on Free and Pro plans.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed · +1 lines 26cffdfd017d
  2. 3mo ago First seen · 19 lines · 13 tokens per session scan A af9566700c86

Subscribe to this mod's changes

build is a command published in the GitHub repository lovablelabs/mcp (16 stars, last pushed 18d ago), licensed Apache-2.0. It adds 13 tokens to every session and 632 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

build compared with commands from other repositories

build next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
buildlovablelabs/mcpCommand1618d agoApache-2.0A13Claude Code
edit-with-patternAgiFlow/aicode-toolkitCommand1624d agoAGPL-3.0A12Claude Code
startobto-inc/platformCommand122d agoApache-2.0A19Claude Code
review-epo-claimsRobThePCGuy/Claude-Patent-CreatorCommand2238d agoMITA26Claude Code
react-nativegetsentry/toolkitCommand985yesterdaynoneA0Claude Code
resumeTaoidle/plan-cascadeCommand1348mo agoMITA32Claude Code
checklistgithub/spec-kitCommand154ktodayMITA13Claude Code