create_txt_record
Create or update a TXT record for domain verification. Used for services like Vercel (_vercel) and Netlify that require DNS-based ownership proof. The record is placed at the root domain under the prefix you give (e.g. vercel.sitey.my), alongside the other owners' values — that is the name Vercel reads for a subdomain of sitey.my. Needs an account: send an API key from the dashboard (Authorization: Bearer styo…) on the MCP request. Without one this returns ACCOUNT_REQUIRED.
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": {
"subdomain": "<subdomain>",
"domain": "<domain>",
"host_prefix": "<host_prefix>",
"value": "<value>"
},
"name": "create_txt_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | TXT record value (the verification token) | |
| domain | Yes | Root domain (e.g. 'sitey.my') | |
| subdomain | Yes | Subdomain name (e.g. 'demo') | |
| root_level | No | No longer supported — TXT records are always written at the root domain. Passing true returns an error. | |
| host_prefix | Yes | TXT record host prefix (e.g. '_vercel' for Vercel verification) | |
| owner_token | No | The owner token you were given when you created the record (starts with anon_). Omit it only if you have an API key, or if the record predates tokens and was claimed from this same IP address. Creating without one mints a new one and returns it once. |