connect_domain
ActiveTool of run.domani/domani
Connect a domain to a hosting or email provider. Auto-detects provider from target, or accepts explicit provider name. For domains bought through the platform, DNS records are set automatically (status: dns_set). For imported domains (external registrar), returns the records as instructions to add manually (status: manual_setup_required). If the connect would REPLACE existing MX records pointing at another provider, it fails with MX_REPLACEMENT_REQUIRES_CONFIRMATION - preview with dry_run, confirm with the user, then retry with confirm_replace_mx. The response includes a next_steps array with provider-specific actions. Supported hosting: vercel, netlify, cloudflare-pages, github-pages, railway, fly. Email: google-workspace, fastmail, proton.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"description": "Domain to connect, e.g. mysite.com"
},
"method": {
"type": "string",
"description": "Connection method if provider has multiple, e.g. cname-only"
},
"target": {
"type": "string",
"description": "Target URL for auto-detection, e.g. my-app.vercel.app"
},
"dry_run": {
"type": "boolean",
"description": "Preview only - returns the diff (create/replace/keep) without writing"
},
"provider": {
"type": "string",
"description": "Explicit provider name, e.g. vercel, google-workspace"
},
"confirm_replace_mx": {
"type": "boolean",
"description": "Confirm replacing existing MX records that point at another provider (moves the domain's email)"
}
}
}Parent server
run.domani/domani
https://github.com/gwendall/domani
1/7 registries