> ## Documentation Index
> Fetch the complete documentation index at: https://docs.funeli.top/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP tools: custom domains

> Reference for the Funeli MCP tools for custom domains: what each tool does, its parameters and whether it changes live funnels.

Connect your own subdomain to a project and choose the primary one. Agents call these tools for you; this page lists what each one does and the parameters it takes.

## list\_custom\_domains

**List custom domains.** Read-only.

List a project's custom domains (default: the current project). Each project can have a default branded domain for its funnel public slugs.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `projectId` | string | no | |

## connect\_custom\_domain

**Connect custom domain.** Changes the draft or settings; live funnels change only after publishing.

Connect a customer-owned subdomain to a project through Cloudflare for SaaS. The user must add the returned CNAME at their DNS provider. Certificate issuance uses automatic HTTP validation; if an existing hostname uses TXT, follow the returned certificate verification records. First release supports subdomains, not apex domains.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `projectId` | string | no | |
| `hostname` | string | yes | |
| `makeDefault` | boolean | no | |

## check\_custom\_domain

**Check custom domain.** Changes the draft or settings; live funnels change only after publishing.

Check Cloudflare hostname and certificate status, update the saved result, and recreate the provider hostname if its saved ID no longer exists. Ready means both hostname and SSL are active. Returns Cloudflare validation errors and any TXT/delegation instructions.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `domainId` | string | yes | |

## set\_default\_custom\_domain

**Set default custom domain.** Changes what live visitors see or pay, or removes data. Agents confirm with you first.

Make one of a project's connected domains the default branded domain for that project.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `domainId` | string | yes | |

## set\_custom\_domain\_enabled

**Set custom domain enabled.** Changes what live visitors see or pay, or removes data. Agents confirm with you first.

Enable or disable using an active custom domain for primary live funnel URLs. Disabled domains stay connected and can still be checked or removed. Only active domains can be toggled.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `domainId` | string | yes | |
| `enabled` | boolean | yes | |

## remove\_custom\_domain

**Remove custom domain.** Changes what live visitors see or pay, or removes data. Agents confirm with you first.

Remove a custom domain from Funeli and delete its Cloudflare custom hostname. This affects live traffic on that domain.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `domainId` | string | yes | |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.