bunny.net CDN and Shield MCP Server
Debug bunny.net CDN pull zones and manage bunny Shield: WAF, rate limits, bot detection, event logs
bunny.net CDN and Shield scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 16 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 50 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
88/100 for listing completeness. Lost points: 2 of 16 tools barely described, short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "fullfatthings-bunny-mcp": { "command": "npx", "args": [ "-y", "@fullfatthings/bunny-mcp@1.0.1" ], "env": { "BUNNY_API_KEY": "YOUR_BUNNY_API_KEY", "BUNNY_READONLY": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
BUNNY_API_KEYSecret | Required | bunny.net account API key (full account access) |
BUNNY_READONLY | Optional | Set to 1 to register only read tools |
Tools16Tool docs quality grade D
All capabilitiescdn_statisticstoolBandwidth, requests, cache hit rate and error responses.
delete_edge_ruletoolDelete an edge rule.
Delete a custom WAF rule or rate limit.
get_pull_zonetoolOne pull zone: hostnames, readable edge rules, and caching, origin and security settings.
get_shield_zonetoolWAF settings, custom rules, rate limits and bot detection, with notes.
list_pull_zonestoolList pull zones with IDs, origins and hostnames.
origin_errorstoolFailed requests from bunny.net to your origin on one day, with counts by error.
purge_cachetoolPurge one URL or a whole pull zone.
save_edge_ruletoolCreate or update an edge rule.
save_rate_limittoolCreate or update a rate limit.
save_waf_ruletoolCreate or update a custom WAF rule.
Switch an edge rule on or off.
About
bunny-mcp
An MCP server for debugging bunny.net CDN sites and managing bunny Shield, the bunny.net web application firewall (WAF).
This is an unofficial project. It is not affiliated with or endorsed by bunny.net.
It covers pull zones (CDN sites), edge rules, cache purges, CDN statistics, origin error logs, and Shield: WAF settings, custom WAF rules, rate limits, bot detection and WAF event logs. It does not cover DNS, storage, Stream or edge scripts. For those, see anvme/bunnycdn-mcp or Digitizers/bunny-mcp.
What it does differently
- Explains what rules will really do.
get_shield_zonereturnsnotesthat warn, for example, when Block rules only log because the zone's WAF execution mode is Log. - Reads WAF event logs.
shield_event_logsshows what the WAF blocked, challenged or logged in the last 72 hours, grouped by rule, IP, JA4 fingerprint and more. - Reports what changed. Update tools return a before-and-after diff.
update_pull_zonealso lists settings bunny.net changed that you did not ask for. - Keeps responses small. Pull zones, edge rules, origin errors and event logs are summarised. Pass
detail: truefor the raw response. - Hides credentials. Token authentication keys, AWS signing keys, TLS certificates and private keys, log forwarding tokens, and cookie or
Authorizationvalues in edge rule triggers are replaced with<hidden>, also in raw responses.
Requirements
- Node.js 20 or later
- A bunny.net account API key, from Account settings > API key in the bunny.net dashboard. This key gives full access to the account.
Install
Claude Code:
claude mcp add bunny --env BUNNY_API_KEY=your-key -- npx -y @fullfatthings/bunny-mcp
Other MCP clients (for example Claude Desktop):
{
"mcpServers": {
"bunny": {
"command": "npx",
"args": ["-y", "@fullfatthings/bunny-mcp"],
"env": { "BUNNY_API_KEY": "your-key" }
}
}
}
Configuration
| Variable | Meaning |
|---|---|
BUNNY_API_KEY | Required. Your bunny.net account API key. |
BUNNY_READONLY | Set to 1 to register only the read tools. Write tools are then absent from the tool list, so the assistant cannot call them. |
Tools
Read tools:
| Tool | Purpose |
|---|---|
list_pull_zones | List pull zones with IDs, origins and hostnames. |
get_pull_zone | One pull zone: hostnames, readable edge rules, and caching, origin and security settings. |
cdn_statistics | Bandwidth, requests, cache hit rate and error responses. |
origin_errors | Failed requests from bunny.net to your origin on one day, with counts by error. |
get_shield_zone | WAF settings, custom rules, rate limits and bot detection, with notes. |
shield_event_logs | Requests the WAF blocked, challenged or logged in the last 72 hours. |
Write tools (not registered when BUNNY_READONLY=1):
| Tool | Purpose |
|---|---|
update_pull_zone | Change pull zone settings. |
purge_cache | Purge one URL or a whole pull zone. |
save_edge_rule | Create or update an edge rule. |
set_edge_rule_enabled | Switch an edge rule on or off. |
delete_edge_rule | Delete an edge rule. |
update_shield_zone | Change WAF settings, including adding or removing single rule IDs from lists. |
update_bot_detection | Change bot detection mode and sensitivity. |
save_waf_rule | Create or update a custom WAF rule. |
save_rate_limit | Create or update a rate limit. |
delete_shield_rule | Delete a custom WAF rule or rate limit. |
To test a new WAF rule safely, save it with action Log, check shield_event_logs, then save it again with action Block.
Development
npm install
npm test
To release, run npm version patch (or minor or major). It updates package.json and server.json, commits, tags and pushes; the tag starts a GitHub Action that publishes to npm and the MCP registry.
Licence
MIT. See LICENSE.
Frequently asked questions
What is bunny.net CDN and Shield MCP Server?
Debug bunny.net CDN pull zones and manage bunny Shield: WAF, rate limits, bot detection, event logs
How do I install bunny.net CDN and Shield MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. bunny.net CDN and Shield MCP Server runs locally from the npm package @fullfatthings/bunny-mcp with the command npx -y @fullfatthings/bunny-mcp@1.0.1.
Is bunny.net CDN and Shield MCP Server free and open source?
Yes. bunny.net CDN and Shield MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does bunny.net CDN and Shield MCP Server support remote (HTTP) connections?
No remote endpoint is listed for bunny.net CDN and Shield MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does bunny.net CDN and Shield MCP Server provide?
bunny.net CDN and Shield MCP Server provides 16 tools, including cdn_statistics, delete_edge_rule, delete_shield_rule, and get_pull_zone. See the full tool list for descriptions and parameters.
How is bunny.net CDN and Shield MCP Server's trust score calculated?
bunny.net CDN and Shield MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.