Bunny CDN integration
Bunny CDN is bunny.net's account API for CDN and edge infrastructure. Create and configure pull zones with their hostnames, certificates, referrer and IP rules and edge rules, purge a single URL or a whole zone's cache, create and manage storage zones and video libraries, run DNS zones with their records, DNSSEC, import and export, and read edge, optimizer, DRM and transcription statistics plus billing summaries and payment records. This key is the ACCOUNT AccessKey: Bunny Stream uses its own video-library key and is a separate integration, and Edge Storage uses the storage zone password. Authentication is the AccessKey header.
Say what should happen.
The workflow builds itself.
Common Bunny CDN use cases
- account cleanup
- monitoring CDN usage
- security hardening
- cleanup after migration
- enforcing HTTPS
- adding DNS records
- managing DNS zones
- credential rotation
- blocking abusive IPs
- updating IP addresses
What you can do with Bunny CDN
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.
Pull zone, 10 operations
add_blocked_ipAdd blocked ipPOSTAdds an IP address to the block list of a Bunny CDN pull zone, denying it access to CDN content.check_pull_zone_availabilityCheck pull zone availabilityPOSTChecks if a pull zone name is available for use when creating a new Bunny CDN pull zone.create_pull_zoneCreate pull zonePOSTCreates a new Bunny CDN pull zone to cache and deliver content from your origin server. Configure geo zones, caching rules, and optimization settings.delete_pull_zoneDelete pull zoneDELETEPermanently deletes a Bunny CDN pull zone. Removes all configuration, hostnames, and stops serving content through this zone.get_pull_zoneGet pull zoneGETRetrieves detailed configuration and statistics for a specific Bunny CDN pull zone. Returns origin settings, caching rules, hostnames, and usage metrics.list_pull_zonesList pull zonesGETLists all CDN pull zones in your Bunny CDN account. Returns configuration details including origin URL, hostnames, caching settings, and traffic statistics.remove_blocked_ipRemove blocked ipPOSTRemoves an IP address from the block list of a Bunny CDN pull zone, restoring its access.reset_token_keyReset token keyPOSTResets the URL token authentication security key for a Bunny CDN pull zone. Optionally set a custom key.set_force_sslSet force sslPOSTEnables or disables Force SSL for a hostname on a Bunny CDN pull zone. Redirects all HTTP requests to HTTPS.update_pull_zoneUpdate pull zonePOSTUpdates configuration settings for an existing Bunny CDN pull zone. Modify origin URL, caching rules, security settings, and optimization options.
Statistic, 7 operations
get_dnszone_statisticsGet dnszone statisticsGETGet DNS Query Statistics.get_drm_statisticsGet drm statisticsGETGet Video Library DRM Statistics.get_optimizer_statisticsGet optimizer statisticsGETGet optimizer statistics.get_safehop_statisticsGet safehop statisticsGETGet SafeHop Statistics.get_statisticsGet statisticsGETRetrieves CDN usage statistics from Bunny CDN including bandwidth, requests, cache hit ratio, and geographic distribution for a specified date range.get_storagezone_statisticsGet storagezone statisticsGETGet Storage Zone Statistics.get_transcribing_statisticsGet transcribing statisticsGETGet Video Library Transcribing Statistics.
Storage zone, 7 operations
create_storage_zoneCreate storage zonePOSTCreates a new Bunny Storage zone for S3-compatible object storage. Configure primary region, geo-replication, and storage tier.delete_storage_zoneDelete storage zoneDELETEPermanently deletes a Bunny Storage zone and all files stored within it. This action cannot be undone.get_storage_zoneGet storage zoneGETRetrieves detailed information about a specific Bunny Storage zone including storage usage, replication regions, and linked pull zones.list_storage_zonesList storage zonesGETLists all Bunny Storage zones in your account. Storage zones provide scalable origin storage that integrates directly with CDN pull zones.reset_storage_zone_passwordReset storage zone passwordPOSTResets the access password for a Bunny Storage zone. A new password is automatically generated.reset_storage_zone_read_only_passwordReset storage zone read only passwordPOSTResets the read-only password for a Bunny Storage zone. A new read-only password is automatically generated.update_storage_zoneUpdate storage zonePOSTUpdates the configuration of an existing Bunny Storage zone including replication zones, origin URL, and 404 handling.
Dns zone, 5 operations
create_dns_zoneCreate dns zonePOSTCreates a new Bunny DNS zone for a domain. After creation, update your registrar's nameservers to Bunny.net nameservers.delete_dns_zoneDelete dns zoneDELETEPermanently deletes a Bunny DNS zone and all associated DNS records. This action cannot be undone.get_dns_zoneGet dns zoneGETRetrieves detailed information about a specific Bunny DNS zone including all DNS records and configuration.list_dns_zonesList dns zonesGETLists all Bunny DNS zones in your account. DNS zones allow managing DNS records for your domains through Bunny.net.update_dns_zoneUpdate dns zonePOSTUpdates the configuration of an existing Bunny DNS zone including nameservers, SOA email, and logging settings.
Videolibrary, 5 operations
create_videolibraryCreate videolibraryPOSTAdd Video Library.delete_videolibraryDelete videolibraryDELETEDelete Video Library.get_videolibraryGet videolibraryGETGet Video Library.list_videolibraryList videolibraryGETList Video Libraries.update_videolibraryUpdate videolibraryPOSTUpdate Video Library.
Dns record, 3 operations
add_dns_recordAdd dns recordPUTAdds a new DNS record to a Bunny DNS zone. Supports all standard record types including A, AAAA, CNAME, MX, TXT, SRV, and CAA.delete_dns_recordDelete dns recordDELETEDeletes a DNS record from a Bunny DNS zone. The record will no longer be served.update_dns_recordUpdate dns recordPOSTUpdates an existing DNS record in a Bunny DNS zone. Only provided fields are changed.
Add allowed referrer, 2 operations
add_pullzone_allowed_referrerAdd pullzone allowed referrerPOSTAdd Allowed Referer.add_videolibrary_allowed_referrerAdd videolibrary allowed referrerPOSTAdd Allowed Referer.
Add blocked referrer, 2 operations
add_pullzone_blocked_referrerAdd pullzone blocked referrerPOSTAdd Blocked Referer.add_videolibrary_blocked_referrerAdd videolibrary blocked referrerPOSTAdd Blocked Referer.
Cache, 2 operations
purge_cachePurge cachePOSTPurges all cached content from a Bunny CDN pull zone. Forces edge servers to fetch fresh content from origin on next request.purge_urlPurge urlPOSTPurges a specific URL from Bunny CDN cache across all edge locations. More targeted than full zone purge for individual file updates.
Certificate, 2 operations
add_custom_certificateAdd custom certificatePOSTUploads a custom SSL certificate for a hostname on a Bunny CDN pull zone. Use for EV, wildcard, or organization-specific certificates.load_free_certificateLoad free certificateGETProvisions and loads a free Let's Encrypt SSL certificate for a hostname on a Bunny CDN pull zone.
Checkavailability, 2 operations
check_dnszone_availabilityCheck dnszone availabilityPOSTCheck the DNS zone availability.check_storagezone_availabilityCheck storagezone availabilityPOSTCheck the storage zone availability.
Dnssec, 2 operations
disable_dnssecDisable dnssecDELETEDisable DNSSEC on a DNS Zone.enable_dnssecEnable dnssecPOSTEnable DNSSEC on a DNS Zone.
Hostname, 2 operations
add_hostnameAdd hostnamePOSTAdds a custom hostname to a Bunny CDN pull zone. Enables serving content through your own domain with automatic SSL certificate provisioning.remove_hostnameRemove hostnameDELETERemoves a custom hostname from a Bunny CDN pull zone. The hostname will no longer serve CDN content after removal.
Pdf, 2 operations
download_billing_summary_pdfDownload billing summary pdfGETGet Billing Summary Document.download_payment_request_invoiceDownload payment request invoiceGETDownload Payment Request Invoice PDF.
Region, 2 operations
list_regionsList regionsGETLists all available Bunny CDN edge regions with their geographic details, pricing, and routing capabilities.list_storage_regionsList storage regionsGETGet Storage Zone Regions.
Remove allowed referrer, 2 operations
remove_pullzone_allowed_referrerRemove pullzone allowed referrerPOSTRemove Allowed Referer.remove_videolibrary_allowed_referrerRemove videolibrary allowed referrerPOSTRemove Allowed Referer.
Remove blocked referrer, 2 operations
remove_pullzone_blocked_referrerRemove pullzone blocked referrerPOSTRemove Blocked Referer.remove_videolibrary_blocked_referrerRemove videolibrary blocked referrerPOSTRemove Blocked Referer.
Scan, 2 operations
get_dns_record_scanGet dns record scanGETGet the latest DNS record scan result for a DNS Zone.scan_domain_dns_recordsScan domain dns recordsPOSTTrigger a background scan for pre-existing DNS records. Can use ZoneId for existing zones or Domain for pre-zone creation scenarios.
Watermark, 2 operations
delete_videolibrary_watermarkDelete videolibrary watermarkDELETEDelete Watermark.set_videolibrary_watermarkSet videolibrary watermarkPUTAdd Watermark.
Add or update, 1 operation
add_or_update_edgeruleAdd or update edgerulePOSTAdd/Update Edge Rule.
Affiliate, 1 operation
get_affiliate_detailsGet affiliate detailsGETGet affiliate details.
Apikey, 1 operation
list_api_keysList api keysGETList API Keys.
Audit, 1 operation
get_user_auditGet user auditGETget audit.
Billing, 1 operation
get_billing_detailsGet billing detailsGETGet Billing Details.
Closeaccount, 1 operation
close_accountClose accountPOSTClose the account.
Complete external dns certificate, 1 operation
complete_pullzone_external_dns_certificateComplete pullzone external dns certificatePOSTComplete External DNS Certificate.
Complete external http certificate, 1 operation
complete_pullzone_external_http_certificateComplete pullzone external http certificatePOSTComplete External HTTP Certificate.
Count, 1 operation
get_pullzone_countGet pullzone countGETCount Pull Zones.
Country, 1 operation
list_countriesList countriesGETGet Country List.
Edgerule, 1 operation
delete_edgeruleDelete edgeruleDELETEDelete Edge Rule.
Egres, 1 operation
get_storagezone_egressGet storagezone egressGETGet Storage Zone Egress Statistics.
Export, 1 operation
export_dnszoneExport dnszoneGETlist export.
Import, 1 operation
import_dnszoneImport dnszonePOSTImport DNS Records.
Issue, 1 operation
issue_dnszone_certificateIssue dnszone certificatePOSTIssue new wildcard certificate.
Language, 1 operation
list_transcription_languagesList transcription languagesGETGet Languages.
Payment request, 1 operation
list_payment_requestsList payment requestsGETGet Pending Payment Requests.
Queuestatistic, 1 operation
get_originshield_queue_statisticsGet originshield queue statisticsGETGet Origin Shield Queue Statistics.
Record, 1 operation
list_dns_recordsList dns recordsGETList DNS Zone Records.
Remove certificate, 1 operation
remove_pullzone_certificateRemove pullzone certificateDELETERemove Certificate.
Request external dns certificate, 1 operation
request_pullzone_external_dns_certificateRequest pullzone external dns certificatePOSTRequest External DNS Certificate.
Request external http certificate, 1 operation
request_pullzone_external_http_certificateRequest pullzone external http certificatePOSTRequest External HTTP Certificate.
Reset api key, 1 operation
reset_videolibrary_api_keyReset videolibrary api keyPOSTReset API Key.
Reset read only api key, 1 operation
reset_videolibrary_read_only_api_keyReset videolibrary read only api keyPOSTReset Read Only API Key.
Search, 1 operation
search_accountSearch accountGETGlobal Search.
Set edge rule enabled, 1 operation
set_edgerule_enabledSet edgerule enabledPOSTSet Edge Rule Enabled.
Summary, 1 operation
get_billing_summaryGet billing summaryGETGet Billing Summary.
Update private key type, 1 operation
update_pullzone_private_key_typeUpdate pullzone private key typePOSTChange hostname private key type.
Use Bunny CDN from Claude Code, Cursor or Codex
Connect Bunny CDN in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Bunny CDN 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 Bunny CDN
- Create your workspace
Sign up free. Nothing to install.
- Connect Bunny CDN once
Add your Bunny CDN 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.
Bunny CDN integration FAQ
What can you do with the Bunny CDN integration?
LiveContext exposes 91 operations on Bunny CDN, covering pull zone, statistic, storage zone and dns zone. Common uses include account cleanup, monitoring CDN usage and security hardening.
