Add ChiefLab to Lovable
Lovable's agent ships your product. ChiefLab launches it. One MCP connection in the Lovable connectors panel; the agent gets chiefmo_launch_product and the rest of the closed loop on its next session.
Try it without Lovable: run ChiefMO in your browser. Same output your Lovable agent will see.
Step 1 — Get an API key
One click at chieflab.io/get-key. Save the clp_dev_ key.
Step 2 — Add the connector in Lovable
Open your Lovable project → Settings → Integrations / Connectors → Add MCP server.
- Name:
chieflab - URL:
https://chieflab.io/api/mcp - Auth header:
Authorization: Bearer clp_dev_<your-key> - Save → Lovable surfaces the 72 ChiefLab tools to your agent on the next message.
If Lovable's UI doesn't yet expose raw MCP server URLs (it's expanding rapidly), use direct HTTPS calls from your Lovable agent backend instead — POST to https://chieflab.io/api/mcp with the Bearer key.
Step 3 — Try the closed loop
In your Lovable chat:
I just shipped this product. Use ChiefMO to plan and queue the launch. The agent picks chiefmo_launch_product with your project URL, returns a launch pack + signed reviewUrl. You approve in your browser. Lovable then fires chiefmo_publish_approved_post + chiefmo_send_approved_email for each approved action.
Multi-tenant: serving Lovable end-users
If your Lovable app serves multiple end-users (each with their own brand), provision a tenant per user the first time they ask to launch:
chieflab_create_tenant({ tenantId: user.id, name: user.brandName, domain: user.domain })
chieflab_set_tenant_context({ tenantId: user.id, brand: ..., voice: ..., audience: ... })
chiefmo_launch_product({ tenantId: user.id, goal: "..." }) Troubleshooting
- Agent doesn't pick ChiefLab tools: see /for-agents. Tool names are BM25-matched against the user's literal phrasing — say "launch" / "users" / "marketing" / "Product Hunt" in the prompt.
- 401 Unauthorized: re-check the Bearer key. Re-mint via
chieflab_signup_workspaceif needed. - Tools timeout:
chiefmo_launch_producttakes 5-30s for a full pack with images. Increase the Lovable connector timeout if your agent gives up early.
More
- For agents (instruction text): /for-agents
- Tool catalog: /llms.txt
- Other runtimes: Cursor · Claude Desktop · Codex · Bolt
- SDK alternative:
npm install @chieflab/sdkfor typed methods