Home / Servers / DigitalOcean API / cdn_create_endpoint

Create a New CDN Endpoint

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

Create a New CDN Endpoint To create a new CDN endpoint, send a POST request to /v2/cdn/endpoints. The origin attribute must be set to the fully qualified domain name (FQDN) of a DigitalOcean Space. Optionally, the TTL may be… [POST /v2/cdn/endpoints]

Name on the gateway: digitalocean_api__cdn_create_endpoint · may change things.

Parameters

NameTypeDescription
idstringA unique ID that can be used to identify and reference a CDN endpoint.
origin requiredstringThe fully qualified domain name (FQDN) for the origin server which provides…
endpointstringThe fully qualified domain name (FQDN) from which the CDN-backed content is…
ttl60 | 600 | 3600 | 86400 | 604800The amount of time the content is cached by the CDN's edge servers in seconds.…
certificate_idstringThe ID of a DigitalOcean managed TLS certificate used for SSL when a custom…
custom_domainstringThe fully qualified domain name (FQDN) of the custom subdomain used with the…
created_atstringA time value given in ISO8601 combined date and time format that represents…

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__cdn_create_endpoint",
  "arguments": {
    "origin": "…"
  }
}

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 cdn endpoint tool with id set to ….

More from DigitalOcean API