# Bunnycdn

```json
{
  "name": "Bunnycdn",
  "slug": "bunnycdn",
  "url": "https://composio.dev/toolkits/bunnycdn",
  "markdown_url": "https://composio.dev/toolkits/bunnycdn.md",
  "logo_url": "https://logos.composio.dev/api/bunnycdn",
  "categories": [
    "developer tools & devops"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-05-12T10:04:36.432Z"
}
```

![Bunnycdn logo](https://logos.composio.dev/api/bunnycdn)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Bunnycdn MCP or direct API to upload files, purge cache, fetch CDN analytics, and manage storage zones through natural language.

## Summary

BunnyCDN is a global content delivery network offering easy API-based content management. It accelerates your site and app performance by distributing files closer to your users.

## Categories

- developer tools & devops

## Toolkit Details

- Tools: 126

## Images

- Logo: https://logos.composio.dev/api/bunnycdn

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for BunnyCDN.
  - Setup:
    - Configure Api Key credentials for BunnyCDN.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Create a new pull zone for static assets
- List all DNS zones in my BunnyCDN account
- Delete a storage zone by its ID
- Get details for a specific pull zone

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `BUNNYCDN_ADD_ALLOWED_REFERER` | Add Allowed Referer | Adds a hostname to the allowed referer list for a pull zone. Use this action to restrict content access by configuring referer-based security. Only requests with a Referer header matching one of the allowed hostnames will be able to access the pull zone content. This helps prevent hotlinking and unauthorized content usage from other websites. |
| `BUNNYCDN_ADD_BLOCKED_IP` | Add Blocked IP | Tool to add an IP address to the blocked list of a pull zone. Use when you need to restrict access from specific IPs to prevent unwanted traffic. |
| `BUNNYCDN_ADD_BLOCKED_REFERER` | Add Blocked Referer | Tool to add a blocked referer to a pull zone. Use when you need to prevent specific domains from hotlinking or accessing content from your CDN. |
| `BUNNYCDN_ADD_STORAGE_ZONE` | Add Storage Zone | Tool to add a new storage zone. Use when you need dedicated file storage in a specific region. Zone creation is irreversible — confirm Name, Region, and ZoneTier before executing. |
| `BUNNYCDN_ADD_UPDATE_EDGE_RULE` | Add/Update Edge Rule | Tool to add or update edge rules in a BunnyCDN pull zone for advanced traffic control. Edge rules allow conditional request processing based on triggers like URL patterns, headers, country codes, or IP addresses. Each rule can perform actions like forcing SSL, redirecting, setting headers, overriding cache TTL, or blocking requests. Common use cases: - Force HTTPS: ActionType=force_ssl with URL trigger '/*' - Redirect old URLs: ActionType=redirect with specific URL pattern - Cache API responses: ActionType=override_cache_time for '/api/*' paths - Block specific countries: ActionType=block_request with country code trigger - Add security headers: ActionType=set_response_header for CORS/CSP headers To update an existing rule, provide the Guid from the creation response or from listing rules. |
| `BUNNYCDN_CHECK_DNS_ZONE_AVAILABILITY` | Check DNS Zone Availability | Tool to check if a DNS zone name is available for registration. Use before creating a new DNS zone to verify the domain name is not already in use. |
| `BUNNYCDN_CHECK_PULL_ZONE_AVAILABILITY` | Check Pull Zone Availability | Tool to check if a pull zone name is available for registration. Use before creating a new pull zone to verify the name is not already in use. |
| `BUNNYCDN_CHECK_STORAGE_ZONE_AVAILABILITY` | Check Storage Zone Availability | Tool to check if a storage zone name is available. Use before creating a new storage zone to verify the name is not already in use. |
| `BUNNYCDN_CREATE_DATABASE` | Create Database | Creates a new Bunny Database (SQLite-compatible edge database). The database can be deployed in multiple global edge regions with primary and replica configurations for high availability. Storage is available in EU (eu-west-1) or North America (us-east-1), and can be deployed across 41 global edge regions. Use when you need a distributed edge database with SQLite compatibility. |
| `BUNNYCDN_CREATE_DNS_RECORD` | Create DNS Record | Tool to create a new DNS record in a specific DNS zone. Use after confirming the DNS zone ID is active. |
| `BUNNYCDN_CREATE_LIVE_LIVE2` | Create Live Live 2 | Tool to retrieve live metrics data for database groups. Use when you need to fetch current performance metrics for specific group IDs. |
| `BUNNYCDN_CREATE_PULL_ZONE` | Create Pull Zone | Creates a new CDN pull zone in BunnyCDN for content delivery acceleration. A pull zone acts as a CDN endpoint that caches and delivers content from your origin server through BunnyCDN's global edge network. When created, you get a default hostname (e.g., 'your-name.b-cdn.net') that can serve your content immediately. Use cases: - Accelerate website asset delivery (images, CSS, JS) - Stream video content globally - Cache and deliver API responses - Serve static files from S3 or storage zones Required: name (unique identifier) and origin_url (your source server). The name becomes part of your CDN URL: {name}.b-cdn.net |
| `BUNNYCDN_CREATE_SHIELD_RATE_LIMIT` | Create Shield Rate Limit | Tool to create a new Shield rate limit rule for protecting against excessive requests. Use when you need to configure rate limiting rules to prevent abuse, DDoS attacks, or API overuse on a Shield zone. |
| `BUNNYCDN_CREATE_SHIELD_ZONE_ACCESS_LIST` | Create Shield Zone Access List | Tool to create a new custom access list in a Shield Zone. Use when you need to add IP addresses, countries, ASNs, or JA3 fingerprints to control access. |
| `BUNNYCDN_DELETE_CONTAINER_REGISTRY` | Delete Container Registry | Tool to delete a container registry from Magic Containers. Use when you need to remove a container registry after confirming its ID. |
| `BUNNYCDN_DELETE_DATABASE` | Delete Database | Tool to delete a BunnyCDN database by its ID. Use when you need to permanently remove an existing database after confirming the database ID. |
| `BUNNYCDN_DELETE_DNS_RECORD` | Delete DNS Record | Tool to delete a specific DNS record by its ID. Use after confirming the DNS zone ID and record ID. |
| `BUNNYCDN_DELETE_DNS_ZONE` | Delete DNS Zone | Tool to delete a specific DNS zone by its ID. Use when you need to permanently remove an existing DNS zone after verifying the zone ID. |
| `BUNNYCDN_DELETE_EDGE_RULE` | Delete Edge Rule | Tool to delete an Edge Rule from a Pull Zone by its ID. Use when you need to remove an Edge Rule after confirming the Pull Zone ID and Edge Rule ID. |
| `BUNNYCDN_DELETE_GROUP` | Delete Database Group | Tool to delete a specific database group by its ID. Use when you need to remove a group from the database. |
| `BUNNYCDN_DELETE_PULL_ZONE` | Delete Pull Zone | Tool to delete a specific pull zone by its ID. Use when you need to remove a pull zone after confirming its ID. |
| `BUNNYCDN_DELETE_SHIELD_ZONE_ACCESS_LIST` | Delete Shield Zone Access List | Tool to delete a custom access list from a Shield Zone. Use when you need to remove an access control rule after confirming the Shield Zone ID and access list ID. |
| `BUNNYCDN_DELETE_STORAGE_ZONE` | Delete Storage Zone | Tool to delete a storage zone. Deletion is irreversible — permanently removes the zone and all associated data. Use only after confirming the correct zone ID with the user. |
| `BUNNYCDN_GENERATE2FA_VERIFICATION` | Generate 2FA Verification | Tool to generate 2FA verification details for account security setup. Use when setting up two-factor authentication for a BunnyCDN account. |
| `BUNNYCDN_GENERATE_DATABASE_AUTH_TOKEN` | Generate Database Auth Token | Tool to generate an authentication token for a BunnyCDN database. Use when you need to create access credentials for database operations. |
| `BUNNYCDN_GET_BILLING_SUMMARY` | Get Billing Summary | Tool to retrieve billing summary with data report for each Pull Zone. Use when you need to understand bandwidth usage and monthly charges across all pull zones. |
| `BUNNYCDN_GET_CONTAINER_CONFIG_SUGGESTIONS` | Get Container Config Suggestions | Tool to get AI-powered configuration suggestions for deploying a container image on BunnyCDN's Magic Containers platform. Use when you need deployment recommendations for a specific container image including endpoint configurations and environment variables. |
| `BUNNYCDN_GET_CONTAINER_IMAGE_DIGEST` | Get Container Image Digest | Tool to retrieve the digest of a container image from a registry. Use when you need to verify an image version or pin to a specific digest. |
| `BUNNYCDN_GET_DATABASE` | Get Database | Tool to retrieve details of a specific database by its ID. Use when you need database configuration, size information, and region settings. |
| `BUNNYCDN_GET_DATABASE_STATISTICS` | Get Database Statistics | Tool to retrieve time-series statistics for a Bunny Database instance. Returns hourly data for row read/write counts, delegated write requests, storage metrics, and latency over a specified date range. Use when you need to analyze database performance, usage patterns, or billing data. |
| `BUNNYCDN_GET_DNS_ZONE_DETAILS` | Get DNS Zone Details | Tool to retrieve details of a specific DNS zone by its ID. Use when you need to verify DNS zone configuration after creation or update. |
| `BUNNYCDN_GET_DNS_ZONE_LIST` | Get DNS Zone List | Tool to list all DNS zones in your Bunny CDN account. Use when you need an overview of all configured DNS zones. |
| `BUNNYCDN_GET_GROUP` | Get Database Group | Tool to retrieve details of a specific database group by its ID. Use when you need to get configuration and region information for a database group. |
| `BUNNYCDN_GET_LANGUAGES` | Get Languages | Tool to retrieve the list of languages supported by BunnyCDN's video library. Use when you need to discover available languages for player UI translation or automatic transcription features. |
| `BUNNYCDN_GET_LIMITS` | Get Database Limits | Tool to retrieve current database limits for the authenticated BunnyCDN account. Use when you need to check database usage and capacity. |
| `BUNNYCDN_GET_OEMBED` | Get oEmbed | Tool to retrieve oEmbed metadata for BunnyCDN video embeds. Use when you need embed code or video metadata in oEmbed format. |
| `BUNNYCDN_GET_OPTIMAL_BASE_REGION` | Get Optimal Base Region | Tool to get the optimal base region for Magic Containers. Use when you need to determine the best region for deploying Magic Container instances based on current capacity and network conditions. |
| `BUNNYCDN_GET_OPTIMIZER_STATISTICS` | Get Optimizer Statistics | Retrieve optimizer statistics for a Pull Zone to understand optimization performance. Use this action to analyze how Bunny Optimizer is performing for a specific Pull Zone, including compression ratios, processing times, optimized request counts, and traffic savings. Supports custom date ranges and hourly/daily grouping for detailed analysis. |
| `BUNNYCDN_GET_ORIGIN_SHIELD_QUEUE_STATISTICS` | Get Origin Shield Queue Statistics | Tool to retrieve Origin Shield Queue Statistics for a specific Pull Zone. Use when you need to analyze Origin Shield performance metrics including concurrent and queued request data over a specified time period. |
| `BUNNYCDN_GET_PULL_ZONE` | Get Pull Zone | Tool to retrieve details of a specific Pull Zone. Use when you need full configuration and usage stats after confirming the Pull Zone ID. |
| `BUNNYCDN_GET_PULL_ZONE_LIST` | Get Pull Zone List | Retrieve a paginated list of all Pull Zones in your BunnyCDN account. Use this to discover existing Pull Zones, their IDs, hostnames, and configuration. Supports filtering by name with the 'search' parameter and pagination with 'page' and 'per_page'. Returns pull zone details including hostnames, bandwidth usage, caching settings, and more. |
| `BUNNYCDN_GET_SAFE_HOP_STATISTICS` | Get SafeHop Statistics | Tool to retrieve SafeHop statistics for a specific Pull Zone. Use when you need to analyze how SafeHop has improved reliability by retrying and saving requests. SafeHop is BunnyCDN's feature that automatically retries failed requests and saves bandwidth by serving stale content when the origin is unavailable. |
| `BUNNYCDN_GET_SHIELD_BOT_DETECTION` | Get Shield Bot Detection Configuration | Tool to retrieve bot detection configuration for a specific Shield Zone. Use when you need to view the current bot detection settings and sensitivity levels. |
| `BUNNYCDN_GET_SHIELD_DDOS_ENUMS` | Get Shield DDoS Enums | Tool to retrieve available enums for Shield DDoS configuration. Use when you need to discover valid values for DDoS protection settings. |
| `BUNNYCDN_GET_SHIELD_EVENT_LOGS` | Get Shield Event Logs | Tool to retrieve Shield Event Logs for a specific Shield Zone and date. Use when you need to view security events and Shield activity logs. Supports pagination via continuation tokens for large log sets. |
| `BUNNYCDN_GET_SHIELD_METRICS_BOT_DETECTION` | Get Shield Metrics Bot Detection | Tool to retrieve bot detection metrics for a specific Shield Zone. Use when you need to analyze bot traffic and challenges for a Shield Zone. |
| `BUNNYCDN_GET_SHIELD_METRICS_OVERVIEW` | Get Shield Metrics Overview | Tool to retrieve comprehensive security metrics overview for a Shield Zone. Use when you need statistics on DDoS protection, WAF rules, bot detection, rate limiting, access lists, and upload scanning for a specific Shield Zone. |
| `BUNNYCDN_GET_SHIELD_METRICS_OVERVIEW_DETAILED` | Get Shield Metrics Overview Detailed | Tool to retrieve detailed Shield zone metrics overview including DDoS protection, WAF, bot detection, rate limiting, access lists, and upload scanning statistics. Use when you need comprehensive protection metrics for a specific Shield zone over a time period. |
| `BUNNYCDN_GET_SHIELD_METRICS_RATE_LIMIT_ID` | Get Shield Metrics Rate Limit by ID | Tool to retrieve shield metrics for a specific rate limit by ID. Use when you need to monitor rate limit breach statistics and analyze traffic patterns over the past 28 days. |
| `BUNNYCDN_GET_SHIELD_METRICS_RATE_LIMITS` | Get Shield Metrics Rate Limits | Tool to retrieve rate limit metrics for a Shield Zone. Use when you need to analyze rate limiting patterns and statistics for DDoS protection. |
| `BUNNYCDN_GET_SHIELD_METRICS_UPLOAD_SCANNING` | Get Shield Metrics Upload Scanning | Tool to retrieve upload scanning metrics for a specific Shield Zone. Use when you need to analyze file upload security and scanning statistics for a Shield Zone. |
| `BUNNYCDN_GET_SHIELD_METRICS_WAF_RULE` | Get Shield Metrics WAF Rule | Tool to retrieve shield metrics for a specific WAF rule. Use when you need to analyze how many requests were blocked, challenged, or logged by a particular WAF rule within a Shield Zone. |
| `BUNNYCDN_GET_SHIELD_PROMO_STATE` | Get Shield Promo State | Tool to retrieve a breakdown of Shield promotional data. Use when you need information about current, eligible, and enrolled Shield promotions. |
| `BUNNYCDN_GET_SHIELD_RATE_LIMIT_ID` | Get Shield Rate Limit by ID | Tool to retrieve a specific rate limit configuration by its ID. Use when you need to view the full details and settings of a shield rate limit rule. |
| `BUNNYCDN_GET_SHIELD_RATE_LIMITS` | Get Shield Rate Limits | Tool to retrieve Shield Rate Limits for a specific Shield Zone. Use when you need to list or audit rate limiting rules configured for a Shield Zone. |
| `BUNNYCDN_GET_SHIELD_SHIELD_ZONES` | Get Shield Shield Zones | Tool to retrieve a list of all Shield Zones with their configurations. Use when you need to view all Shield Zones and their security settings. Supports pagination to handle large numbers of Shield Zones. |
| `BUNNYCDN_GET_SHIELD_UPLOAD_SCANNING` | Get Shield Upload Scanning Configuration | Tool to retrieve upload scanning configuration for a Shield Zone. Use when you need to check antivirus and CSAM scanning settings for uploaded files. |
| `BUNNYCDN_GET_SHIELD_WAF_CUSTOM_RULE_ID` | Get Shield WAF Custom Rule by ID | Tool to retrieve details of a specific Shield WAF custom rule by its ID. Use when you need to view the configuration, conditions, and actions of a custom Web Application Firewall rule. |
| `BUNNYCDN_GET_SHIELD_WAF_CUSTOM_RULES` | Get Shield WAF Custom Rules | Tool to retrieve custom WAF rules for a specific Shield Zone. Use when you need to list or review custom WAF rule configurations. Supports pagination for large rule sets. |
| `BUNNYCDN_GET_SHIELD_WAF_ENGINE_CONFIG` | Get Shield WAF Engine Config | Tool to retrieve Shield WAF engine configuration settings. Use when you need to view the current WAF engine configuration parameters and their values. |
| `BUNNYCDN_GET_SHIELD_WAF_ENUMS` | Get Shield WAF Enums | Tool to retrieve available enums for Shield WAF configuration. Use when you need to discover valid values for WAF protection settings. |
| `BUNNYCDN_GET_SHIELD_WAF_PROFILES` | Get Shield WAF Profiles | Tool to retrieve available WAF profiles for Shield zones. Use when you need to list all available WAF security profiles including their features, categories, and descriptions. |
| `BUNNYCDN_GET_SHIELD_WAF_RULES_PLAN_SEGMENTATION` | Get Shield WAF Rules Plan Segmentation | Tool to retrieve WAF rules organized by subscription plan tiers. Use when you need to understand which WAF rules are available for different Shield plan levels. |
| `BUNNYCDN_GET_SHIELD_WAF_RULES_REVIEW_TRIGGERED` | Get Shield WAF Rules Review Triggered | Tool to retrieve triggered WAF rules for review in a specific Shield Zone. Use when you need to analyze which WAF rules have been triggered and review security events for remediation. |
| `BUNNYCDN_GET_SHIELD_WAF_RULES_SHIELD_ZONE_ID` | Get Shield WAF Rules by Shield Zone ID | Tool to retrieve Shield WAF Rules for a specific Shield Zone. Use when you need to view or audit the WAF rule configurations applied to a Shield Zone. |
| `BUNNYCDN_GET_SHIELD_ZONE` | Get Shield Zone | Tool to retrieve detailed configuration of a specific Shield Zone. Use when you need to view DDoS protection settings, WAF configuration, or security rules for a shield zone. |
| `BUNNYCDN_GET_SHIELD_ZONE_ACCESS_LIST` | Get Shield Zone Access List | Tool to retrieve a specific custom access list from a Shield Zone. Use when you need to view details of an access control rule including its content, type, and metadata. |
| `BUNNYCDN_GET_SHIELD_ZONE_ACCESS_LIST_ENUMS` | Get Shield Zone Access List Enums | Tool to retrieve available enums for Shield Zone Access List configuration. Use when you need to discover valid values for access list settings for a specific Shield Zone. |
| `BUNNYCDN_GET_SHIELD_ZONE_ACCESS_LISTS` | Get Shield Zone Access Lists | Tool to retrieve all access lists for a Shield Zone, including both managed threat lists and custom lists. Use when you need to view access control configurations and their status. |
| `BUNNYCDN_GET_SHIELD_ZONE_BY_PULLZONE` | Get Shield Zone by Pull Zone ID | Tool to retrieve Shield Zone details by Pull Zone ID. Use when you need to view security and protection settings for a specific Pull Zone. Returns DDoS protection, WAF configuration, and other Shield settings. |
| `BUNNYCDN_GET_SHIELD_ZONES_PULLZONE_MAPPING` | Get Shield Zones Pull Zone Mapping | Tool to retrieve the mapping between Shield Zones and Pull Zones. Use when you need to see which Shield Zones are protecting which Pull Zones in your BunnyCDN account. |
| `BUNNYCDN_GET_STATISTICS` | Get Statistics | Tool to retrieve CDN statistics data for bandwidth, requests, cache performance, and geographic distribution. Use this action to analyze CDN performance across pull zones or specific regions. Supports custom date ranges, hourly/daily grouping, and selective data loading for specific metrics. |
| `BUNNYCDN_GET_STORAGE_ZONE_DETAILS` | Get Storage Zone Details | Tool to retrieve the full details of a storage zone, including configuration, usage metrics, and credentials. The response includes sensitive fields Password and ReadOnlyPassword — mask or omit these from logs and user-facing output. |
| `BUNNYCDN_GET_STORAGE_ZONE_LIST` | Get Storage Zone List | Tool to list all storage zones in your Bunny CDN account. Use when you need an overview of all configured storage zones. |
| `BUNNYCDN_GET_USER_AUDIT` | Get User Audit Log | Tool to retrieve user audit log entries for a specific date with optional filtering. Use when you need to track user actions, security auditing, or compliance reporting. |
| `BUNNYCDN_GET_USER_DETAILS` | Get User Details | Tool to retrieve complete details of the currently authorized user account. Use when you need account information, billing status, or user profile data. |
| `BUNNYCDN_GET_USER_LIMITS` | Get User Limits | Tool to retrieve user limits and quotas for Magic Containers. Use when you need to check application, instance, region, and volume limits for the authenticated account. |
| `BUNNYCDN_GET_WHATS_NEW_ITEMS` | Get What's New Items | Tool to retrieve What's New items for the current user. Use when you need to discover recent features, updates, and bug fixes in the BunnyCDN platform. |
| `BUNNYCDN_INVALIDATE_DATABASE_AUTH_TOKENS` | Invalidate Database Auth Tokens | Tool to invalidate all authentication tokens for a BunnyCDN database. Use when you need to revoke all active access credentials for a specific database. |
| `BUNNYCDN_INVALIDATE_GROUP_AUTH` | Invalidate Group Auth Tokens | Tool to invalidate authentication tokens for a specific database group. Use when you need to revoke all active tokens for a group. |
| `BUNNYCDN_LIST_API_KEYS` | List API Keys | Tool to retrieve a paginated list of all API keys in your BunnyCDN account. Use when you need to view existing API keys and their associated roles. |
| `BUNNYCDN_LIST_APPLICATIONS` | List Applications | Tool to list all Magic Container applications in your Bunny CDN account. Use when you need an overview of deployed applications, their status, and endpoints. Supports cursor-based pagination for efficient traversal of large result sets. |
| `BUNNYCDN_LIST_CONTAINER_IMAGE_TAGS` | List Container Image Tags | Tool to list all available tags for a container image in a registry. Use when you need to discover available versions or tags for a container image. |
| `BUNNYCDN_LIST_CONTAINER_REGISTRIES` | List Container Registries | Tool to list all container registries in your BunnyCDN Magic Containers account. Use when you need to view configured container registries with their connection details. |
| `BUNNYCDN_LIST_COUNTRY_LIST` | List Country List | Tool to retrieve the list of countries supported by BunnyCDN with their tax rates and Points of Presence. Use when you need to discover available countries, their tax information, or PoP locations for billing and geographic routing purposes. |
| `BUNNYCDN_LIST_DATABASE_ACTIVE` | List Database Active Usage | Tool to retrieve active database usage statistics. Returns the number of active databases, total databases, and total size across all databases. Use when you need an overview of database usage and storage allocation. |
| `BUNNYCDN_LIST_DATABASE_CONFIG` | List Database Configuration | Tool to retrieve database configuration including available storage regions, primary regions, and replica regions. Use when you need to discover which regions are available for database deployment and replication. |
| `BUNNYCDN_LIST_DATABASES_V2` | List Databases V2 | Tool to list databases with pagination support using the v2 API. Use when you need to paginate through large numbers of databases or need pagination metadata. |
| `BUNNYCDN_LIST_DATABASE_USAGE` | List Database Usage | Tool to retrieve aggregated usage metrics for a Bunny Database instance. Returns total rows read/written and average latency for a specified date range. Use when you need aggregated usage statistics rather than time-series data. |
| `BUNNYCDN_LIST_DATABASE_VERSIONS` | List Database Versions | Tool to list all versions of a specific database. Use when you need to view version history, track database changes, or restore to a previous version. |
| `BUNNYCDN_LIST_EDGE_SCRIPTS` | List Edge Scripts | Retrieve a paginated list of all edge scripts in your BunnyCDN account. Use when you need to discover existing edge scripts, their IDs, types, and configuration. |
| `BUNNYCDN_LIST_GROUP` | List Database Groups | Tool to retrieve a list of all database groups in your BunnyCDN account. Use when you need to discover existing database groups and their configuration. |
| `BUNNYCDN_LIST_GROUP_STATISTICS` | List Group Statistics | Tool to retrieve time-series statistics for a database group. Returns data for row read/write counts and storage usage over a specified date range. Use when you need to analyze group-level performance, usage patterns, or billing data. |
| `BUNNYCDN_LIST_GROUP_USAGE` | List Database Group Usage | Tool to retrieve aggregated usage statistics for a database group over a specified time period. Returns total rows read/written and average latency. Use when you need to analyze group-level usage patterns or billing data. |
| `BUNNYCDN_LIST_NODES` | List Nodes | Tool to retrieve a list of Magic Container nodes in your BunnyCDN account. Use when you need to view available node IP addresses for Magic Containers. Supports pagination through cursor-based navigation. |
| `BUNNYCDN_LIST_NOTIFICATIONS` | List Notifications | Tool to list all notifications for the currently logged in user. Use when you need to retrieve notifications. |
| `BUNNYCDN_LIST_REGION_LIST` | List Region List | Tool to retrieve the list of regions supported by BunnyCDN with their geographic coordinates and pricing. Use when you need to discover available regions for deployment or to get pricing information per region. |
| `BUNNYCDN_LIST_REGIONS` | List Regions | Tool to list all available regions for Magic Containers. Use when you need to discover available deployment regions, check their capacity status, or understand Anycast support across regions. |
| `BUNNYCDN_LIST_VIDEO_LIBRARIES` | List Video Libraries | Retrieve a paginated list of all video libraries in your BunnyCDN account. Use when you need to discover existing video libraries, their IDs, and configuration details. |
| `BUNNYCDN_LIST_VOLUMES` | List Volumes | Tool to list all volumes for a Magic Container application in your BunnyCDN account. Use when you need to view storage volumes, their capacity, usage, and attached instances for a specific app. |
| `BUNNYCDN_POST_SHIELD_WAF_RULES_REVIEW_TRIGGERED` | Post Shield WAF Rules Review Triggered | Tool to review and apply actions to triggered WAF rules in a specific Shield Zone. Use when you need to whitelist, block, or challenge specific WAF rules based on their triggered status. |
| `BUNNYCDN_PURGE_PULL_ZONE` | Purge Pull Zone | Purges the entire CDN cache for a specified pull zone. Use this action after updating content at the origin server to ensure that stale cached assets are cleared and fresh content is served to end users. This operation invalidates all cached files across all edge servers for the specified pull zone. Note that this does not affect Perma-Cache content. |
| `BUNNYCDN_PURGE_URL` | Purge URL | Purge a specific URL from the BunnyCDN cache to force it to be refreshed from the origin. Use this tool when you need to: - Invalidate cached content after updating a file on the origin server - Force immediate cache refresh for a specific resource - Clear outdated content from edge servers Note: The URL must belong to a pull zone you have access to. Attempting to purge URLs from pull zones you don't own will result in an authorization error. |
| `BUNNYCDN_REMOVE_ALLOWED_REFERER` | Remove Allowed Referer | Removes a hostname from the allowed referer list for a pull zone. Use this action to remove a previously configured referer-based security restriction. After removal, the specified hostname will no longer be allowed to access the pull zone content. This is useful when updating referer security policies or removing domains that should no longer have access. |
| `BUNNYCDN_REMOVE_BLOCKED_IP` | Remove Blocked IP | Tool to remove an IP address from the blocked list of a pull zone. Use when you need to restore access for specific IPs that were previously blocked. |
| `BUNNYCDN_REMOVE_BLOCKED_REFERER` | Remove Blocked Referer | Tool to remove a blocked referer from a pull zone. Use when you need to allow a previously blocked domain to access content from your CDN again. |
| `BUNNYCDN_RESET_PULL_ZONE_SECURITY_KEY` | Reset Pull Zone Security Key | Tool to reset the security token key for a specific pull zone. Use when you need to regenerate the security key for authentication purposes. |
| `BUNNYCDN_RESET_WHATS_NEW` | Reset What's New | Tool to reset the What's New notification list for the current user. Use when you need to mark all What's New items as read and reset the unread count. |
| `BUNNYCDN_RESTORE_DATABASE` | Restore Database | Tool to restore a BunnyCDN database to a specific generation/version. This is a destructive operation that will revert the database to the specified point in time. Use when you need to recover data from a previous version or undo unwanted changes. WARNING: This operation is destructive and will overwrite current database state. |
| `BUNNYCDN_SEARCH_GLOBAL_SEARCH` | Search Global Search | Perform a global search across all BunnyCDN resources (pull zones, storage zones, DNS zones, scripts, streams). Use this to discover resources by name across your entire BunnyCDN account. Supports pagination with 'from' and 'size' parameters. Returns matching resources with their type, ID, and name for easy identification. |
| `BUNNYCDN_SEARCH_PUBLIC_CONTAINER_IMAGES` | Search Public Container Images | Tool to search for public container images by prefix in a registry. Use when you need to discover available public container images matching a search term. |
| `BUNNYCDN_SET_EDGE_RULE_ENABLED` | Set Edge Rule Enabled | Tool to enable or disable an edge rule in a BunnyCDN pull zone. Use when you need to activate or deactivate an existing edge rule without modifying its configuration. Edge rules that are disabled remain configured but do not execute. This allows you to temporarily turn off rules without deleting them. Common use cases: temporarily disable security rules for testing, enable/disable seasonal redirects, or toggle feature flags implemented as edge rules. |
| `BUNNYCDN_SET_FORCE_SSL` | Set Force SSL | Tool to set Force SSL on a pull zone hostname. Use when you need to enable or disable HTTPS enforcement for a specific hostname. |
| `BUNNYCDN_SET_NOTIFICATIONS_OPENED` | Set Notifications Opened | Tool to mark all user notifications as opened. Use when you need to clear unread notification indicators. Returns success once notifications are marked as read. |
| `BUNNYCDN_UPDATE_DATABASE` | Update Database | Tool to update an existing Bunny Database. Use when you need to change database name or control read/write access. |
| `BUNNYCDN_UPDATE_GROUP` | Update Database Group | Tool to update a database group by its ID. Use when you need to modify the name or configuration of a database group. |
| `BUNNYCDN_UPDATE_PULL_ZONE` | Update Pull Zone | Tool to update settings for a specific pull zone. Use when you need to modify existing pull zone settings after reviewing current configuration. |
| `BUNNYCDN_UPDATE_SHIELD_BOT_DETECTION` | Update Shield Bot Detection Configuration | Tool to update bot detection configuration for a specific Shield Zone. Use when you need to modify bot detection settings, sensitivity levels, or execution mode. Note: Bot detection requires Advanced tier subscription. |
| `BUNNYCDN_UPDATE_SHIELD_RATE_LIMIT_ID` | Update Shield Rate Limit by ID | Tool to update a specific rate limit configuration by its ID. Use when you need to modify settings of an existing shield rate limit rule such as request thresholds, timeframes, or action types. |
| `BUNNYCDN_UPDATE_SHIELD_ZONE` | Update Shield Zone | Tool to update configuration settings for a Shield Zone. Use when you need to modify DDoS protection settings, WAF rules, or security configurations. |
| `BUNNYCDN_UPDATE_SHIELD_ZONE_ACCESS_LIST` | Update Shield Zone Access List | Tool to update a custom access list in a Shield Zone. Use when you need to modify an access control rule's name, content, or checksum. |
| `BUNNYCDN_UPDATE_SHIELD_ZONE_ACCESS_LIST_CONFIGURATION` | Update Shield Zone Access List Configuration | Tool to update an access list configuration in a Shield Zone. Use when you need to modify the action or enabled state of an existing access list configuration. |
| `BUNNYCDN_UPDATE_SHIELD_ZONE_UPLOAD_SCANNING` | Update Shield Zone Upload Scanning | Tool to update upload scanning settings for a shield zone. Use when you need to configure antivirus and CSAM scanning for uploaded files. |
| `BUNNYCDN_UPDATE_STORAGE_ZONE` | Update Storage Zone | Tool to update settings for a specific storage zone. Updates are applied immediately and can destructively alter storage zone configuration. Verify the correct `id` and confirm intended changes before calling. |
| `BUNNYCDN_UPDATE_USER_DETAILS` | Update User Details | Tool to update the currently authorized user's account details. Use when modifying user profile information, billing details, or email preferences. |
| `BUNNYCDN_VALIDATE_ORIGIN_URL_PULL_ZONE` | Validate Origin URL Pull Zone | Tool to validate an origin URL before creating or configuring a pull zone. Use when you need to verify that an origin URL is accessible and properly configured for use with BunnyCDN. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Bunnycdn Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Bunnycdn actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Create a new pull zone for static asset delivery in Europe.'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Create a new pull zone for static asset delivery in Europe.'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and Claude Agent SDK
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Create Tool Router Session

Initialize the Composio client and create a Tool Router session
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Bunnycdn tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('List all DNS zones in my BunnyCDN account')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'List all DNS zones in my BunnyCDN account' }],
  stopWhen: stepCountIs(5)
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Bunnycdn Integration

- Supports both Bunnycdn MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for uploading, purging, and analyzing Bunnycdn data

### 2. Managed Auth

- Built-in API key management with secure storage and rotation
- Central place to manage, scope, and revoke Bunnycdn access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates for reliability
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC lets you control which agents and users can access Bunnycdn
- Scoped, least privilege access to your CDN resources
- Full audit trail of agent actions for compliance and review

## Use Bunnycdn with any AI Agent Framework

Choose a framework you want to connect Bunnycdn with:

- [OpenAI Agents SDK](https://composio.dev/toolkits/bunnycdn/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/bunnycdn/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/bunnycdn/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/bunnycdn/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/bunnycdn/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/bunnycdn/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/bunnycdn/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/bunnycdn/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/bunnycdn/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/bunnycdn/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/bunnycdn/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/bunnycdn/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/bunnycdn/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/bunnycdn/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/bunnycdn/framework/autogen)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Backendless](https://composio.dev/toolkits/backendless) - Backendless is a backend-as-a-service platform for mobile and web apps, offering database, file storage, user authentication, and APIs. It helps developers ship scalable applications faster without managing server infrastructure.
- [Baserow](https://composio.dev/toolkits/baserow) - Baserow is an open-source no-code database platform for building collaborative data apps. It makes it easy for teams to organize data and automate workflows without writing code.
- [Bench](https://composio.dev/toolkits/bench) - Bench is a benchmarking tool for automated performance measurement and analysis. It helps you quickly evaluate, compare, and track your systems or workflows.
- [Better stack](https://composio.dev/toolkits/better_stack) - Better Stack is a monitoring, logging, and incident management solution for apps and services. It helps teams ensure application reliability and performance with real-time insights.
- [Bitbucket](https://composio.dev/toolkits/bitbucket) - Bitbucket is a Git-based code hosting and collaboration platform for teams. It enables secure repository management and streamlined code reviews.
- [Blazemeter](https://composio.dev/toolkits/blazemeter) - Blazemeter is a continuous testing platform for web and mobile app performance. It empowers teams to automate and analyze large-scale tests with ease.
- [Blocknative](https://composio.dev/toolkits/blocknative) - Blocknative delivers real-time mempool monitoring and transaction management for public blockchains. Instantly track pending transactions and optimize blockchain interactions with live data.

## Frequently Asked Questions

### Do I need my own developer credentials to use Bunnycdn with Composio?

Yes, Bunnycdn requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
