Official MCP server for Lovable, the AI-powered full-stack app builder.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
The official Model Context Protocol server for Lovable, an AI-powered full-stack app builder.
Connect Claude, Cursor, Codex, and other MCP-compatible clients to Lovable so they can create, edit, deploy, and manage Lovable projects through natural language.
Transport: Streamable HTTP.
OAuth 2.1. MCP clients discover the authorization server via RFC 9728 metadata at https://mcp.lovable.dev/.well-known/oauth-protected-resource and obtain a bearer token automatically. The token is passed as Authorization: Bearer <token>.
Claude, Claude Code, and ChatGPT need only the URL. Any other client must also pass Lovable's public OAuth client ID (6d465f583e1e4ce5801b1616f735670c), shown below.
Add to claude_desktop_config.json:
Add the URL directly β no client ID needed:
Add to your client's MCP config (~/.cursor/mcp.json, or Windsurf's mcp_config.json):
Use the same type: http + url + auth.CLIENT_ID shape as the Cursor example above.
The server exposes tools across these areas:
Heads up:
create_projectandsend_messageconsume Lovable build credits.deploy_projectpublishes a public URL.query_databaseruns SQL directly against your project's database.
See the Lovable MCP documentation for the full tool reference.
Build and deploy a new app:
Most tools need a workspace_id β call list_workspaces first. read_file needs a git ref; get latest_commit_sha from get_project.
| Symptom | Fix |
|---|---|
401 Unauthorized / expired token | Re-run your client's login flow to refresh the OAuth token |
| OAuth window loops or never completes | Confirm the client passes the auth.CLIENT_ID shown above |
| "Transport not supported" | The client must support Streamable HTTP |
Tool fails on a missing workspace_id | Call list_workspaces first and pass the returned ID |
This repository hosts the server.json entry for the MCP registry.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lovable)<a href="https://allmcps.com/mcp/lovable"><img src="https://allmcps.com/api/badge/lovable?style=directory" alt="Lovable on AllMCPs" /></a>