KeyCDN integration
KeyCDN is a high-performance content delivery network designed for speed and simplicity. Offers global edge locations, instant purge, real-time analytics, image processing, Let's Encrypt SSL, and HTTP/2 support. Features include zone aliases, origin shield, hotlink protection, and token authentication. Ideal for websites, applications, and streaming media delivery with a pay-as-you-go pricing model.
Common KeyCDN use cases
- enabling hotlink protection
- monitoring CDN usage
- removing unused zones
- updating single asset
- changing origin server
- changing alias hostname
- managing custom domains
- removing referrer rules
- removing unused aliases
- using custom CDN domain
What you can do with KeyCDN
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Statistics, 5 operations
- GETget_credits_statistics
Retrieves credit usage statistics from KeyCDN. Shows how credits are consumed across traffic, storage, zones, and payments.
- GETget_image_processing_statistics
Retrieves image processing statistics from KeyCDN. Shows the number of real-time image transformations performed.
- GETget_status_statistics
Retrieves HTTP status code and cache hit/miss statistics from KeyCDN. Shows cache performance and error rates.
- GETget_storage_statistics
Retrieves storage usage statistics from KeyCDN for push zones. Shows storage consumed in bytes over time.
- GETget_traffic_statistics
Retrieves traffic statistics from KeyCDN including bandwidth usage for a specified time range.
Zone, 5 operations
- POSTcreate_zone
Creates a new KeyCDN zone to cache and deliver content. Configure as pull zone (fetch from origin) or push zone (direct upload storage).
- DELETEdelete_zone
Permanently deletes a KeyCDN zone. Removes all configuration and stops serving content through this zone.
- GETget_zone
Retrieves detailed configuration and statistics for a specific KeyCDN zone. Returns origin settings, caching rules, SSL status, and zone parameters.
- GETlist_zones
Lists all CDN zones in your KeyCDN account. Returns zone configuration including name, origin URL, status, and traffic statistics.
- PUTupdate_zone
Updates configuration settings for an existing KeyCDN zone. Modify origin URL, caching rules, security settings, and optimization options.
Zone alias, 4 operations
- POSTcreate_zone_alias
Adds a custom domain alias to a KeyCDN zone. Enables serving content through your own domain with automatic SSL certificate provisioning.
- DELETEdelete_zone_alias
Deletes a zone alias from KeyCDN. The custom domain will no longer serve CDN content.
- GETlist_zone_aliases
Lists all custom domain aliases configured in KeyCDN. Zone aliases enable serving CDN content through your own domain names.
- PUTupdate_zone_alias
Updates an existing zone alias in KeyCDN. Modify the custom hostname or reassign the alias to a different zone.
Zone referrer, 4 operations
- POSTcreate_zone_referrer
Adds a zone referrer entry in KeyCDN for hotlink protection. Works with zone blockreferrer setting to control access by referrer domain.
- DELETEdelete_zone_referrer
Deletes a zone referrer entry from KeyCDN. Removes the referrer domain from hotlink protection rules.
- GETlist_zone_referrers
Lists all zone referrer entries in KeyCDN. Zone referrers define allowed or blocked referrer domains for hotlink protection.
- PUTupdate_zone_referrer
Updates a zone referrer entry in KeyCDN. Modify the referrer domain or reassign to a different zone.
Cache, 2 operations
- DELETEpurge_url
Purges specific URLs from KeyCDN cache. More targeted than full zone purge for individual file updates.
- GETpurge_zone_cache
Purges all cached content for a KeyCDN zone across all edge locations. Forces fresh content to be fetched from origin.
Credit, 1 operation
- GETget_credit_balance
Retrieves the current credit balance for your KeyCDN account. Shows available prepaid credits for CDN usage.
Use KeyCDN from Claude Code, Cursor or Codex
Connect KeyCDN in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its KeyCDN operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect KeyCDN
Create your workspace
Sign up free. Nothing to install.
Connect KeyCDN once
Add your KeyCDN connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
KeyCDN integration FAQ
- What can you do with the KeyCDN integration?
- LiveContext exposes 21 operations on KeyCDN, covering statistics, zone, zone alias and zone referrer. Common uses include enabling hotlink protection, monitoring CDN usage and removing unused zones.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…