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
| Name | Type | Description |
|---|---|---|
id | string | A unique ID that can be used to identify and reference a CDN endpoint. |
origin required | string | The fully qualified domain name (FQDN) for the origin server which provides… |
endpoint | string | The fully qualified domain name (FQDN) from which the CDN-backed content is… |
ttl | 60 | 600 | 3600 | 86400 | 604800 | The amount of time the content is cached by the CDN's edge servers in seconds.… |
certificate_id | string | The ID of a DigitalOcean managed TLS certificate used for SSL when a custom… |
custom_domain | string | The fully qualified domain name (FQDN) of the custom subdomain used with the… |
created_at | string | A 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:
{
"name": "digitalocean_api__cdn_create_endpoint",
"arguments": {
"origin": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 ….