get_nameservers
Get current nameservers for a domain
How to use it
get_nameservers is exposed by the Porkbun MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_nameservers tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Porkbun MCP
npx -y @porkbunllc/mcp-serverOther tools in Porkbun MCP (39)
Check availability and pricing for a single domain
Create a new DNS record (A, AAAA, CNAME, MX, TXT, etc.)
Submit a DNSSEC DS record to the registry
Create a glue record (host-to-IP mapping at the registry)
Create a URL forwarding rule (permanent/temporary/masked; optional redirecttype 301/302/307/masked)
Delete a DNS record by its ID
Remove a DNSSEC DS record by key tag
Delete a URL forwarding rule by ID
Get monthly spend limit, low-balance alert, auto top-up config, MTD spend
Get account credit balance
Get a domain's four contacts (registrant/admin/tech/billing) with current values
Get metadata for a single domain in the account
Get registration/renewal/transfer pricing for all TLDs (no auth needed)
TLD registration requirements as JSON Schema — is it API-registerable, the create payload, and registry eligibility fields (.us nexus, .ca legal type, …)
Retrieve the free Porkbun-issued SSL bundle for a domain
Get status of a specific inbound transfer
Get a single webhook endpoint by id
Get a single delivery incl. the full signed payload
List the event types a webhook endpoint can subscribe to
List DNS records for a domain
List DNSSEC DS records published at the registry
List Porkbun API doc topics (the docs index)
Paginate through domains; filter by tld, expiry, auto-renew, API access
List glue records (host-to-IP mappings) for a domain
Browse the Porkbun aftermarket — filter by TLD, max price, name substring
List in-progress and recent inbound transfers
List URL forwarding rules for a domain (incl. exact redirectType: 301/302/307/masked)
List recent delivery attempts (status, attempts, HTTP, error); ~30-day history
List webhook endpoints (URL, events, status, delivery health, secret)
Verify API connectivity and credentials
Read a doc page as Markdown (dns, webhooks, … or overview/full)
Register a new domain — call checkdomain first to confirm price
Renew an existing domain
Keyword-search the full reference; returns the most relevant sections
Initiate an inbound transfer (returns transferId; takes 5-7 days)
Turn auto-renewal on or off
Edit domain contacts — any subset of registrant/admin/tech/billing; a registrant change fires the new-owner notice email. On address-validated TLDs (.de/.nrw/.uk/.us/.ca/.au/.eu/.in/.nz families) it validates the registrant address — resolve with addressvalidationchoice. A .au registrant name/org ch
Update an existing DNS record by its ID
Replace the nameserver list for a domain (full replace, not append)