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.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
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 ipPOSTAgents: ask firstAdds 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 availabilityPOSTAgents: ask firstChecks if a pull zone name is available for use when creating a new Bunny CDN pull zone.create_pull_zoneCreate pull zonePOSTAgents: ask firstCreates 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 zoneDELETEAgents: ask firstPermanently deletes a Bunny CDN pull zone. Removes all configuration, hostnames, and stops serving content through this zone.get_pull_zoneGet pull zoneGETAgents: ask firstRetrieves detailed configuration and statistics for a specific Bunny CDN pull zone. Returns origin settings, caching rules, hostnames, and usage metrics.list_pull_zonesList pull zonesGETAgents: ask firstLists 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 ipPOSTAgents: ask firstRemoves an IP address from the block list of a Bunny CDN pull zone, restoring its access.reset_token_keyReset token keyPOSTAgents: ask firstResets the URL token authentication security key for a Bunny CDN pull zone. Optionally set a custom key.set_force_sslSet force sslPOSTAgents: ask firstEnables or disables Force SSL for a hostname on a Bunny CDN pull zone. Redirects all HTTP requests to HTTPS.update_pull_zoneUpdate pull zonePOSTAgents: ask firstUpdates 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 statisticsGETAgents: ask firstGet DNS Query Statistics.get_drm_statisticsGet drm statisticsGETAgents: ask firstGet Video Library DRM Statistics.get_optimizer_statisticsGet optimizer statisticsGETAgents: ask firstGet optimizer statistics.get_safehop_statisticsGet safehop statisticsGETAgents: ask firstGet SafeHop Statistics.get_statisticsGet statisticsGETAgents: ask firstRetrieves CDN usage statistics from Bunny CDN including bandwidth, requests, cache hit ratio, and geographic distribution for a specified date range.get_storagezone_statisticsGet storagezone statisticsGETAgents: ask firstGet Storage Zone Statistics.get_transcribing_statisticsGet transcribing statisticsGETAgents: ask firstGet Video Library Transcribing Statistics.
Storage zone, 7 operations
create_storage_zoneCreate storage zonePOSTAgents: ask firstCreates a new Bunny Storage zone for S3-compatible object storage. Configure primary region, geo-replication, and storage tier.delete_storage_zoneDelete storage zoneDELETEAgents: ask firstPermanently deletes a Bunny Storage zone and all files stored within it. This action cannot be undone.get_storage_zoneGet storage zoneGETAgents: ask firstRetrieves detailed information about a specific Bunny Storage zone including storage usage, replication regions, and linked pull zones.list_storage_zonesList storage zonesGETAgents: ask firstLists 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 passwordPOSTAgents: ask firstResets the access password for a Bunny Storage zone. A new password is automatically generated.reset_storage_zone_read_only_passwordReset storage zone read only passwordPOSTAgents: ask firstResets the read-only password for a Bunny Storage zone. A new read-only password is automatically generated.update_storage_zoneUpdate storage zonePOSTAgents: ask firstUpdates the configuration of an existing Bunny Storage zone including replication zones, origin URL, and 404 handling.
Dns zone, 5 operations
create_dns_zoneCreate dns zonePOSTAgents: ask firstCreates a new Bunny DNS zone for a domain. After creation, update your registrar's nameservers to Bunny.net nameservers.delete_dns_zoneDelete dns zoneDELETEAgents: ask firstPermanently deletes a Bunny DNS zone and all associated DNS records. This action cannot be undone.get_dns_zoneGet dns zoneGETAgents: ask firstRetrieves detailed information about a specific Bunny DNS zone including all DNS records and configuration.list_dns_zonesList dns zonesGETAgents: ask firstLists all Bunny DNS zones in your account. DNS zones allow managing DNS records for your domains through Bunny.net.update_dns_zoneUpdate dns zonePOSTAgents: ask firstUpdates the configuration of an existing Bunny DNS zone including nameservers, SOA email, and logging settings.
Videolibrary, 5 operations
create_videolibraryCreate videolibraryPOSTAgents: ask firstAdd Video Library.delete_videolibraryDelete videolibraryDELETEAgents: ask firstDelete Video Library.get_videolibraryGet videolibraryGETAgents: ask firstGet Video Library.list_videolibraryList videolibraryGETAgents: ask firstList Video Libraries.update_videolibraryUpdate videolibraryPOSTAgents: ask firstUpdate Video Library.
Dns record, 3 operations
add_dns_recordAdd dns recordPUTAgents: ask firstAdds 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 recordDELETEAgents: ask firstDeletes a DNS record from a Bunny DNS zone. The record will no longer be served.update_dns_recordUpdate dns recordPOSTAgents: ask firstUpdates 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 referrerPOSTAgents: ask firstAdd Allowed Referer.add_videolibrary_allowed_referrerAdd videolibrary allowed referrerPOSTAgents: ask firstAdd Allowed Referer.
Add blocked referrer, 2 operations
add_pullzone_blocked_referrerAdd pullzone blocked referrerPOSTAgents: ask firstAdd Blocked Referer.add_videolibrary_blocked_referrerAdd videolibrary blocked referrerPOSTAgents: ask firstAdd Blocked Referer.
Cache, 2 operations
purge_cachePurge cachePOSTAgents: ask firstPurges all cached content from a Bunny CDN pull zone. Forces edge servers to fetch fresh content from origin on next request.purge_urlPurge urlPOSTAgents: ask firstPurges 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 certificatePOSTAgents: ask firstUploads 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 certificateGETAgents: ask firstProvisions 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 availabilityPOSTAgents: ask firstCheck the DNS zone availability.check_storagezone_availabilityCheck storagezone availabilityPOSTAgents: ask firstCheck the storage zone availability.
Dnssec, 2 operations
disable_dnssecDisable dnssecDELETEAgents: ask firstDisable DNSSEC on a DNS Zone.enable_dnssecEnable dnssecPOSTAgents: ask firstEnable DNSSEC on a DNS Zone.
Hostname, 2 operations
add_hostnameAdd hostnamePOSTAgents: ask firstAdds a custom hostname to a Bunny CDN pull zone. Enables serving content through your own domain with automatic SSL certificate provisioning.remove_hostnameRemove hostnameDELETEAgents: ask firstRemoves 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 pdfGETAgents: ask firstGet Billing Summary Document.download_payment_request_invoiceDownload payment request invoiceGETAgents: ask firstDownload Payment Request Invoice PDF.
Region, 2 operations
list_regionsList regionsGETAgents: ask firstLists all available Bunny CDN edge regions with their geographic details, pricing, and routing capabilities.list_storage_regionsList storage regionsGETAgents: ask firstGet Storage Zone Regions.
Remove allowed referrer, 2 operations
remove_pullzone_allowed_referrerRemove pullzone allowed referrerPOSTAgents: ask firstRemove Allowed Referer.remove_videolibrary_allowed_referrerRemove videolibrary allowed referrerPOSTAgents: ask firstRemove Allowed Referer.
Remove blocked referrer, 2 operations
remove_pullzone_blocked_referrerRemove pullzone blocked referrerPOSTAgents: ask firstRemove Blocked Referer.remove_videolibrary_blocked_referrerRemove videolibrary blocked referrerPOSTAgents: ask firstRemove Blocked Referer.
Scan, 2 operations
get_dns_record_scanGet dns record scanGETAgents: ask firstGet the latest DNS record scan result for a DNS Zone.scan_domain_dns_recordsScan domain dns recordsPOSTAgents: ask firstTrigger 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 watermarkDELETEAgents: ask firstDelete Watermark.set_videolibrary_watermarkSet videolibrary watermarkPUTAgents: ask firstAdd Watermark.
Add or update, 1 operation
add_or_update_edgeruleAdd or update edgerulePOSTAgents: ask firstAdd/Update Edge Rule.
Affiliate, 1 operation
get_affiliate_detailsGet affiliate detailsGETAgents: ask firstGet affiliate details.
Apikey, 1 operation
list_api_keysList api keysGETAgents: ask firstList API Keys.
Audit, 1 operation
get_user_auditGet user auditGETAgents: ask firstget audit.
Billing, 1 operation
get_billing_detailsGet billing detailsGETAgents: ask firstGet Billing Details.
Closeaccount, 1 operation
close_accountClose accountPOSTAgents: ask firstClose the account.
Complete external dns certificate, 1 operation
complete_pullzone_external_dns_certificateComplete pullzone external dns certificatePOSTAgents: ask firstComplete External DNS Certificate.
Complete external http certificate, 1 operation
complete_pullzone_external_http_certificateComplete pullzone external http certificatePOSTAgents: ask firstComplete External HTTP Certificate.
Count, 1 operation
get_pullzone_countGet pullzone countGETAgents: ask firstCount Pull Zones.
Country, 1 operation
list_countriesList countriesGETAgents: ask firstGet Country List.
Edgerule, 1 operation
delete_edgeruleDelete edgeruleDELETEAgents: ask firstDelete Edge Rule.
Egres, 1 operation
get_storagezone_egressGet storagezone egressGETAgents: ask firstGet Storage Zone Egress Statistics.
Export, 1 operation
export_dnszoneExport dnszoneGETAgents: ask firstlist export.
Import, 1 operation
import_dnszoneImport dnszonePOSTAgents: ask firstImport DNS Records.
Issue, 1 operation
issue_dnszone_certificateIssue dnszone certificatePOSTAgents: ask firstIssue new wildcard certificate.
Language, 1 operation
list_transcription_languagesList transcription languagesGETAgents: ask firstGet Languages.
Payment request, 1 operation
list_payment_requestsList payment requestsGETAgents: ask firstGet Pending Payment Requests.
Queuestatistic, 1 operation
get_originshield_queue_statisticsGet originshield queue statisticsGETAgents: ask firstGet Origin Shield Queue Statistics.
Record, 1 operation
list_dns_recordsList dns recordsGETAgents: ask firstList DNS Zone Records.
Remove certificate, 1 operation
remove_pullzone_certificateRemove pullzone certificateDELETEAgents: ask firstRemove Certificate.
Request external dns certificate, 1 operation
request_pullzone_external_dns_certificateRequest pullzone external dns certificatePOSTAgents: ask firstRequest External DNS Certificate.
Request external http certificate, 1 operation
request_pullzone_external_http_certificateRequest pullzone external http certificatePOSTAgents: ask firstRequest External HTTP Certificate.
Reset api key, 1 operation
reset_videolibrary_api_keyReset videolibrary api keyPOSTAgents: ask firstReset API Key.
Reset read only api key, 1 operation
reset_videolibrary_read_only_api_keyReset videolibrary read only api keyPOSTAgents: ask firstReset Read Only API Key.
Search, 1 operation
search_accountSearch accountGETAgents: ask firstGlobal Search.
Set edge rule enabled, 1 operation
set_edgerule_enabledSet edgerule enabledPOSTAgents: ask firstSet Edge Rule Enabled.
Summary, 1 operation
get_billing_summaryGet billing summaryGETAgents: ask firstGet Billing Summary.
Update private key type, 1 operation
update_pullzone_private_key_typeUpdate pullzone private key typePOSTAgents: ask firstChange 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.
