# get_domain_connect_url

Source: https://modulify.ai/docs/mcp/domains/get-domain-connect-url

Returns a link that has the DNS provider add the records one custom domain needs automatically, where the provider supports it.

- Title: Get a one-click DNS link
- Scope: `config:read`
- Access: Read only

The link covers that domain and its www companion, never the site's other domains, so each domain needs its own link. The tool tells the client to hand you the link rather than follow it itself.

The link comes back in `applyUrl`. It only adds the address records, never the TXT record that proves the domain is yours. While the domain's `Verified` is false, the answer also carries `ownershipRecord` with that TXT record's `type`, `name` and `value`, and the message reads `One-click DNS configuration is ready. It adds the address records only, so the TXT record that proves you own example.com still has to be added at your DNS host by hand.` The tool tells the client to give you that record along with the link, because the domain never serves the site without it. When the provider does not support one-click setup, the answer carries `supported` false and no link, and the records have to be added by hand. A domain the workspace bought that uses Modulify's nameservers also answers `supported` false, with `Modulify adds the DNS records to example.com for you, so one-click setup is not needed.`, because Modulify adds its records by itself. While the site's custom domains are paused because the workspace left its paid plan, it is refused with `Custom domains are paused until the workspace is on a paid plan again!` It needs the **Manage domains** permission in the workspace. See [One click setup](https://modulify.ai/docs/publish/dns-records#one-click-setup).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |
| `workspaceId` | string | Yes | The workspace the site belongs to. |
| `domainId` | string | Yes | The `_id` of the custom domain to configure, as `get_domain_status` or `add_custom_domain` returned it. |