Home / Servers / DigitalOcean API / images_create_custom

Create a Custom Image

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

Create a Custom Image To create a new custom image, send a POST request to /v2/images. The body must contain a url attribute pointing to a Linux virtual machine image to be imported into DigitalOcean. The image must be… [POST /v2/images]

Name on the gateway: digitalocean_api__images_create_custom · may change things.

Parameters

NameTypeDescription
name requiredstringThe display name that has been given to an image. This is what is shown in the…
distributionArch Linux | CentOS | CoreOS | Debian | Fedora | Fedora Atomic | FreeBSD | Gentoo | openSUSE | RancherOS | Rocky Linux | Ubuntu | UnknownThe name of a custom image's distribution. Currently, the valid values are…
descriptionstringAn optional free-form text field to describe an image.
url requiredstringA URL from which the custom Linux virtual machine image may be retrieved. The…
region requiredams1 | ams2 | ams3 | blr1 | fra1 | lon1 | nyc1 | nyc2 | nyc3 | sfo1 | sfo2 | sfo3 | sgp1 | tor1 | syd1The slug identifier for the region where the resource will initially be…
tagsarrayA flat array of tag names as strings to be applied to the resource. Tag names…

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__images_create_custom",
  "arguments": {
    "name": "…",
    "url": "…",
    "region": "…"
  }
}

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 custom image tool with name set to ….

More from DigitalOcean API