Domain Setup for Cold Email
v0.3.0Plan, apply, verify and roll back SPF, DKIM, DMARC and MX for cold email domains on Cloudflare
Values you need
| Variable | What it is | |
|---|---|---|
CLOUDFLARE_API_TOKEN | required secret | Cloudflare API token with Zone Read, DNS Edit and Single Redirect Edit, limited to your zones |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add domain-setup-mcp -e 'CLOUDFLARE_API_TOKEN=<CLOUDFLARE_API_TOKEN>' -- uvx domain-setup-mcp==0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"domain-setup-mcp": {
"args": [
"domain-setup-mcp==0.3.0"
],
"command": "uvx",
"env": {
"CLOUDFLARE_API_TOKEN": "<CLOUDFLARE_API_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"domain-setup-mcp": {
"args": [
"domain-setup-mcp==0.3.0"
],
"command": "uvx",
"env": {
"CLOUDFLARE_API_TOKEN": "<CLOUDFLARE_API_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CLOUDFLARE_API_TOKEN",
"id": "cloudflare-api-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"domain-setup-mcp": {
"args": [
"domain-setup-mcp==0.3.0"
],
"command": "uvx",
"env": {
"CLOUDFLARE_API_TOKEN": "${input:cloudflare-api-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.domain-setup-mcp]
command = "uvx"
args = ["domain-setup-mcp==0.3.0"]
env = { "CLOUDFLARE_API_TOKEN" = "<CLOUDFLARE_API_TOKEN>" }For AI agents
- Ask the user for: CLOUDFLARE_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: domain_audit, domain_plan, domain_apply, domain_verify, domain_rollback.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json