Ranked Guide9 min readUpdated · Published

Best MCPs for DNS Management in 2026 (Records, Propagation, DNSSEC)

The best MCP for DNS management is the one that serves your zone, judged on how safely it writes: Cloudflare's hosted server for Cloudflare zones, Porkbun for idempotent upserts that start read-only, Hostinger for merge-by-default updates with snapshots, Name.com for per-record writes rehearsed in a sandbox, Vercel for Vercel-managed domains, and the Namecheap API server for Namecheap zones. Whatever you pick, add IntoDNS — the one server here that verifies propagation across nine resolvers instead of trusting a single cached answer.

Scope: this ranks MCP tools that let an AI agent change and verify DNS on an account you already hold — it is not a ranking of registrars or DNS hosts, and it does not tell you where to register a domain. That is a separate decision this page does not make.

Three shapes of DNS write, and why the shape matters more than the tool count

Every server here can add an A record. They differ in what happens when the agent retries, or sends a partial list. Per-record writes (Name.com, Cloudflare, Vercel's update_record) change one thing and leave the rest alone. Declarative writes (Porkbun's dns_upsert and dns_batch_apply) say what the zone should look like and let the server reconcile, so a retried call is harmless. Full-replace writes (Namecheap's set_dns_hosts, Hostinger with overwrite, Vercel's BIND replace) delete whatever the agent did not include — the quiet way an agent takes down mail for a domain while "just adding a CNAME". Pick a server by which shape it gives you, then teach the agent to read before it writes.

The ranked picks

Six servers that write, then the one that verifies. Ranked by write safety and coverage, not by the company behind them.

#1

Cloudflare

Hosted, Code Mode5 min setup

For zones that live on Cloudflare, the hosted Cloudflare MCP is the widest DNS surface an agent can get: the whole DNS records API — list, create, update, delete, zone settings, DNSSEC — reached through search and execute, with the credential scoped to one zone and DNS edit over OAuth or a bearer token. There is no named dns_create tool to pick from; the agent finds the endpoint in the spec and calls it, which suits a capable model and confuses a small one.

Best for: Zones served by Cloudflare, especially records that point at Workers, Pages and R2 on the same account.

Not ideal for: Zones held elsewhere, and clients or models that need a fixed tool name per operation.

Full details and install guide
#2

Porkbun

Local, stdio5 min setup

The best-designed DNS write model in the category. dns_upsert creates or updates a record matched by a selector, so a retried call cannot duplicate it; dns_batch_apply applies a full desired-record set to a zone; domain_cutover_web moves a domain's web records to a new target in one step; dnssec_create adds a DS record. The server starts read-only and stays that way until you pass --get-muddy, which is exactly the default an agent should meet.

Best for: Declarative zones, host cutovers, and any agent loop that might retry a write.

Not ideal for: Domains held elsewhere. API access has to be enabled per domain in the Porkbun panel first.

Full details and install guide
#3

Hostinger

Local or HTTP, search-and-execute10 min setup

On a Hostinger zone the agent finds dns_records_list, dns_records_update, dns_records_validate and dns_records_delete with search and runs them with execute. Two details make it safe: dns_records_update merges unless overwrite is true, and dns_snapshots_get with dns_snapshots_restore give the agent a real undo. Validate before applying, and snapshot before anything with overwrite.

Best for: Zones on Hostinger, where the same server also deploys the site the records point at.

Not ideal for: Domains held elsewhere; unattended runs with overwrite or dns_records_reset reachable.

Full details and install guide
#4

Name.com

Local, stdio5 min setup

The official server groups DNS into ManageDNS (list, get, create, update, delete by record id), ManageDNSSECs (list, get, create, delete) and ManageVanityNameservers, with ManageDomains carrying setNameservers for delegation. Every write is per record, so there is no full-replace trap, and the server targets Name.com's test environment until you set NAME_API_URL to production.

Best for: Per-record DNS and DNSSEC changes on Name.com domains, rehearsed in the sandbox first.

Not ideal for: Domains held elsewhere. The tools ship without top-level descriptions, so clients that show only those show blanks.

Full details and install guide
#5

Vercel (MCP server)

Hosted, OAuth5 min setup

For domains whose DNS Vercel manages, the official Vercel MCP edits a record with update_record, reads one with get_domains_records_by_record_id, and replaces the whole zone from a BIND file with replace_domains_by_domain_records — a full replace, so read first. It also lists and issues certificates. The DNS tools apply only to Vercel-managed names; for a domain hosted elsewhere the agent still adds it to the project with add_project_domain and writes the records at the registrar.

Best for: Sites on Vercel whose domain DNS is also on Vercel — project attachment, records and certificates from one connection.

Not ideal for: Zones at another DNS host; the BIND replace tool in an unattended loop.

Full details and install guide
#6

Namecheap API MCP

Local, stdio10 min setup

The community server is the only headless path to a Namecheap zone. get_dns_hosts reads every host record; set_dns_hosts writes them — all of them, because Namecheap's API replaces the full set and deletes anything you omit. set_custom_nameservers and set_default_dns handle delegation. Read, merge, write is the only safe pattern here.

Best for: Namecheap portfolios driven from Claude, Cursor or any non-ChatGPT client.

Not ideal for: Anyone who cannot allow-list a stable source IP, which the Namecheap API requires.

Full details and install guide
#7

IntoDNS

Local or hosted, no key2 min setup

The verification half that every writing server above leaves out. check_dns_propagation asks nine resolvers and shows where they disagree; lookup_dns reads any record type over DNS-over-HTTPS; validate_dnssec walks the chain from the root; check_spf counts the lookup budget, discover_dkim probes selectors, check_dmarc rates the policy, check_smtp_tls tests every MX; generate_dns_fix and generate_dmarc return the record that fixes what they find. It writes nothing and needs no signup.

Best for: The step after any DNS change, and email-deliverability audits before a migration.

Not ideal for: Making changes — it cannot write to a zone, by design.

Full details and install guide

Keep approval on production zones — especially MX and SPF

DNS is quiet until it is not. An agent editing an MX or SPF record on a live zone can break mail delivery until propagation catches up, with no error at the moment of the change. Run production changes with human approval, read the zone before every write, and confirm propagation with a server that asks more than one resolver before you trust the result.

Write model per server

MCPHow it writesFull-replace riskDNSSECVerifies?
CloudflareAPI call per record through executeOnly if the agent scripts a batch that deletesYes, via the zone DNSSEC endpointsNot built in — pair with IntoDNS
Porkbundns_upsert / dns_batch_apply, declarativedns_batch_apply applies a full desired set — read firstdnssec_createdomain_health_check
Hostingerdns_records_update, merge by defaultoverwrite = true replaces the zone; dns_records_reset wipes it; snapshots restoreNot verifieddns_records_validate before applying
Name.comManageDNS create / update / delete by record idNoneManageDNSSECsNot built in
Vercel (MCP server)update_record by id, or replace_domains_by_domain_records (BIND)The BIND tool is a full replaceNot documentedNot built in
Namecheap API MCPset_dns_hostsAlways — anything omitted is deletedNot exposedget_dns_hosts reads back one source only
IntoDNSNone — diagnostics—validate_dnsseccheck_dns_propagation across nine resolvers

The verify step, and the prompt that makes it happen

The agent's instinct after writing a record is to read it back from the same server and declare success. That reads one resolver, often the authoritative one, and tells you nothing about what the rest of the internet sees. The fix is one extra server and one sentence in the prompt.

After you change any DNS record, wait for me to say "check",
then use IntoDNS check_dns_propagation on that name and
record type. Report which of the nine resolvers agree. Do
not edit the record again unless I ask.

Frequently asked questions

What is the best MCP server for managing DNS with an AI agent?

The one that serves your zone: the hosted Cloudflare MCP for Cloudflare zones, Porkbun for the safest write model (idempotent upserts, read-only until enabled), Hostinger for merge-by-default updates with snapshots to restore, Name.com for per-record writes rehearsed in a sandbox, Vercel for domains whose DNS Vercel manages, and the Namecheap API server for Namecheap zones. Add IntoDNS whichever you pick — it is the only one that checks propagation across nine resolvers.

Can an AI agent manage DNS records like SPF, DKIM, MX and DMARC?

Yes. Every writing server here creates and edits TXT and MX records. The mistake to guard against is not the write but the verify: an agent that re-reads its own change five seconds later sees a cached answer. IntoDNS covers the email side specifically — check_spf counts the ten-lookup budget that silently breaks mail, discover_dkim finds live selectors, check_dmarc rates the policy, and generate_dmarc returns the record to paste.

Which servers replace the whole zone instead of editing one record?

Three, and they are the biggest source of agent-caused outages in this category. Namecheap's set_dns_hosts always replaces the full record set. Hostinger's dns_records_update replaces it when overwrite is true, and dns_records_reset wipes it. Vercel's replace_domains_by_domain_records takes a BIND zone file and replaces everything. On all three the pattern is read first, merge, then write the complete set — or prefer a per-record tool where the server has one.

How does an agent verify that a DNS change propagated?

Not by re-reading the record from one resolver, which is what it will do by default. IntoDNS's check_dns_propagation queries nine resolvers and reports where they still disagree; lookup_dns reads the record over DNS-over-HTTPS from outside your network. Wait a few minutes before the first check — a change that shows old data one minute after the write is normal, not broken.

Do any of these run headless, outside a chat window?

All of the ranked servers do. Porkbun, Name.com, Hostinger and the Namecheap API server run locally over stdio; Cloudflare and Vercel are hosted endpoints an agent reaches over HTTP with OAuth or a token; IntoDNS offers both. That is what makes a scheduled "reconcile the zone to this desired state" job possible. The GoDaddy and Namecheap ChatGPT Apps also edit DNS, but only inside a ChatGPT conversation.

Do these servers choose a DNS host or registrar for me?

No — and that is not what this page ranks. These are the tools an agent uses to change and verify DNS on an account you already hold. Where to host DNS, and which registrar to buy from, are separate decisions this guide does not make.

Next steps

Point a domain at a host step by step, see which servers can register a name and spend money, or browse the full Domains category.

Related guides

Browse all 64 guides