# Lovable

> **TL;DR** Lovable's paid plans support MCP directly in the builder. Connect once and your memory becomes a live data source for whatever you build.

#### Prerequisites

* A paid Lovable plan
* A Lovable project open

#### Setup

1. Login to the Lovable website.
2. Open **Connectors** and go to **Chat connectors**.
3. Click **New MCP server**.
4. **Server name**: Enter a clear name for your server (for example, *AI Context Flow or Plurality MCP*).
5. **Server URL**: Enter the address where Lovable can reach your MCP server (<https://app.plurality.network/mcp>)
   1. **Authentication:**
      * **OAuth (default):** Lovable uses OAuth by default. After you click **Add & authorize**, you’ll be prompted to authorize.
      * **Bearer token or API key:** If you want, you can also authenticate using a bearer token (PAT, read more [here](/the-plurality-mcp-server.md#personal-access-token-api-key)).
   2. **Add server**. The AI Context Flow MCP server now appears in your list of chat connectors and can provide contextual data for builds.

#### Use it

Once connected, reference your Plurality memory directly in Lovable prompts. For example:

> *"Build a dashboard using all the requiremtents in my X project bucket"*

Your memory buckets, documents, and notes act as live data for the apps you generate.

#### Verify

In a Lovable prompt, ask the builder to read from Plurality. If it returns content from your buckets, the connection is working.

#### Troubleshoot

**MCP option missing in Connectors.** You're on a Free plan. MCP requires a paid plan.

**OAuth completes but Lovable doesn't see the tools.** Refresh the project page after authentication.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plurality.network/the-plurality-mcp-server/connect-your-agents-via-mcp/lovable.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
