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 分