Create Domain
create-domainCreate a new domain in Resend and return the DNS records required for verification so they can be configured with the domain's DNS provider.
Instructions
Create a new domain in Resend. Returns DNS records that must be configured with the domain's DNS provider for verification. If you have a tool that manages the domain's DNS (an MCP server, CLI or API of its DNS provider), offer to add them yourself. Otherwise, you MUST display the DNS records to the user so they can set them up.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create-domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | No | TLS mode. "opportunistic" attempts secure connection with fallback. "enforced" requires TLS or fails. Defaults to "opportunistic". | |
| name | Yes | The domain name (e.g., example.com) | |
| region | No | Deployment region. Defaults to "us-east-1". | |
| capabilities | No | Domain capabilities configuration. | |
| openTracking | No | Enable email open rate tracking. | |
| clickTracking | No | Enable click tracking in HTML emails. | |
| customReturnPath | No | Subdomain for the Return-Path address. Defaults to "send". | |
| trackingSubdomain | No | Custom subdomain for tracking links (e.g., "track" for track.example.com). When set, click and open tracking URLs will use this subdomain instead of the default. |