OpenSend has an MCP server built in. Give Claude Code the address and a key, and the methods of the API become tools it can call.
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 Claude Code the address, and ask.
Each of these runs one tool. The name on a card is the tool Claude Code 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 contactClaude Code 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 Claude Code 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 Claude Code as it read on 28 Nov 2026. If a label has moved since, their page is right.
The type is required
An entry with an address needs the type http beside it.
Project or user
.mcp.json at the project root is shared with the project. Your own entries live in ~/.claude.json.
What people ask before they connect Claude Code.
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 Claude Code.
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. Claude Code runs on your machine, so any address it can reach works, localhost included.
Create a key and send, or clone the repository and run it yourself.