was-bunny-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@was-bunny-mcplist all my bunny.net pull zones and their current status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
was-bunny-mcp 🐰
Production-grade, shareable Model Context Protocol (MCP) server for bunny.net.
Manage your Pull Zones (CDN), Storage Zones, Bunny DNS, edge cache purges, usage statistics, and execute raw REST API queries right from your AI assistant (Claude Desktop, Cursor, Antigravity, cline, etc.).
Prerequisites
Required | How to install | |
Node.js 18+ | running | Mac: |
Git | letting | Mac: |
bunny.net Account | to access CDN & DNS | |
Account API Key | for authentication | Walked through below |
Related MCP server: Bunny.net MCP Server
Quick Start
1. Authenticate Once
Run the interactive setup via npx:
npx -y github:mnsmasum62786/was-bunny-mcp authYou will be prompted to paste your bunny.net Account API Key. The key is tested against the bunny.net API immediately and securely saved at ~/.was-bunny-mcp/config.json with strict 0600 permissions.
2. Connect to Your AI Assistant
Add the server to your MCP client configuration:
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"bunny": {
"command": "npx",
"args": ["-y", "github:mnsmasum62786/was-bunny-mcp"]
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"bunny": {
"command": "npx",
"args": ["-y", "github:mnsmasum62786/was-bunny-mcp"]
}
}
}Antigravity MCP Config (mcp_config.json)
{
"mcpServers": {
"bunny": {
"command": "npx",
"args": ["-y", "github:mnsmasum62786/was-bunny-mcp"]
}
}
}Getting Your bunny.net API Key
Log into your bunny.net Dashboard.
Click on your profile icon in the top right and select Account Settings.
Navigate to API in the sidebar.
Copy your Account API Key.
CLI Commands
Command | Description |
| Interactive setup to enter & validate your API key |
| Check current authentication status and active profile |
| Clear saved credentials |
| Show available CLI flags and usage information |
Multi-Account / Multi-Profile Support
You can configure and switch between multiple bunny.net accounts (e.g. personal vs company):
# Authenticate a secondary profile
npx -y github:mnsmasum62786/was-bunny-mcp auth --profile agency
# Check profile status
npx -y github:mnsmasum62786/was-bunny-mcp status --profile agency
# Run MCP server under a specific profile
npx -y github:mnsmasum62786/was-bunny-mcp --profile agencyOr configure via environment variable:
export BUNNY_PROFILE=agency
# Or bypass local file storage completely in CI/CD:
export BUNNY_API_KEY="your-api-key"Available Tools
Tool | Category | Description |
| Pull Zone | List all CDN Pull Zones with bandwidth, origins, and status. |
| Pull Zone | Retrieve detailed settings for a specific Pull Zone ID. |
| Pull Zone | Create a new Pull Zone with origin URL and pricing tiers. |
| Pull Zone | Update caching, headers, origins, or edge rules for a zone. |
| Cache | Purge the entire edge cache for a Pull Zone. |
| Cache | Purge a single specific URL or file path across the global edge. |
| Hostname | Attach a custom domain/hostname to a Pull Zone. |
| Hostname | Detach/remove a custom hostname from a Pull Zone. |
| Storage | List all Storage Zones with region, storage usage, and files. |
| Storage | Get details and storage credentials for a Storage Zone. |
| Storage | Create a new Bunny Storage Zone in a selected main region. |
| DNS | List all DNS zones registered in Bunny DNS. |
| DNS | Retrieve details and all DNS records for a DNS zone. |
| DNS | Add an A, AAAA, CNAME, TXT, MX, etc. record to a DNS zone. |
| DNS | Delete a DNS record by ID. |
| Analytics | Fetch bandwidth, requests, cache hit rate, and traffic metrics. |
| Universal API | Execute any arbitrary bunny.net REST API endpoint directly. |
Example AI Prompts
"Show all my active bunny.net pull zones and their origins."
"Purge the cache for
https://cdn.example.com/assets/app.jsacross bunny.net.""Purge the whole cache for pull zone ID 12345."
"Add a CNAME record in my DNS zone
example.compointingshoptomystore.shopify.com.""Check my bandwidth and cache hit rate on bunny.net for the last 7 days."
"Add custom hostname
cdn.myclient.comto pull zone 12345."
Security
Local-first Credential Storage: Credentials are saved only on your local machine in
~/.was-bunny-mcp/config.json.File Permissions: Created and updated with POSIX
0600permissions (owner read/write only).Transport Security: All communications with bunny.net use TLS
https://api.bunny.net.Environment Bypass: In automated/Docker environments, credentials can be passed via
BUNNY_API_KEYwithout ever touching the disk.
License
MIT © Web Analytics Solution
This server cannot be deployed
Maintenance
Related MCP Connectors
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Fastly's CDN API through the Model Context Protocol, allowing secure management of CDN services, caching, security settings, and performance monitoring without exposing API keys.224 npm7MIT
- AlicenseBqualityDmaintenanceEnables interaction with Bunny.net APIs for Stream/Video, Storage, CDN Pull Zones, and DNS services. Provides 35 tools for managing video libraries, files, CDN configurations, and DNS records through Claude.37ISC
- AlicenseNot gradedqualityDmaintenanceEnables managing Illuminati Networks CDN zones, object storage, and account (including uploads, signed URLs, and balance) from any MCP client like Claude Desktop.MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to manage Bunny.net services such as pull zones, DNS, storage, video streaming, edge scripting, security, and Magic Containers through natural language.549 npmMIT