1. Conduid
  2. Developer Tools
  3. Lovable Clone
MCP server · Developer Tools

Lovable Clone

A simple clone of lovable.dev using BAML / FastMCP / Beam

Unclaimed last commit a year ago devtools
52Fair

Scored 6 months ago · breakdown

About Lovable Clone

Lovable Clone is an MCP server published by beam-cloud in the Developer Tools category: a simple clone of lovable.dev using BAML / FastMCP / Beam.

The repository has 293 stars and 103 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/beam-cloud/lovable-clone

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Lovable Clone

Powered by Claude · Grounded in docs

I know everything about Lovable Clone. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Lovable Clone - AI-Powered Web App Builder

A real-time AI-powered web application builder inspired by lovable.dev.

Lovable Clone Demo

️Architecture

This project demonstrates how to build a simple agent using sandboxed environments, MCP servers, and BAML. It's hosted on beam.cloud.

To learn about the architecture in detail, read the full post on our blog.

The application consists of three main components:

  1. Model Client - Communication with LLM, based on BAML
  2. Sandbox Environment - Runs the React preview in a compute sandbox on Beam.
  3. WS-Based Agent - Streams edit requests from the user to the agent

Architecture Diagram

Prerequisites

  • Python 3.12+
  • Node.js 20+
  • OpenAI API key
  • Beam account for hosting (sandboxes, frontend, mcp server)

Installation

  1. Clone and install

    git clone https://github.com/beam-cloud/lovable-clone
    cd lovable-clone
    pip install -r requirements.txt
    
  2. Install frontend dependencies

    cd frontend
    npm install
    
  3. Set up secrets

You can grab your OpenAI API key here.

beam secret create OPENAI_API_KEY 'your-openai-api-key'
  1. Add .env

Create an .env file in /frontend

You’ll need a Beam token and the websocket URL, printed in your shell after running the command below.

VITE_BEAM_WS_URL=your-agent-ws-url # URL printed in your shell after running `beam serve` - fill this in after running the command below
VITE_BEAM_TOKEN=your-beam-token # Get Beam token here: https://platform.beam.cloud/settings/api-keys

Usage

Start the Agent

The agent handles real-time communication with the client/frontend:

beam serve src/agent.py:handler

Paste the websocket URL printed in your shell into your .env file above

Run the Frontend

In a new terminal window, run:

cd frontend
npm run dev

BAML / Prompts

Prompts are defined in baml_src/build.baml:

  • EditCode Function - Main function for code generation
  • CodeChanges Schema - Defines the structure of AI responses
  • Test Cases - Validate prompt behavior

If you want to change the prompt, edit baml_src/build.baml and run make generate to regenerate the BAML clients

Sandbox Environment

The sandbox environment is managed in src/tools.py:

  • Node.js 20 base image
  • React + Vite + shadcn/ui template
  • Other deps: React Router, Recharts, TanStack Query, etc.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Lovable Clone

How do I install Lovable Clone?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Lovable Clone safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Lovable Clone still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.