OpenSend has an MCP server built in. Give Lovable the address and a key, and it can set up domains, templates and sending while it builds your app.
What to paste
119 tools
Each one is a method of the API.
One address
/v1/mcp, on your own API.
A key, no sign-in
It goes in the Authorization header.
Plain JSON
One request in, one answer out.
Make a key, give Lovable the address, and ask.
Each of these runs one tool. The name on a card is the tool Lovable calls.
domains_create
Add updates.example.com and tell me which DNS records to publish.
Returns the domain with its records.
Add domainemails_send
Send a test email from hello@mail.example.com to me.
Returns the id of the queued email.
Send emailemails_list
Which emails bounced this week?
Returns the emails with that status.
List emailslogs_list
Show the API requests that failed today and what was wrong.
Returns each failed request with its error.
List logswebhooks_create
Post bounces and complaints to https://example.com/hooks/mail.
Returns the webhook and its signing secret, once.
Add webhookcontacts_create
Add grace@example.com to the Beta testers audience.
Returns the contact, in that audience.
Add contactGive the app a key of its own, kept as a secret on the server, and it sends through the REST API.
Keep the key on the server
A key in browser code can be read by anyone who opens the page.
A sending key is enough
It can send and nothing else, so a leaked one cannot read your contacts.
Lovable asks for its tools and gets the ones its key may use, and no others. A call the key may not make is refused.
Sending key
Sees 8 of the 119 tools: enough to send.
One domain
A sending key can be held to a single domain.
Revoke
Remove the key and Lovable is cut off.
Logs
Every tool call is listed with its name and its error.
curl -X POST "$OPENSEND_API_URL/v1/mcp" \ -H "Authorization: Bearer $OPENSEND_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"domains_create","arguments":{"name":"updates.example.com"},"_meta":{"opensend/check":true}}}'These steps follow the documentation of Lovable as it read on 28 Nov 2026. If a label has moved since, their page is right.
A public address
Lovable calls the server from its own cloud, so your API needs a public https address. A localhost address only works for tools that run on your machine.
It stays in the chat
A chat connector is personal and does not reach the app you publish. That app calls the REST API with a key of its own.
What people ask before they connect Lovable.
No. The key is the credential. It goes in the Authorization header as a Bearer token, like on every other request, and there is no OAuth step.
Yes. Give it a key of its own. A sending key sees only the few tools a sender needs, and it can be held to one domain. A full key sees every tool.
In Logs. Every request a key makes is listed, and a tool call shows the name of the tool and, when it failed, the reason. Filter the list by the key you gave Lovable.
Yes. A tool call can be sent as a check. The server makes sure the key may use the tool and that the input is valid, runs nothing, and answers.
No. Closing a workspace is not a tool, so a mistake of a model cannot wipe one.
Yes, when your API has a public https address. Lovable calls it from its own cloud, so a localhost address does not work.
Create a key and send, or clone the repository and run it yourself.