Lovable MCP Server
Published
At a glance
- Category
- Code & Git
- Hosted by the vendor
- https://mcp.lovable.dev
- Watch out for
- create_project and send_message spend normal Lovable credits; the other tools are free.
Lovable runs its own hosted MCP server at https://mcp.lovable.dev. It works in the opposite direction from Lovable's chat connectors: instead of the Lovable agent reaching out to your tools, an outside agent such as Claude Code, Cursor or Codex reaches into Lovable and manages your projects.
The server speaks HTTP and signs you in with OAuth only. API keys are not supported, so the first connection opens a browser window where you log in to Lovable and approve access. Every call then runs with your own account's permissions against real projects, which is worth keeping in mind before you let an agent loose on it.
The tool list is long. It covers projects, drafts, the project agent's chat, code inspection, the built-in database, connectors and analytics. Lovable also publishes a machine-readable skill file at https://mcp.lovable.dev/skill.md with tool parameters that you can drop into a client's skills folder.
How it connects
Your AI app
An assistant or agent that supports MCP
Lovable MCP Server
Runs as
- Remote (HTTP)
Gives the agent
- Projects and publishing
- Talking to the project agent
- Drafts
- Code inspection
- Built-in database
- Knowledge, skills and analytics
Lovable
The data or system the tools act on
What it can do
- Projects and publishing
- list_projects, get_project and create_project find or start apps, and deploy_project publishes to lovable.app and returns the live URL. remix_project copies an accessible project into a workspace.
- Talking to the project agent
- send_message sends a prompt to the project's agent and waits for a reply, with plan mode, attachments and a wait=false option for polling via get_message. list_messages shows recent history.
- Drafts
- create_draft, list_drafts, get_draft, accept_draft and reject_draft let an agent build changes on the side and merge or throw them away.
- Code inspection
- get_diff, list_files, read_file and list_edits show what changed at a given message, commit SHA or git ref.
- Built-in database
- get_database_status, enable_database and query_database manage Lovable's own database. query_database runs any SQL, including writes and schema changes.
- Knowledge, skills and analytics
- get_project_knowledge and set_project_knowledge (plus workspace versions) read or replace AI instructions. get_project_analytics and get_project_analytics_trend return visits, page views and bounce rate.
Setting it up
In Claude Code, run claude mcp add --transport http lovable "https://mcp.lovable.dev", or install the plugin with /plugin install lovable@claude-plugins-official. On Claude Desktop or claude.ai, open + then Connectors then Browse Connectors, search for Lovable and click Connect. For Codex, run codex mcp add lovable --url https://mcp.lovable.dev followed by codex mcp login lovable. In Cursor, add an entry to ~/.cursor/mcp.json or .cursor/mcp.json with "type": "http", "url": "https://mcp.lovable.dev" and the auth CLIENT_ID given in the docs, then reload. VS Code takes a lovable entry under "servers" with the same type and URL. Each client then sends you to a browser to log in. Third-party MCP access is on by default for Free, Pro and Business workspaces; on Enterprise an admin must turn it on under Workspace settings, Security, Privacy & security, Integrations.
claude mcp add --transport http lovable https://mcp.lovable.devIf the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Start a new Lovable app from Claude Code with a build prompt, then check the preview URL and screenshot from get_project.
- Ask the project agent for a change inside a draft, review the result with get_diff, and accept or reject it.
- Run a SQL query against a project's built-in database to inspect data while debugging.
- Publish a finished project with deploy_project and pull visit numbers afterwards with get_project_analytics.
- Keep project AI instructions in sync by reading and replacing them with the knowledge tools.
Limitations and things to watch
- create_project and send_message spend normal Lovable credits; the other tools are free.
- query_database has full database permissions, and accept_draft can push schema and backend function changes live immediately.
- set_project_knowledge and set_workspace_knowledge replace all existing content rather than appending.
- Connectors cannot be added through the server; add_connector only returns the dashboard URL.
- Some options, such as workspace_view and draft visibility, need a Business or Enterprise plan, and Enterprise workspaces have third-party MCP access off by default.
Sources
Written from the project's own documentation, checked November 2026.
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.