Home / Servers / DigitalOcean API / domains_create

Create a New Domain

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

Create a New Domain To create a new domain, send a POST request to /v2/domains. Set the "name" attribute to the domain name you are adding. Optionally, you may set the "ip_address" attribute, and an A record will be… [POST /v2/domains]

Name on the gateway: digitalocean_api__domains_create · may change things.

Parameters

NameTypeDescription
namestringThe name of the domain itself. This should follow the standard domain format…
ip_addressstringThis optional attribute may contain an IP address. When provided, an A record…
ttlintegerThis value is the time to live for the records on this domain, in seconds.…
zone_filestringThis attribute contains the complete contents of the zone file for the…

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_create",
  "arguments": {}
}

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 create a new domain tool with name set to ….

More from DigitalOcean API