Skip to content
MCP server

bunny.net CDN and Shield

Debug bunny.net pull zones and manage Shield WAF rules, with read-only mode

Runs locally

bunny.net CDN and Shield is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI
Runs
Locally
What it can do
Can delete data (3 tools)
Access
Needs a secret key or token

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add bunny-mcp --env BUNNY_API_KEY='<BUNNY_API_KEY>' -- npx -y @fullfatthings/bunny-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "bunny-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fullfatthings/bunny-mcp"
      ],
      "env": {
        "BUNNY_API_KEY": "<BUNNY_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "bunny-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fullfatthings/bunny-mcp"
      ],
      "env": {
        "BUNNY_API_KEY": "<BUNNY_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "bunny-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fullfatthings/bunny-mcp"
      ],
      "env": {
        "BUNNY_API_KEY": "<BUNNY_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "bunny-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@fullfatthings/bunny-mcp"
      ],
      "env": {
        "BUNNY_API_KEY": "<BUNNY_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add bunny-mcp --env BUNNY_API_KEY='<BUNNY_API_KEY>' -- npx -y @fullfatthings/bunny-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.bunny-mcp]
command = "npx"
args = ["-y", "@fullfatthings/bunny-mcp"]
env = { BUNNY_API_KEY = "<BUNNY_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "bunny-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fullfatthings/bunny-mcp"
      ],
      "env": {
        "BUNNY_API_KEY": "<BUNNY_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e BUNNY_API_KEY='<BUNNY_API_KEY>' bunny-mcp npx -- -y @fullfatthings/bunny-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "bunny-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@fullfatthings/bunny-mcp"
          ],
          "env": {
            "BUNNY_API_KEY": "<BUNNY_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • BUNNY_API_KEYbunny.net account API key (full account access)Required
  • BUNNY_READONLYSet to 1 to register only read tools

About bunny.net CDN and Shield

Unlike broad API wrappers, this server concentrates on two jobs: working out why a CDN site misbehaves and tuning bunny Shield, the bunny.net web application firewall. It does not cover DNS, storage, Stream or edge scripts, and the README points to two other projects for those. It is unofficial and not endorsed by bunny.net.

The notes on get_shield_zone warn when settings undermine each other, for example Block rules that only log because the zone is in Log mode. Event logs cover the last 72 hours grouped by rule, IP or JA4 fingerprint. Update tools return a before-and-after diff, summaries keep responses small unless detail is requested, and tokens, signing keys, certificates and sensitive edge rule values show as hidden.

It needs Node 20+ and a bunny.net account API key, which has full account access. Setting BUNNY_READONLY=1 leaves out the write tools entirely. The README suggests testing a new WAF rule with action Log, checking the logs, then switching to Block.

Tools this server provides (16)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 16 tools delete data and 4 change data; 6 names don't say.

From the server's own tool labels and tool names; not verified by us.

list_pull_zonesName suggests: reads
List pull zones with IDs, origins and hostnames.
get_pull_zoneName suggests: reads
Show one pull zone's hostnames, edge rules and settings.
cdn_statistics
Bandwidth, requests, cache hit rate and error responses.
origin_errors
Failed requests to your origin on one day, counted by error.
get_shield_zoneName suggests: reads
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.
update_pull_zoneName suggests: changes
Change pull zone settings.
purge_cacheName suggests: deletes
Purge one URL or a whole pull zone.
save_edge_rule
Create or update an edge rule.
set_edge_rule_enabledName suggests: changes
Switch an edge rule on or off.
delete_edge_ruleName suggests: deletes
Delete an edge rule.
update_shield_zoneName suggests: changes
Change WAF settings.
update_bot_detectionName suggests: changes
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_ruleName suggests: deletes
Delete a custom WAF rule or rate limit.

What it does

Pull zone debugging
Lists zones and shows hostnames, edge rules, caching, origin and security settings.
CDN statistics and origin errors
Reports bandwidth, requests, cache hit rate and failed origin requests for a day.
Shield WAF management
Edits WAF settings, custom rules, rate limits and bot detection.
Event log analysis
Shows what the WAF blocked, challenged or logged in 72 hours.
Change diffs
Update tools return a before-and-after diff.
Read-only switch
BUNNY_READONLY=1 removes write tools from the tool list.

Good for

  • Find why a pull zone returns origin errors
  • Test a WAF rule in Log mode before blocking
  • Purge cache for one URL or a whole zone
  • Audit which WAF rules fire most often

Pricing

Open source

MIT licence; needs a bunny.net account

bunny.net CDN and Shield FAQ

Is bunny.net CDN and Shield official?

No. The README says it is unofficial and not affiliated with bunny.net.

What does bunny.net CDN and Shield not cover?

DNS, storage, Stream and edge scripts.

How do I make bunny.net CDN and Shield safe?

Set BUNNY_READONLY=1 so write tools are not registered.

What key does bunny.net CDN and Shield need?

A bunny.net account API key, which gives full access to the account.

Is bunny.net CDN and Shield free?

Yes. bunny.net CDN and Shield is open source, so you can use and self-host it for free.

How do I add bunny.net CDN and Shield to Claude Code?

Run this command in your terminal: claude mcp add bunny-mcp --env BUNNY_API_KEY='<BUNNY_API_KEY>' -- npx -y @fullfatthings/bunny-mcp

What are the best alternatives to bunny.net CDN and Shield?

The closest alternatives to bunny.net CDN and Shield are REA, awslabs, AiSOC, kubeshark and Azure MCP Server.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers