Lovable MCP Server – Build and Deploy Apps
Lovable's official hosted MCP server lets supported external AI clients create, inspect, iterate on, and deploy Lovable projects. Use it for agent-driven app development, code review, database operations, analytics, and workspace-level automation from an MCP-compatible client.
Overview
Lovable's official MCP server exposes Lovable as a remote tool for supported AI
clients. After OAuth authorization, an external agent can manage Lovable
projects through natural-language requests, including creating an app,
iterating on its implementation, inspecting code, and publishing the result.
What the MCP server enables
Lovable documents tools across project management, agent interaction, code
inspection, knowledge, databases, connectors, analytics, and file uploads.
Depending on the authenticated user's permissions and workspace settings, an
AI agent can:
- List workspaces and search or retrieve projects.
- Create projects from a prompt and remix accessible projects.
- Send messages to a project's Lovable agent and poll build progress.
- Inspect files, edit history, and unified diffs.
- Deploy projects and return live URLs.
- Read or update workspace and project knowledge instructions.
- Enable Lovable Cloud, run SQL, and retrieve database connection information.
- Manage connected MCP servers and connector accounts.
- Retrieve project analytics and upload files for message attachments.
When to use it
Use Lovable MCP when an external AI client should drive the full lifecycle of a
Lovable app. Typical workflows include scaffolding a prototype, adding features,
reviewing recent changes, reading project code, comparing multiple variants,
connecting external tools, provisioning a database, querying analytics, and
deploying a finished app.
Connection and authentication
Lovable hosts the server at https://mcp.lovable.dev over remote HTTP. The
server uses interactive OAuth authentication. API key authentication is not
available.
Lovable currently restricts the OAuth flow to ChatGPT, Claude, Claude Desktop,
Claude Code, Cursor, and VS Code. Third-party MCP client access is enabled by
default on Free, Pro, and Business workspaces, while Enterprise workspaces must
enable it in Privacy and Security settings.
Key considerations
The connected client receives the same Lovable account access as the signed-in
user and can list, read, and edit every project that user can access. Tool calls
run live: project creation and messages consume Lovable credits, deployments
publish real apps, and database queries run with the user's full database
permissions, including writes and schema changes. Require confirmation before
deployment, database operations, visibility changes, or connector changes.
Standard credits apply to create_project and send_message; other tools are
documented as free. SSO-enabled workspaces may require periodic reauthentication.
Supported Transports
streamable_http
URL: https://mcp.lovable.dev
Frequently Asked Questions
- When should an AI agent use the Lovable MCP server?
- Use it when an external AI client needs to create, inspect, iterate on, or deploy Lovable projects, or manage related databases, analytics, knowledge, files, and connected MCP servers from outside the Lovable interface.
- What does the Lovable MCP server add to an AI agent's capabilities?
- It gives the agent structured access to Lovable's live project-building workflow, including project creation, agent messaging, code inspection, deployment, database operations, analytics, and workspace management.
- What can an AI agent access or manage through Lovable MCP?
- The agent can work with workspaces, projects, templates, library projects, project visibility, agent messages, files, diffs, edit history, knowledge instructions, Lovable Cloud databases, connectors, MCP servers, analytics, and file uploads, subject to the user's permissions.
- How is authentication configured for the Lovable MCP server?
- Authentication uses an interactive Lovable OAuth flow. API keys are not supported. Lovable currently allows OAuth connections from ChatGPT, Claude, Claude Desktop, Claude Code, Cursor, and VS Code, and the resulting access inherits the signed-in user's Lovable permissions.
- Which transport should be used for the Lovable MCP server?
- Use the hosted remote HTTP endpoint at https://mcp.lovable.dev. Lovable's official documentation configures supported clients directly against this endpoint, so no local stdio or legacy SSE transport is included.