Domain Tools
The 4 MCP tools that add a sending domain without mailboxes, verify it, and show its DNS records and DMARC status.
With these tools your assistant adds a new sending domain to your account, gives you the DNS records to add, starts verification and checks the state of the records. Domains belong to an account, not to a workspace, so these tools take no workspace_id and work only on the domains of the account that calls them.
Two kinds of domains
| Connfig Mail domains | Domains without mailboxes | |
|---|---|---|
| Where you add them | On the Email sending page in the app | Through MCP with create_sending_domain. Their sender details and DNS records also show in the app. |
| How they send | From the mailboxes on the domain; replies land in the Connfig Mail inbox | With one sender set on the domain |
| Tools on this page | The verify, DNS and DMARC tools return INVALID_INPUT. Manage these domains on the Email sending page. | All four tools work |
You see both kinds with list_sending_domains, and campaigns send from both. Details: Email sending.
How to add a domain
- Your assistant saves the domain, sender name and sender address with
create_sending_domain. - It shows you the DNS records from the answer as a table. You add them in the panel where you manage your domain (for example GoDaddy or Namecheap).
- A few minutes later the assistant starts verification with
verify_sending_domain. - If the domain is not verified yet, it finds the missing or wrong record with
get_sending_domain_details.
Do not use the main domain you receive your business email on. Add a separate domain (e.g. yourcompany-mail.com) or a subdomain (e.g. mail.yourcompany.com), so cold email does not affect your main domain's reputation.
Tools
create_sending_domain
Adds a sending domain without mailboxes to your account and returns the DNS records you need to add. It can be called at most 10 times a minute.
- The domain is added to the account that calls the tool. If a team member uses it, the domain goes to the member's own account and does not show up in the owner's workspaces.
- If the domain is registered to another account, or is one of your Connfig Mail domains, the tool returns
FORBIDDENand nothing is created. - A new domain starts at 20 emails a day. After 420 sends it sends 50 a day, and after 2,100 sends 100 a day.
- The domain name is saved in lowercase.
| Parameter | Type | Required | Purpose |
|---|---|---|---|
name | string (3–255) | Yes | The domain, e.g. mail.yourcompany.com |
sender_header | string | Yes | Sender name: the name recipients see in their inbox, e.g. "Jane Smith · Acme Media" |
sender_name | string (up to 64) | Yes | Sender address: the part before the @, e.g. hello |
The sender rules are the same as in the app:
| Field | Rule |
|---|---|
sender_header | Up to 60 characters and 15 words. Letters (accented ones included), digits, spaces and . , & ' - ( ) + · are allowed. It needs at least one letter or digit. |
sender_name | Up to 64 characters. Only a-z and digits, with a single ., _ or - between them. No accented characters; capitals are lowercased. |
A value that breaks a rule returns INVALID_INPUT, and the message names the rule.
Fields in the answer:
| Field | Meaning |
|---|---|
domain | The saved name (name) and first state (state) |
sending_dns_records | Records to add for sending (e.g. TXT and CNAME) |
receiving_dns_records | MX records for incoming email |
next_step | What to do next: add the records, then call verify_sending_domain |
Each DNS record has a type (record_type), name (name), value (value), a priority when there is one (priority) and its validity (valid).
Ask your assistant: "Add the domain mail.mycompany.com. Use the sender name 'Jane Smith' and the sender address 'hello'. Show me the DNS records I need to add as a table."
verify_sending_domain
Has the domain's DNS records checked again and saves the result to your account. A verified domain can be used in campaigns.
| Parameter | Type | Required | Purpose |
|---|---|---|---|
name | string (3–255) | Yes | The domain |
The answer has the domain (name), its state (state) and whether it is verified (verified). Until DNS changes spread, it may return verified: false. Try again a little later.
Ask your assistant: "I've added the DNS records. Verify mail.mycompany.com now."
get_sending_domain_details
Returns the domain's sending and incoming DNS records, each with whether it is valid (sending_dns_records, receiving_dns_records).
| Parameter | Type | Required | Purpose |
|---|---|---|---|
name | string (3–255) | Yes | The domain |
Ask your assistant: "Which DNS records for mail.mycompany.com are still invalid? List the missing ones."
get_dmarc_records
Returns the state of the domain's DMARC record. If no record is found, records is an empty list.
| Parameter | Type | Required | Purpose |
|---|---|---|---|
domain | string (3–255) | Yes | The domain |
Ask your assistant: "Check the DMARC status of my sending domains. Is any of them missing a record?"
Possible errors
| Error | When |
|---|---|
INVALID_INPUT | The domain or sender details break a rule, the domain was rejected, or the tool was called on a Connfig Mail domain |
FORBIDDEN | The domain is registered to another account or is one of your Connfig Mail domains |
NOT_FOUND | The domain is not on your account |
RATE_LIMITED | create_sending_domain was called more than 10 times in a minute |
Mini scenarios
A first domain. A new client wants to start cold email. The assistant adds mail.client.com with create_sending_domain and explains where each DNS record goes in the panel. The next day it verifies the domain with verify_sending_domain.
A delivery problem. Emails start landing in spam. The assistant checks for invalid records with get_sending_domain_details and for the DMARC record with get_dmarc_records, then lists what is missing.