Bunnycdn MCP for AI Agents

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.

Bunnycdn logoBunnycdn
Api Key

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.

126 Tools

Try Bunnycdn now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Bunnycdn
Try asking
TOOLS

Supported Tools

Every Bunnycdn action and event your agent gets out of the box.

Add Allowed Referer

Adds a hostname to the allowed referer list for a pull zone.

Add Blocked IP

Tool to add an IP address to the blocked list of a pull zone.

Add Blocked Referer

Tool to add a blocked referer to a pull zone.

Add Storage Zone

Tool to add a new storage zone.

Add/Update Edge Rule

Tool to add or update edge rules in a BunnyCDN pull zone for advanced traffic control.

Check DNS Zone Availability

Tool to check if a DNS zone name is available for registration.

Check Pull Zone Availability

Tool to check if a pull zone name is available for registration.

Check Storage Zone Availability

Tool to check if a storage zone name is available.

Create Database

Creates a new Bunny Database (SQLite-compatible edge database).

Create DNS Record

Tool to create a new DNS record in a specific DNS zone.

Create Live Live 2

Tool to retrieve live metrics data for database groups.

Create Pull Zone

Creates a new CDN pull zone in BunnyCDN for content delivery acceleration.

Create Shield Rate Limit

Tool to create a new Shield rate limit rule for protecting against excessive requests.

Create Shield Zone Access List

Tool to create a new custom access list in a Shield Zone.

Delete Container Registry

Tool to delete a container registry from Magic Containers.

Delete Database

Tool to delete a BunnyCDN database by its ID.

Delete DNS Record

Tool to delete a specific DNS record by its ID.

Delete DNS Zone

Tool to delete a specific DNS zone by its ID.

Delete Edge Rule

Tool to delete an Edge Rule from a Pull Zone by its ID.

Delete Database Group

Tool to delete a specific database group by its ID.

Delete Pull Zone

Tool to delete a specific pull zone by its ID.

Delete Shield Zone Access List

Tool to delete a custom access list from a Shield Zone.

Delete Storage Zone

Tool to delete a storage zone.

Generate 2FA Verification

Tool to generate 2FA verification details for account security setup.

Generate Database Auth Token

Tool to generate an authentication token for a BunnyCDN database.

Get Billing Summary

Tool to retrieve billing summary with data report for each Pull Zone.

Get Container Config Suggestions

Tool to get AI-powered configuration suggestions for deploying a container image on BunnyCDN's Magic Containers platform.

Get Container Image Digest

Tool to retrieve the digest of a container image from a registry.

Get Database

Tool to retrieve details of a specific database by its ID.

Get Database Statistics

Tool to retrieve time-series statistics for a Bunny Database instance.

Get DNS Zone Details

Tool to retrieve details of a specific DNS zone by its ID.

Get DNS Zone List

Tool to list all DNS zones in your Bunny CDN account.

Get Database Group

Tool to retrieve details of a specific database group by its ID.

Get Languages

Tool to retrieve the list of languages supported by BunnyCDN's video library.

Get Database Limits

Tool to retrieve current database limits for the authenticated BunnyCDN account.

Get oEmbed

Tool to retrieve oEmbed metadata for BunnyCDN video embeds.

Get Optimal Base Region

Tool to get the optimal base region for Magic Containers.

Get Optimizer Statistics

Retrieve optimizer statistics for a Pull Zone to understand optimization performance.

Get Origin Shield Queue Statistics

Tool to retrieve Origin Shield Queue Statistics for a specific Pull Zone.

Get Pull Zone

Tool to retrieve details of a specific Pull Zone.

Get Pull Zone List

Retrieve a paginated list of all Pull Zones in your BunnyCDN account.

Get SafeHop Statistics

Tool to retrieve SafeHop statistics for a specific Pull Zone.

Get Shield Bot Detection Configuration

Tool to retrieve bot detection configuration for a specific Shield Zone.

Get Shield DDoS Enums

Tool to retrieve available enums for Shield DDoS configuration.

Get Shield Event Logs

Tool to retrieve Shield Event Logs for a specific Shield Zone and date.

Get Shield Metrics Bot Detection

Tool to retrieve bot detection metrics for a specific Shield Zone.

Get Shield Metrics Overview

Tool to retrieve comprehensive security metrics overview for a Shield Zone.

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.

Get Shield Metrics Rate Limit by ID

Tool to retrieve shield metrics for a specific rate limit by ID.

Get Shield Metrics Rate Limits

Tool to retrieve rate limit metrics for a Shield Zone.

Get Shield Metrics Upload Scanning

Tool to retrieve upload scanning metrics for a specific Shield Zone.

Get Shield Metrics WAF Rule

Tool to retrieve shield metrics for a specific WAF rule.

Get Shield Promo State

Tool to retrieve a breakdown of Shield promotional data.

Get Shield Rate Limit by ID

Tool to retrieve a specific rate limit configuration by its ID.

Get Shield Rate Limits

Tool to retrieve Shield Rate Limits for a specific Shield Zone.

Get Shield Shield Zones

Tool to retrieve a list of all Shield Zones with their configurations.

Get Shield Upload Scanning Configuration

Tool to retrieve upload scanning configuration for a Shield Zone.

Get Shield WAF Custom Rule by ID

Tool to retrieve details of a specific Shield WAF custom rule by its ID.

Get Shield WAF Custom Rules

Tool to retrieve custom WAF rules for a specific Shield Zone.

Get Shield WAF Engine Config

Tool to retrieve Shield WAF engine configuration settings.

Get Shield WAF Enums

Tool to retrieve available enums for Shield WAF configuration.

Get Shield WAF Profiles

Tool to retrieve available WAF profiles for Shield zones.

Get Shield WAF Rules Plan Segmentation

Tool to retrieve WAF rules organized by subscription plan tiers.

Get Shield WAF Rules Review Triggered

Tool to retrieve triggered WAF rules for review in a specific Shield Zone.

Get Shield WAF Rules by Shield Zone ID

Tool to retrieve Shield WAF Rules for a specific Shield Zone.

Get Shield Zone

Tool to retrieve detailed configuration of a specific Shield Zone.

Get Shield Zone Access List

Tool to retrieve a specific custom access list from a Shield Zone.

Get Shield Zone Access List Enums

Tool to retrieve available enums for Shield Zone Access List configuration.

Get Shield Zone Access Lists

Tool to retrieve all access lists for a Shield Zone, including both managed threat lists and custom lists.

Get Shield Zone by Pull Zone ID

Tool to retrieve Shield Zone details by Pull Zone ID.

Get Shield Zones Pull Zone Mapping

Tool to retrieve the mapping between Shield Zones and Pull Zones.

Get Statistics

Tool to retrieve CDN statistics data for bandwidth, requests, cache performance, and geographic distribution.

Get Storage Zone Details

Tool to retrieve the full details of a storage zone, including configuration, usage metrics, and credentials.

Get Storage Zone List

Tool to list all storage zones in your Bunny CDN account.

Get User Audit Log

Tool to retrieve user audit log entries for a specific date with optional filtering.

Get User Details

Tool to retrieve complete details of the currently authorized user account.

Get User Limits

Tool to retrieve user limits and quotas for Magic Containers.

Get What's New Items

Tool to retrieve What's New items for the current user.

Invalidate Database Auth Tokens

Tool to invalidate all authentication tokens for a BunnyCDN database.

Invalidate Group Auth Tokens

Tool to invalidate authentication tokens for a specific database group.

List API Keys

Tool to retrieve a paginated list of all API keys in your BunnyCDN account.

List Applications

Tool to list all Magic Container applications in your Bunny CDN account.

List Container Image Tags

Tool to list all available tags for a container image in a registry.

List Container Registries

Tool to list all container registries in your BunnyCDN Magic Containers account.

List Country List

Tool to retrieve the list of countries supported by BunnyCDN with their tax rates and Points of Presence.

List Database Active Usage

Tool to retrieve active database usage statistics.

List Database Configuration

Tool to retrieve database configuration including available storage regions, primary regions, and replica regions.

List Databases V2

Tool to list databases with pagination support using the v2 API.

List Database Usage

Tool to retrieve aggregated usage metrics for a Bunny Database instance.

List Database Versions

Tool to list all versions of a specific database.

List Edge Scripts

Retrieve a paginated list of all edge scripts in your BunnyCDN account.

List Database Groups

Tool to retrieve a list of all database groups in your BunnyCDN account.

List Group Statistics

Tool to retrieve time-series statistics for a database group.

List Database Group Usage

Tool to retrieve aggregated usage statistics for a database group over a specified time period.

List Nodes

Tool to retrieve a list of Magic Container nodes in your BunnyCDN account.

List Notifications

Tool to list all notifications for the currently logged in user.

List Region List

Tool to retrieve the list of regions supported by BunnyCDN with their geographic coordinates and pricing.

List Regions

Tool to list all available regions for Magic Containers.

List Video Libraries

Retrieve a paginated list of all video libraries in your BunnyCDN account.

List Volumes

Tool to list all volumes for a Magic Container application in your BunnyCDN account.

Post Shield WAF Rules Review Triggered

Tool to review and apply actions to triggered WAF rules in a specific Shield Zone.

Purge Pull Zone

Purges the entire CDN cache for a specified pull zone.

Purge URL

Purge a specific URL from the BunnyCDN cache to force it to be refreshed from the origin.

Remove Allowed Referer

Removes a hostname from the allowed referer list for a pull zone.

Remove Blocked IP

Tool to remove an IP address from the blocked list of a pull zone.

Remove Blocked Referer

Tool to remove a blocked referer from a pull zone.

Reset Pull Zone Security Key

Tool to reset the security token key for a specific pull zone.

Reset What's New

Tool to reset the What's New notification list for the current user.

Restore Database

Tool to restore a BunnyCDN database to a specific generation/version.

Search Global Search

Perform a global search across all BunnyCDN resources (pull zones, storage zones, DNS zones, scripts, streams).

Search Public Container Images

Tool to search for public container images by prefix in a registry.

Set Edge Rule Enabled

Tool to enable or disable an edge rule in a BunnyCDN pull zone.

Set Force SSL

Tool to set Force SSL on a pull zone hostname.

Set Notifications Opened

Tool to mark all user notifications as opened.

Update Database

Tool to update an existing Bunny Database.

Update Database Group

Tool to update a database group by its ID.

Update Pull Zone

Tool to update settings for a specific pull zone.

Update Shield Bot Detection Configuration

Tool to update bot detection configuration for a specific Shield Zone.

Update Shield Rate Limit by ID

Tool to update a specific rate limit configuration by its ID.

Update Shield Zone

Tool to update configuration settings for a Shield Zone.

Update Shield Zone Access List

Tool to update a custom access list in a Shield Zone.

Update Shield Zone Access List Configuration

Tool to update an access list configuration in a Shield Zone.

Update Shield Zone Upload Scanning

Tool to update upload scanning settings for a shield zone.

Update Storage Zone

Tool to update settings for a specific storage zone.

Update User Details

Tool to update the currently authorized user's account details.

Validate Origin URL Pull Zone

Tool to validate an origin URL before creating or configuring a pull zone.

SETUP GUIDE

Connect Bunnycdn MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

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}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

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}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Bunnycdn API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

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');
Import and initialize Composio client, then create a Tool Router session
3

Execute Bunnycdn Tools via Tool Router with Your Agent

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);
Get tools from Tool Router session and execute Bunnycdn actions with your Agent

Why Use Composio?

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

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

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

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
FAQ

Frequently asked questions

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.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

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

Start with Bunnycdn.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Bunnycdn tool your agent needs.Free to start.

Start building