Skip to main content
Glama

Bunny.net MCP Server

Custom MCP server for Bunny.net APIs — Stream/Video, Storage, CDN Pull Zones, and DNS.

Tools (35 total)

Stream/Video API (13 tools)

  • stream_list_videos — List videos in a library

  • stream_get_video — Get video details

  • stream_create_video — Create video object

  • stream_update_video — Update video properties

  • stream_delete_video — Delete video

  • stream_get_heatmap — Viewer engagement heatmap

  • stream_add_caption — Add subtitle track

  • stream_delete_caption — Remove subtitle track

  • stream_set_thumbnail — Set video thumbnail

  • stream_reencode_video — Re-encode video

  • stream_list_collections — List collections

  • stream_create_collection — Create collection

  • stream_delete_collection — Delete collection

Storage API (4 tools)

  • storage_list_files — List files/directories

  • storage_download_file — Download file content

  • storage_upload_file — Upload file (base64)

  • storage_delete_file — Delete file/directory

CDN Pull Zone API (10 tools)

  • cdn_list_pullzones — List pull zones

  • cdn_get_pullzone — Get pull zone details

  • cdn_create_pullzone — Create pull zone

  • cdn_update_pullzone — Update pull zone

  • cdn_delete_pullzone — Delete pull zone

  • cdn_purge_cache — Purge cached content

  • cdn_add_allowed_referer — Add allowed referer

  • cdn_remove_allowed_referer — Remove allowed referer

  • cdn_add_blocked_referer — Add blocked referer

  • cdn_remove_blocked_referer — Remove blocked referer

DNS API (8 tools)

  • dns_list_zones — List DNS zones

  • dns_get_zone — Get zone details

  • dns_create_zone — Create DNS zone

  • dns_update_zone — Update zone settings

  • dns_delete_zone — Delete DNS zone

  • dns_add_record — Add DNS record

  • dns_update_record — Update DNS record

  • dns_delete_record — Delete DNS record

  • dns_enable_dnssec — Enable DNSSEC

  • dns_disable_dnssec — Disable DNSSEC

Related MCP server: Porkbun MCP Server

Setup

1. Build

cd /Volumes/taufik/Kerjaan/custom-MCP/bunny-mcp
npm install
npm run build

2. Add to Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "bunny": {
      "command": "node",
      "args": ["/Volumes/taufik/Kerjaan/custom-MCP/bunny-mcp/dist/index.js"],
      "env": {
        "BUNNY_API_KEY": "your-account-api-key",
        "BUNNY_STREAM_API_KEY": "your-stream-library-api-key"
      }
    }
  }
}

3. Environment Variables

Variable

Description

Where to find

BUNNY_API_KEY

Account API key

bunny.net Dashboard > Account > API Key

BUNNY_STREAM_API_KEY

Stream library API key

bunny.net > Stream > Library > API Key

Storage API uses per-zone passwords passed as tool parameters (storagePassword).

Available Tools

37 tools
cdn_add_allowed_refererC

Add a domain to the pull zone's allowed referrer list

Inputs: pullZoneId (required), hostname (required).

cdn_add_blocked_refererC

Add a domain to the pull zone's blocked referrer list

Inputs: pullZoneId (required), hostname (required).

cdn_create_pullzoneC

Create a new CDN pull zone

Inputs: name (required), originUrl (required), storageZoneId, enableGeoZoneUS, +2 more.

cdn_delete_pullzoneC

Delete a pull zone

Inputs: pullZoneId (required).

cdn_get_pullzoneB

Get pull zone details by ID

Inputs: pullZoneId (required).

cdn_list_pullzonesB

List all CDN pull zones

Inputs: page, perPage, search.

cdn_purge_cacheC

Purge all cached content from a pull zone

Inputs: pullZoneId (required).

cdn_remove_allowed_refererB

Remove a domain from the pull zone's allowed referrer list

Inputs: pullZoneId (required), hostname (required).

cdn_remove_blocked_refererB

Remove a domain from the pull zone's blocked referrer list

Inputs: pullZoneId (required), hostname (required).

cdn_update_pullzoneC

Update pull zone settings

Inputs: pullZoneId (required), originUrl, allowedReferrers, blockedReferrers, +2 more.

dns_add_recordC

Add a DNS record to a zone

Inputs: dnsZoneId (required), type (required), name (required), value (required), +4 more.

dns_create_zoneC

Create a new DNS zone

Inputs: domain (required).

dns_delete_recordC

Delete a DNS record

Inputs: dnsZoneId (required), recordId (required).

dns_delete_zoneC

Delete a DNS zone

Inputs: dnsZoneId (required).

dns_disable_dnssecC

Disable DNSSEC on a DNS zone

Inputs: dnsZoneId (required).

dns_enable_dnssecC

Enable DNSSEC on a DNS zone

Inputs: dnsZoneId (required).

dns_get_zoneC

Get DNS zone details

Inputs: dnsZoneId (required).

dns_list_zonesC

List all DNS zones

Inputs: page, perPage, search.

dns_update_recordC

Update an existing DNS record

Inputs: dnsZoneId (required), recordId (required), type, name, +4 more.

dns_update_zoneC

Update DNS zone settings

Inputs: dnsZoneId (required), customNameserversEnabled, nameserver1, nameserver2, +2 more.

storage_delete_fileC

Delete a file or directory from a storage zone

Inputs: storageZone (required), path (required), storagePassword (required), region.

storage_download_fileC

Download/read a file from storage zone (returns text content)

Inputs: storageZone (required), path (required), storagePassword (required), region.

storage_list_filesC

List files and directories in a storage zone path

Inputs: storageZone (required), storagePassword (required), path, region.

storage_upload_fileC

Upload a file to a storage zone (provide base64 content)

Inputs: storageZone (required), path (required), storagePassword (required), contentBase64 (required), +1 more.

stream_add_captionC

Add a caption/subtitle track to a video

Inputs: libraryId (required), videoId (required), srclang (required), label (required), +1 more.

stream_create_collectionC

Create a new video collection

Inputs: libraryId (required), name (required).

stream_create_videoB

Create a new video object in a library (returns GUID for upload)

Inputs: libraryId (required), title (required), collectionId.

stream_delete_captionB

Remove a caption track from a video

Inputs: libraryId (required), videoId (required), srclang (required).

stream_delete_collectionC

Delete a video collection

Inputs: libraryId (required), collectionId (required).

stream_delete_videoC

Delete a video from a library

Inputs: libraryId (required), videoId (required).

stream_get_heatmapC

Get video viewer engagement heatmap data

Inputs: libraryId (required), videoId (required).

stream_get_videoC

Get details of a specific video

Inputs: libraryId (required), videoId (required).

stream_list_collectionsC

List video collections in a library

Inputs: libraryId (required), page, itemsPerPage, search, +1 more.

stream_list_videosC

List videos in a Bunny Stream library

Inputs: libraryId (required), page, itemsPerPage, search, +1 more.

stream_reencode_videoC

Trigger re-encoding of a video

Inputs: libraryId (required), videoId (required).

stream_set_thumbnailC

Set a video thumbnail from a specific timestamp

Inputs: libraryId (required), videoId (required), thumbnailUrl.

stream_update_videoC

Update video properties (title, collection, chapters, moments)

Inputs: libraryId (required), videoId (required), title, collectionId.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 37 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. The tools are organized by service domains (CDN, DNS, Storage, Stream), and within each domain, they target specific resources and actions with clear boundaries (e.g., cdn_add_allowed_referer vs. cdn_add_blocked_referer, or stream_create_video vs. stream_update_video).

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout, with a clear prefix for each service domain (cdn_, dns_, storage_, stream_). All tools use snake_case uniformly, and verbs like add, create, delete, get, list, update, etc., are applied predictably across resources.

    Tool Count3/5

    With 37 tools, the count is borderline high for a single server, potentially feeling heavy. However, given that it covers four distinct service domains (CDN, DNS, Storage, Stream), each with comprehensive operations, it is reasonable but may overwhelm agents due to the volume.

    Completeness5/5

    The tool surface provides complete CRUD/lifecycle coverage for each domain. For example, CDN has create, get, list, update, delete for pull zones, plus referrer management and cache purging; DNS has full zone and record management with DNSSEC; Storage has upload, download, list, delete; Stream has video and collection management with additional features like captions, heatmaps, and re-encoding. No obvious gaps are present.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to manage Cloudflare resources through natural language, including DNS records, zone management, Workers KV storage, cache purging, and analytics. Supports comprehensive Cloudflare operations with secure API token authentication.
      13
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables comprehensive domain and DNS management through the Porkbun API, including domain registration checks, DNS record operations, URL forwarding, DNSSEC configuration, and SSL certificate management. Provides 27 tools for complete domain administration through natural language interactions.
      2
      MIT