Home / Servers / DigitalOcean API / domains_list_records

List All Domain Records

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

List All Domain Records To get a listing of all records configured for a domain, send a GET request to /v2/domains/$DOMAIN_NAME/records. The list of records returned can be filtered by using the name and type query… [GET /v2/domains/{domain_name}/records]

Name on the gateway: digitalocean_api__domains_list_records · read-only.

Parameters

NameTypeDescription
domain_name requiredstringThe name of the domain itself.
namestringA fully qualified record name. For example, to only include records matching…
typeA | AAAA | CAA | CNAME | MX | NS | SOA | SRV | TXTThe type of the DNS record. For example: A, CNAME, TXT, ...
per_pageintegerNumber of items returned per page
pageintegerWhich 'page' of paginated results to return.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__domains_list_records",
  "arguments": {
    "domain_name": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list all domain records tool with domain_name set to ….

More from DigitalOcean API