agentleFS
lovablelabslovablelabs/mcp/CLAUDE.md

mcp

CLAUDE.md14 starsChanged 17 days agoApache-2.0View on GitHub

Build, iterate on, deploy, and manage Lovable apps without leaving Claude Code. The official Claude Code plugin for Lovable, the AI-powered full-stack app builder. It bundles the official Lovable MCP server, pre-wired with automatic OAuth, plus 13 skills and three commands for the workflows people reach for most. Skills live in skills/<name>/SKILL.md; commands in commands/. Lovable builds and hosts full-stack apps; Claude Code is your local agent. This plugin connects the two so you can drive Lovable from your terminal:…

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every other Lovable MCP tool (analytics, knowledge/governance, connectors, file inspection, templates, …) is also available to Claude Code …

    line 32
  2. Very specific:

    Verify with /mcp (look for the lovable server) or ask Claude Code to "list my Lovable workspaces."

    line 48
  3. Very specific:

    No keys or config. The bundled server is a remote Streamable HTTP endpoint (https://mcp.lovable.dev) using OAuth 2.1.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Lovable for Claude Code

Build, iterate on, deploy, and manage Lovable apps without leaving Claude Code.

The official Claude Code plugin for Lovable, the AI-powered full-stack app builder. It bundles the official Lovable MCP server, pre-wired with automatic OAuth, plus 13 skills and three commands for the workflows people reach for most. Skills live in skills/<name>/SKILL.md; commands in commands/.

Why use it

Lovable builds and hosts full-stack apps; Claude Code is your local agent. This plugin connects the two so you can drive Lovable from your terminal: describe an app and ship it, request a change and review the diff, or provision and query a database — all in natural language, with credit- and publish-safety prompts built in.

Skills

Thirteen skills, one shared rules block. Each names the Lovable MCP tools it calls in order, asks before the four credit-spending calls (create_project, send_message, an approved respond_to_approval, import-claude-design-from-url), stops before deploy_project and any database write, and reads get_workspace_knowledge first for the business profile that know-my-business writes.

BucketSkills
Foundationknow-my-business
Get the work donelaunch, first-customers, interview-tracker, hiring-tracker
Apps already on Lovableask-my-app-data, review-my-workspace, fix-and-ship, document-my-app
New to Lovablebuild-from-this-conversation, find-what-to-build, spreadsheet-to-app, claude-design-to-app

Editing a skill: edit scripts/generate-skills.py and run it, so the Rules block stays identical across all 13 (it is the contract); do not hand-edit one SKILL.md. The references/lovable.md files are generated by the same script; do not hand-edit them either. Lookup detail (queries, file locations, server specifics) goes in the reference block of the script, not in the Rules. Keep the "Tools used" table to tools the server actually exposes, the file under 120 lines, and never show the Spend map labels to the person. See CONNECTORS.md for the credit and safety table.

Commands

CommandWhat it doesLovable tools used
/lovable:build <description>Create a new project from a prompt, follow the build, and optionally deploy to a live URLlist_workspaces, create_project, send_message, get_project, deploy_project
/lovable:iterate <project> - <change>Send a change request to a project's agent (plan-first for big changes) and review the unified difflist_projects, send_message, get_message, respond_to_approval, get_diff, list_edits
/lovable:db <project> [SQL]Check/enable a Lovable Cloud Postgres database and run SQL with confirmationget_database_status, enable_database, query_database

Every other Lovable MCP tool (analytics, knowledge/governance, connectors, file inspection, templates, …) is also available to Claude Code once the plugin is installed — the commands above just package the common flows.

Requirements

  • Claude Code (a version with plugin + remote-MCP support)
  • A Lovable account

Install

/plugin marketplace add lovablelabs/mcp
/plugin install lovable@lovable

Restart Claude Code (or reload plugins). The first time a Lovable tool runs, Claude Code opens a browser window to sign in to Lovable.

Verify with /mcp (look for the lovable server) or ask Claude Code to "list my Lovable workspaces."

Authentication

No keys or config. The bundled server is a remote Streamable HTTP endpoint (https://mcp.lovable.dev) using OAuth 2.1. Claude Code discovers the authorization server automatically (RFC 9728) and manages the bearer token. Connecting grants access to your whole Lovable account, not a single project.

Safety & cost

This plugin operates on real projects and the commands prompt before any irreversible or billable action:

  • 💳 Credits: create_project, send_message, an approved respond_to_approval and import-claude-design-from-url consume Lovable build credits (so do /lovable:build and /lovable:iterate).
  • 🚀 Public deploys — deploy_project publishes a publicly reachable URL on Free/Pro plans.
  • ⚠️ Full-permission SQL — query_database (/lovable:db) can read, write, and alter schema. The command shows the SQL and asks for confirmation before any write or schema change.

Examples

/lovable:build a habit tracker with weekly streaks and a dark theme
/lovable:iterate invoice-tracker — add CSV export to the invoices table
/lovable:db invoice-tracker SELECT count(*) FROM invoices;

Or just talk to Claude Code: "deploy my landing-page project and give me the live URL."

Troubleshooting

SymptomFix
lovable not shown in /mcpConfirm the plugin is enabled (/plugin), then restart Claude Code
Auth window never completesSign in at lovable.dev first, then re-trigger a Lovable command
"Transport not supported"Update Claude Code — the plugin needs remote (Streamable HTTP) MCP support
A tool fails on a missing workspace_idAsk Claude Code to "list my workspaces" first

Links

License

Apache License 2.0

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.