Lovable

dev.lovable由 lovable.dev 发布官方发布者v0.1.3更新于 Oct 24, 2026

Official MCP server for Lovable, the AI-powered full-stack app builder.

已验证Streamable HTTP可网页运行数据库云端与基础设施开发者工具

概览

AI 生成的概览

Lovable 官方 MCP 服务器,让助手通过 OAuth 保护的 Streamable HTTP 创建、编辑、部署和管理 Lovable 全栈应用项目。

可以做什么
  • 列出、创建、部署、remix 和查看项目与工作区,并管理其可见性
  • 向项目的 AI agent 发送消息并获取回复
  • 通过 diff、文件树、文件内容和编辑历史检查代码
  • 读取和写入项目或工作区的 AI 指令
  • 启用并查询项目的 Postgres 数据库,获取连接信息
  • 管理连接器和外部 MCP 集成、浏览模板、查看流量分析并生成上传链接
适用场景
适合在 Claude、Cursor、Codex、ChatGPT 等 MCP 客户端中直接驱动 Lovable 建站:搭建项目、通过 AI agent 迭代、审阅改动并发布线上地址,无需离开对话。
运行要求
远程端点 Streamable HTTP,客户端需支持该传输方式。必须通过 OAuth 2.1 登录;除 Claude、Claude Code 和 ChatGPT 外的客户端还需在认证配置中提供 Lovable 的公开 OAuth 客户端 ID。创建项目和发送 agent 消息需要拥有构建额度的 Lovable 账号。
安装前请注意
create_project 和 send_message 会消耗 Lovable 构建额度,助手操作可能产生付费配额消耗。deploy_project 会发布公开网址,query_database 直接对项目数据库执行 SQL,知识类工具会写入 AI 指令,改动即时生效。连接器工具可添加或移除 Linear、Notion、Slack 等外部集成。令牌为 bearer token,过期后需重新登录。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lovable,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/dev.lovable%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "lovable": {
      "type": "http",
      "url": "https://mcp.lovable.dev/"
    }
  }
}

README

Lovable MCP

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.

Endpoint

https://mcp.lovable.dev

Transport: Streamable HTTP.

Authentication

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>.

Install

Claude, Claude Code, and ChatGPT need only the URL. Any other client must also pass Lovable's public OAuth client ID (6d465f583e1e4ce5801b1616f735670c), shown below.

Claude Code

sh
claude mcp add --transport http lovable https://mcp.lovable.dev

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "lovable": {      "type": "http",      "url": "https://mcp.lovable.dev"    }  }}

ChatGPT

Add the URL directly — no client ID needed:

https://mcp.lovable.dev

Cursor / Windsurf

Add to your client's MCP config (~/.cursor/mcp.json, or Windsurf's mcp_config.json):

json
{  "mcpServers": {    "lovable": {      "type": "http",      "url": "https://mcp.lovable.dev",      "auth": {        "CLIENT_ID": "6d465f583e1e4ce5801b1616f735670c"      }    }  }}

VS Code

json
{  "servers": {    "lovable": {      "type": "http",      "url": "https://mcp.lovable.dev",      "auth": {        "CLIENT_ID": "6d465f583e1e4ce5801b1616f735670c"      }    }  }}

Codex CLI

sh
codex mcp add lovable --url https://mcp.lovable.devcodex mcp login lovable

Other clients

Use the same type: http + url + auth.CLIENT_ID shape as the Cursor example above.

Tools

The server exposes tools across these areas:

  • Projects & workspaces — list, create, deploy, remix, inspect; manage visibility
  • Agent interaction — send messages to a project's AI agent and retrieve responses
  • Code inspection — diffs, file tree, file contents, edit history
  • Knowledge — read and write project / workspace AI instructions
  • Cloud database — enable a Postgres database, check status, run SQL, get connection info
  • Connectors & MCP servers — list, add, and remove external integrations (Linear, Notion, Slack, custom MCP, …)
  • Templates & libraries — browse template and library projects
  • Analytics — historical and real-time project traffic
  • File uploads — generate upload URLs for attaching images

Heads up: create_project and send_message consume Lovable build credits. deploy_project publishes a public URL. query_database runs SQL directly against your project's database.

See the Lovable MCP documentation for the full tool reference.

Common workflow

Build and deploy a new app:

1. list_workspaces()                       → workspace_id2. create_project(workspace_id, ...)       → project_id   (uses credits)3. send_message(project_id, "Add ...")     → message_id   (uses credits)4. get_diff(project_id, message_id)        → review changes5. deploy_project(project_id)              → live URL

Most tools need a workspace_id — call list_workspaces first. read_file needs a git ref; get latest_commit_sha from get_project.

Troubleshooting

SymptomFix
401 Unauthorized / expired tokenRe-run your client's login flow to refresh the OAuth token
OAuth window loops or never completesConfirm the client passes the auth.CLIENT_ID shown above
"Transport not supported"The client must support Streamable HTTP
Tool fails on a missing workspace_idCall list_workspaces first and pass the returned ID

Registry

This repository hosts the server.json entry for the MCP registry.

License

Apache License 2.0

来源:README.md,提交 0336e6d

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分