bunny.net MCP by usefulapi is an MCP server published by io.usefulapi, hosted at bunny-net.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 22 tools, including bunny_list_pull_zones, bunny_get_pull_zone, bunny_list_storage_zones, bunny_get_storage_zone, bunny_get_storage_zone_statistics.
Inspect pull zones, storage, DNS and video libraries on bunny.net, and purge caches.
4,413 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the CDN pull zones on the account. By default returns a compact view per zone (id, name, origin URL, enabled/suspended, hostnames, linked storage zone, bandwidth and charges this month); set full=true for every setting. bunny.net: GET /pullzone.
| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return every pull zone setting instead of the compact view. |
| page | integer | Page number, 1-based. Default 1. |
| search | string | Filter results by this search term. |
| per_page | integer | Items per page, 5-1000. Default 1000. |
{
"name": "bunny_list_pull_zones",
"title": "List pull zones",
"description": "List the CDN pull zones on the account. By default returns a compact view per zone (id, name, origin URL, enabled/suspended, hostnames, linked storage zone, bandwidth and charges this month); set full=true for every setting. bunny.net: GET /pullzone.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"full": {
"type": "boolean",
"description": "Return every pull zone setting instead of the compact view."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, 1-based. Default 1."
},
"search": {
"type": "string",
"description": "Filter results by this search term."
},
"per_page": {
"type": "integer",
"maximum": 1000,
"minimum": 5,
"description": "Items per page, 5-1000. Default 1000."
}
}
},
"annotations": {
"title": "List pull zones",
"readOnlyHint": true
}
}Fetch one pull zone with all its settings: origin, hostnames, caching, security, edge rules (with their GUIDs, needed by bunny_set_edge_rule_enabled), blocked IPs, limits and usage. Secrets (token-auth key, AWS signing secret, certificate private keys) are redacted. bunny.net: GET /pullzone/{id}.
| Parameter | Type | Description |
|---|---|---|
| pull_zone_id * | integer | The Pull Zone ID. |
| include_certificate | boolean | Include each hostname's public SSL certificate (private keys are always redacted). |
{
"name": "bunny_get_pull_zone",
"title": "Get a pull zone",
"description": "Fetch one pull zone with all its settings: origin, hostnames, caching, security, edge rules (with their GUIDs, needed by bunny_set_edge_rule_enabled), blocked IPs, limits and usage. Secrets (token-auth key, AWS signing secret, certificate private keys) are redacted. bunny.net: GET /pullzone/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pull_zone_id"
],
"properties": {
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Pull Zone ID.",
"exclusiveMinimum": 0
},
"include_certificate": {
"type": "boolean",
"description": "Include each hostname's public SSL certificate (private keys are always redacted)."
}
}
},
"annotations": {
"title": "Get a pull zone",
"readOnlyHint": true
}
}List the edge storage zones on the account: region, replication regions, storage used, file count, tier and connected pull zones. Storage passwords are redacted. bunny.net: GET /storagezone.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based. Default 1. |
| search | string | Filter results by this search term. |
| per_page | integer | Items per page, 5-1000. Default 1000. |
| include_deleted | boolean | Also return deleted storage zones. |
{
"name": "bunny_list_storage_zones",
"title": "List storage zones",
"description": "List the edge storage zones on the account: region, replication regions, storage used, file count, tier and connected pull zones. Storage passwords are redacted. bunny.net: GET /storagezone.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, 1-based. Default 1."
},
"search": {
"type": "string",
"description": "Filter results by this search term."
},
"per_page": {
"type": "integer",
"maximum": 1000,
"minimum": 5,
"description": "Items per page, 5-1000. Default 1000."
},
"include_deleted": {
"type": "boolean",
"description": "Also return deleted storage zones."
}
}
},
"annotations": {
"title": "List storage zones",
"readOnlyHint": true
}
}Fetch one edge storage zone: hostname, region, replication, storage used, files stored, 404 handling and connected pull zones. Storage passwords are redacted. bunny.net: GET /storagezone/{id}.
| Parameter | Type | Description |
|---|---|---|
| storage_zone_id * | integer | The Storage Zone ID. |
{
"name": "bunny_get_storage_zone",
"title": "Get a storage zone",
"description": "Fetch one edge storage zone: hostname, region, replication, storage used, files stored, 404 handling and connected pull zones. Storage passwords are redacted. bunny.net: GET /storagezone/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"storage_zone_id"
],
"properties": {
"storage_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Storage Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a storage zone",
"readOnlyHint": true
}
}Daily charts of storage used and file count for one storage zone. bunny.net: GET /storagezone/{id}/statistics.
| Parameter | Type | Description |
|---|---|---|
| date_to | string | End of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days. |
| date_from | string | Start of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days. |
| storage_zone_id * | integer | The Storage Zone ID. |
{
"name": "bunny_get_storage_zone_statistics",
"title": "Get storage zone statistics",
"description": "Daily charts of storage used and file count for one storage zone. bunny.net: GET /storagezone/{id}/statistics.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"storage_zone_id"
],
"properties": {
"date_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "End of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days."
},
"date_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "Start of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days."
},
"storage_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Storage Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get storage zone statistics",
"readOnlyHint": true
}
}List the DNS zones hosted on bunny.net, with nameserver detection, DNSSEC and logging status. bunny.net: GET /dnszone.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based. Default 1. |
| search | string | Filter results by this search term. |
| per_page | integer | Items per page, 5-1000. Default 1000. |
{
"name": "bunny_list_dns_zones",
"title": "List DNS zones",
"description": "List the DNS zones hosted on bunny.net, with nameserver detection, DNSSEC and logging status. bunny.net: GET /dnszone.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, 1-based. Default 1."
},
"search": {
"type": "string",
"description": "Filter results by this search term."
},
"per_page": {
"type": "integer",
"maximum": 1000,
"minimum": 5,
"description": "Items per page, 5-1000. Default 1000."
}
}
},
"annotations": {
"title": "List DNS zones",
"readOnlyHint": true
}
}Fetch one DNS zone with its settings and records. bunny.net: GET /dnszone/{id}.
| Parameter | Type | Description |
|---|---|---|
| zone_id * | integer | The DNS Zone ID. |
{
"name": "bunny_get_dns_zone",
"title": "Get a DNS zone",
"description": "Fetch one DNS zone with its settings and records. bunny.net: GET /dnszone/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"zone_id"
],
"properties": {
"zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The DNS Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a DNS zone",
"readOnlyHint": true
}
}List the records in one DNS zone, optionally filtered by type or search term. Record Type comes back as bunny.net's integer code (0=A, 1=AAAA, 2=CNAME, 3=TXT, 4=MX, 5=Redirect, 6=Flatten, 7=PullZone, 8=SRV, 9=CAA, 10=PTR, 11=Script, 12=NS, 13=SVCB, 14=HTTPS, 15=TLSA). bunny.net: GET /dnszone/{zoneId}/records.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based. Default 1. |
| type | string | Only records of this type. |
| search | string | Filter results by this search term. |
| zone_id * | integer | The DNS Zone ID. |
| per_page | integer | Items per page, 5-1000. Default 1000. |
{
"name": "bunny_list_dns_records",
"title": "List DNS records",
"description": "List the records in one DNS zone, optionally filtered by type or search term. Record Type comes back as bunny.net's integer code (0=A, 1=AAAA, 2=CNAME, 3=TXT, 4=MX, 5=Redirect, 6=Flatten, 7=PullZone, 8=SRV, 9=CAA, 10=PTR, 11=Script, 12=NS, 13=SVCB, 14=HTTPS, 15=TLSA). bunny.net: GET /dnszone/{zoneId}/records.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"zone_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, 1-based. Default 1."
},
"type": {
"enum": [
"A",
"AAAA",
"CNAME",
"TXT",
"MX",
"Redirect",
"Flatten",
"PullZone",
"SRV",
"CAA",
"PTR",
"Script",
"NS",
"SVCB",
"HTTPS",
"TLSA"
],
"type": "string",
"description": "Only records of this type."
},
"search": {
"type": "string",
"description": "Filter results by this search term."
},
"zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The DNS Zone ID.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 1000,
"minimum": 5,
"description": "Items per page, 5-1000. Default 1000."
}
}
},
"annotations": {
"title": "List DNS records",
"readOnlyHint": true
}
}Export one DNS zone as a BIND zone file (plain text) — handy for review, diffing or backup before a change. bunny.net: GET /dnszone/{id}/export.
| Parameter | Type | Description |
|---|---|---|
| zone_id * | integer | The DNS Zone ID. |
{
"name": "bunny_export_dns_zone",
"title": "Export a DNS zone",
"description": "Export one DNS zone as a BIND zone file (plain text) — handy for review, diffing or backup before a change. bunny.net: GET /dnszone/{id}/export.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"zone_id"
],
"properties": {
"zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The DNS Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Export a DNS zone",
"readOnlyHint": true
}
}List the Stream video libraries: video count, storage and traffic usage, linked pull/storage zones and player/encoding settings. Library API keys are redacted. bunny.net: GET /videolibrary.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based. Default 1. |
| search | string | Filter results by this search term. |
| per_page | integer | Items per page, 5-1000. Default 1000. |
{
"name": "bunny_list_video_libraries",
"title": "List video libraries",
"description": "List the Stream video libraries: video count, storage and traffic usage, linked pull/storage zones and player/encoding settings. Library API keys are redacted. bunny.net: GET /videolibrary.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, 1-based. Default 1."
},
"search": {
"type": "string",
"description": "Filter results by this search term."
},
"per_page": {
"type": "integer",
"maximum": 1000,
"minimum": 5,
"description": "Items per page, 5-1000. Default 1000."
}
}
},
"annotations": {
"title": "List video libraries",
"readOnlyHint": true
}
}Fetch one Stream video library with its full configuration (resolutions, DRM, referrer rules, transcribing, watermark). Library API keys are redacted. bunny.net: GET /videolibrary/{id}.
| Parameter | Type | Description |
|---|---|---|
| library_id * | integer | The Video Library ID. |
{
"name": "bunny_get_video_library",
"title": "Get a video library",
"description": "Fetch one Stream video library with its full configuration (resolutions, DRM, referrer rules, transcribing, watermark). Library API keys are redacted. bunny.net: GET /videolibrary/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"library_id"
],
"properties": {
"library_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Video Library ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a video library",
"readOnlyHint": true
}
}CDN traffic statistics for the account or one pull zone: total bandwidth, origin traffic, requests served, cache hit rate and average origin response time, plus optional charts (bandwidth, requests, origin traffic, response times, 3xx/4xx/5xx errors, geographic distribution). bunny.net: GET /statistics.
| Parameter | Type | Description |
|---|---|---|
| hourly | boolean | Hourly instead of daily grouping. |
| date_to | string | End of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days. |
| date_from | string | Start of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days. |
| region_id | integer | Only this edge region (see bunny_list_regions). |
| load_errors | boolean | Include the 3xx/4xx/5xx response charts. |
| pull_zone_id | integer | Only this pull zone. Omit for the whole account. |
| load_bandwidth_used | boolean | Include the bandwidth charts. |
| load_origin_traffic | boolean | Include the origin traffic chart. |
| load_requests_served | boolean | Include the requests-served chart. |
List bunny.net's edge regions with their IDs, codes, location and per-GB traffic price. A cheap way to confirm the API key works. bunny.net: GET /region.
No parameters.
{
"name": "bunny_list_regions",
"title": "List edge regions",
"description": "List bunny.net's edge regions with their IDs, codes, location and per-GB traffic price. A cheap way to confirm the API key works. bunny.net: GET /region.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List edge regions",
"readOnlyHint": true
}
}The account balance, this month's charges broken down by product (traffic per continent, storage, DNS, Stream, scripting, Shield, ...) and recent billing records. Payment-method tokens are redacted. bunny.net: GET /billing.
No parameters.
{
"name": "bunny_get_billing",
"title": "Get billing details",
"description": "The account balance, this month's charges broken down by product (traffic per continent, storage, DNS, Stream, scripting, Shield, ...) and recent billing records. Payment-method tokens are redacted. bunny.net: GET /billing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get billing details",
"readOnlyHint": true
}
}Who changed what on one day: the account audit log (timestamp, product, resource, action, actor and a diff). Paginate with continuation_token. bunny.net: GET /user/audit/{date}.
| Parameter | Type | Description |
|---|---|---|
| date * | string | The day to read, YYYY-MM-DD. |
| limit | integer | Max entries, 1-10000. Default 100. |
| order | string | Sort by time. |
| product | array | Only these products. |
| actor_id | array | Only changes by these actors. |
| resource_id | array | Only these resource IDs. |
| resource_type | array | Only these resource types. |
| continuation_token | string | ContinuationToken from the previous page. |
{
"name": "bunny_get_audit_log",
"title": "Get the audit log",
"description": "Who changed what on one day: the account audit log (timestamp, product, resource, action, actor and a diff). Paginate with continuation_token. bunny.net: GET /user/audit/{date}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day to read, YYYY-MM-DD."
},
"limit": {
"type": "integer",
"maximum": 10000,
"minimum": 1,
"description": "Max entries, 1-10000. Default 100."
},
"order": {
"enum": [
"Ascending",
"Descending"
],
"type": "string",
"description": "Sort by time."
},
"product": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these products."
},
"actor_id": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only changes by these actors."
},
"resource_id": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these resource IDs."
},
"resource_type": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these resource types."
},
"continuation_token": {
"type": "string",
"description": "ContinuationToken from the previous page."
}
}
},
"annotations": {
"title": "Get the audit log",
"readOnlyHint": true
}
}WRITE. Purge the cached content of one pull zone — everything, or only files carrying a cache tag. Nothing is lost (the CDN refetches from the origin) but the origin takes the refill load. bunny.net: POST /pullzone/{id}/purgeCache.
| Parameter | Type | Description |
|---|---|---|
| cache_tag | string | Only purge files with this cache tag. |
| pull_zone_id * | integer | The Pull Zone ID. |
{
"name": "bunny_purge_pull_zone_cache",
"title": "Purge a pull zone's cache",
"description": "WRITE. Purge the cached content of one pull zone — everything, or only files carrying a cache tag. Nothing is lost (the CDN refetches from the origin) but the origin takes the refill load. bunny.net: POST /pullzone/{id}/purgeCache.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pull_zone_id"
],
"properties": {
"cache_tag": {
"type": "string",
"maxLength": 512,
"minLength": 1,
"description": "Only purge files with this cache tag."
},
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Pull Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Purge a pull zone's cache",
"destructiveHint": true
}
}WRITE. Purge one URL from the CDN cache. A URL ending in '/' purges everything under it unless exact_path is true; a '*' wildcard is also accepted. The CDN refetches from the origin. bunny.net: POST /purge.
| Parameter | Type | Description |
|---|---|---|
| url * | string | The CDN URL to purge, e.g. https://myzone.b-cdn.net/css/site.css. |
| async | boolean | Return immediately instead of waiting for the purge to finish. |
| exact_path | boolean | For a URL ending in '/', purge only that exact path. |
{
"name": "bunny_purge_url",
"title": "Purge a URL from cache",
"description": "WRITE. Purge one URL from the CDN cache. A URL ending in '/' purges everything under it unless exact_path is true; a '*' wildcard is also accepted. The CDN refetches from the origin. bunny.net: POST /purge.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"pattern": "^https?:\\/\\/\\S+$",
"maxLength": 2048,
"description": "The CDN URL to purge, e.g. https://myzone.b-cdn.net/css/site.css."
},
"async": {
"type": "boolean",
"description": "Return immediately instead of waiting for the purge to finish."
},
"exact_path": {
"type": "boolean",
"description": "For a URL ending in '/', purge only that exact path."
}
}
},
"annotations": {
"title": "Purge a URL from cache",
"destructiveHint": true
}
}WRITE. Add a record to a DNS zone. Takes effect on live DNS. bunny.net: PUT /dnszone/{zoneId}/records.
| Parameter | Type | Description |
|---|---|---|
| tag | string | Tag (CAA), e.g. 'issue'. |
| ttl | integer | TTL in seconds. |
| name * | string | Record name relative to the zone; empty string for the apex, e.g. 'www'. |
| port | integer | Port (SRV). |
| type * | string | Record type. |
| flags | integer | Flags (CAA). |
| value * | string | Record value, e.g. an IP for A, a hostname for CNAME, text for TXT. |
| weight | integer | Weight (SRV, weighted records). |
| comment | string | Free-text note on the record. |
| zone_id * | integer | The DNS Zone ID. |
| disabled | boolean |
WRITE. Update an existing DNS record. Takes effect on live DNS. Read the record first with bunny_list_dns_records and pass its type, name and value along with any other fields you want to keep or change. bunny.net: POST /dnszone/{zoneId}/records/{id}.
| Parameter | Type | Description |
|---|---|---|
| tag | string | Tag (CAA), e.g. 'issue'. |
| ttl | integer | TTL in seconds. |
| name * | string | Record name relative to the zone; empty string for the apex, e.g. 'www'. |
| port | integer | Port (SRV). |
| type * | string | Record type. |
| flags | integer | Flags (CAA). |
| value * | string | Record value, e.g. an IP for A, a hostname for CNAME, text for TXT. |
| weight | integer | Weight (SRV, weighted records). |
| comment | string | Free-text note on the record. |
| zone_id * | integer | The DNS Zone ID. |
WRITE. Turn one edge rule on a pull zone on or off (reversible — the rule is kept). Get the rule's GUID from bunny_get_pull_zone (EdgeRules[].Guid). bunny.net: POST /pullzone/{pullZoneId}/edgerules/{edgeRuleId}/setEdgeRuleEnabled.
| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true to enable, false to disable. |
| edge_rule_id * | string | The edge rule's GUID. |
| pull_zone_id * | integer | The Pull Zone ID. |
{
"name": "bunny_set_edge_rule_enabled",
"title": "Enable or disable an edge rule",
"description": "WRITE. Turn one edge rule on a pull zone on or off (reversible — the rule is kept). Get the rule's GUID from bunny_get_pull_zone (EdgeRules[].Guid). bunny.net: POST /pullzone/{pullZoneId}/edgerules/{edgeRuleId}/setEdgeRuleEnabled.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pull_zone_id",
"edge_rule_id",
"enabled"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "true to enable, false to disable."
},
"edge_rule_id": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,64}$",
"description": "The edge rule's GUID."
},
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Pull Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Enable or disable an edge rule",
"destructiveHint": true
}
}WRITE. Block an IP address from a pull zone (undo with bunny_remove_blocked_ip). bunny.net: POST /pullzone/{id}/addBlockedIp.
| Parameter | Type | Description |
|---|---|---|
| ip * | string | The IP address, e.g. 203.0.113.7. |
| pull_zone_id * | integer | The Pull Zone ID. |
{
"name": "bunny_add_blocked_ip",
"title": "Block an IP on a pull zone",
"description": "WRITE. Block an IP address from a pull zone (undo with bunny_remove_blocked_ip). bunny.net: POST /pullzone/{id}/addBlockedIp.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pull_zone_id",
"ip"
],
"properties": {
"ip": {
"type": "string",
"pattern": "^[0-9A-Fa-f:.*\\/]{2,64}$",
"description": "The IP address, e.g. 203.0.113.7."
},
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Pull Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Block an IP on a pull zone",
"destructiveHint": true
}
}WRITE. Remove an IP address from a pull zone's block list. bunny.net: POST /pullzone/{id}/removeBlockedIp.
| Parameter | Type | Description |
|---|---|---|
| ip * | string | The IP address, e.g. 203.0.113.7. |
| pull_zone_id * | integer | The Pull Zone ID. |
{
"name": "bunny_remove_blocked_ip",
"title": "Unblock an IP on a pull zone",
"description": "WRITE. Remove an IP address from a pull zone's block list. bunny.net: POST /pullzone/{id}/removeBlockedIp.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pull_zone_id",
"ip"
],
"properties": {
"ip": {
"type": "string",
"pattern": "^[0-9A-Fa-f:.*\\/]{2,64}$",
"description": "The IP address, e.g. 203.0.113.7."
},
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The Pull Zone ID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Unblock an IP on a pull zone",
"destructiveHint": true
}
}Tools for bunny.net, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "How much CDN bandwidth did we use this month, and what are the charges so far?"; "What DNS records exist for my main domain?"; "Show who changed what in my account yesterday.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes bunny.net data. Free plan: 50 tool calls per month. Run bunny_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run bunny_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run bunny_upgrade without a plan: it returns both plans, each with a payment link for the user to open. bunny_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| load_origin_response_times |
| boolean |
| Include the origin response time chart. |
| load_geographic_traffic_distribution | boolean | Include traffic by country. |
{
"name": "bunny_get_statistics",
"title": "Get CDN statistics",
"description": "CDN traffic statistics for the account or one pull zone: total bandwidth, origin traffic, requests served, cache hit rate and average origin response time, plus optional charts (bandwidth, requests, origin traffic, response times, 3xx/4xx/5xx errors, geographic distribution). bunny.net: GET /statistics.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"hourly": {
"type": "boolean",
"description": "Hourly instead of daily grouping."
},
"date_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "End of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days."
},
"date_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "Start of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days."
},
"region_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this edge region (see bunny_list_regions).",
"exclusiveMinimum": 0
},
"load_errors": {
"type": "boolean",
"description": "Include the 3xx/4xx/5xx response charts."
},
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this pull zone. Omit for the whole account.",
"exclusiveMinimum": 0
},
"load_bandwidth_used": {
"type": "boolean",
"description": "Include the bandwidth charts."
},
"load_origin_traffic": {
"type": "boolean",
"description": "Include the origin traffic chart."
},
"load_requests_served": {
"type": "boolean",
"description": "Include the requests-served chart."
},
"load_origin_response_times": {
"type": "boolean",
"description": "Include the origin response time chart."
},
"load_geographic_traffic_distribution": {
"type": "boolean",
"description": "Include traffic by country."
}
}
},
"annotations": {
"title": "Get CDN statistics",
"readOnlyHint": true
}
}| Keep the record but stop serving it. |
| priority | integer | Priority (MX, SRV). |
| accelerated | boolean | Route the record through the CDN (CDN acceleration). |
| pull_zone_id | integer | Pull Zone ID, for type PullZone. |
{
"name": "bunny_add_dns_record",
"title": "Add a DNS record",
"description": "WRITE. Add a record to a DNS zone. Takes effect on live DNS. bunny.net: PUT /dnszone/{zoneId}/records.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"zone_id",
"type",
"name",
"value"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 255,
"description": "Tag (CAA), e.g. 'issue'."
},
"ttl": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "TTL in seconds."
},
"name": {
"type": "string",
"maxLength": 255,
"description": "Record name relative to the zone; empty string for the apex, e.g. 'www'."
},
"port": {
"type": "integer",
"maximum": 65535,
"minimum": 0,
"description": "Port (SRV)."
},
"type": {
"enum": [
"A",
"AAAA",
"CNAME",
"TXT",
"MX",
"Redirect",
"Flatten",
"PullZone",
"SRV",
"CAA",
"PTR",
"Script",
"NS",
"SVCB",
"HTTPS",
"TLSA"
],
"type": "string",
"description": "Record type."
},
"flags": {
"type": "integer",
"maximum": 255,
"minimum": 0,
"description": "Flags (CAA)."
},
"value": {
"type": "string",
"maxLength": 4096,
"description": "Record value, e.g. an IP for A, a hostname for CNAME, text for TXT."
},
"weight": {
"type": "integer",
"maximum": 65535,
"minimum": 0,
"description": "Weight (SRV, weighted records)."
},
"comment": {
"type": "string",
"maxLength": 1024,
"description": "Free-text note on the record."
},
"zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The DNS Zone ID.",
"exclusiveMinimum": 0
},
"disabled": {
"type": "boolean",
"description": "Keep the record but stop serving it."
},
"priority": {
"type": "integer",
"maximum": 65535,
"minimum": 0,
"description": "Priority (MX, SRV)."
},
"accelerated": {
"type": "boolean",
"description": "Route the record through the CDN (CDN acceleration)."
},
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pull Zone ID, for type PullZone.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Add a DNS record",
"destructiveHint": true
}
}| disabled | boolean | Keep the record but stop serving it. |
| priority | integer | Priority (MX, SRV). |
| record_id * | integer | The DNS record ID. |
| accelerated | boolean | Route the record through the CDN (CDN acceleration). |
| pull_zone_id | integer | Pull Zone ID, for type PullZone. |
{
"name": "bunny_update_dns_record",
"title": "Update a DNS record",
"description": "WRITE. Update an existing DNS record. Takes effect on live DNS. Read the record first with bunny_list_dns_records and pass its type, name and value along with any other fields you want to keep or change. bunny.net: POST /dnszone/{zoneId}/records/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"zone_id",
"record_id",
"type",
"name",
"value"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 255,
"description": "Tag (CAA), e.g. 'issue'."
},
"ttl": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "TTL in seconds."
},
"name": {
"type": "string",
"maxLength": 255,
"description": "Record name relative to the zone; empty string for the apex, e.g. 'www'."
},
"port": {
"type": "integer",
"maximum": 65535,
"minimum": 0,
"description": "Port (SRV)."
},
"type": {
"enum": [
"A",
"AAAA",
"CNAME",
"TXT",
"MX",
"Redirect",
"Flatten",
"PullZone",
"SRV",
"CAA",
"PTR",
"Script",
"NS",
"SVCB",
"HTTPS",
"TLSA"
],
"type": "string",
"description": "Record type."
},
"flags": {
"type": "integer",
"maximum": 255,
"minimum": 0,
"description": "Flags (CAA)."
},
"value": {
"type": "string",
"maxLength": 4096,
"description": "Record value, e.g. an IP for A, a hostname for CNAME, text for TXT."
},
"weight": {
"type": "integer",
"maximum": 65535,
"minimum": 0,
"description": "Weight (SRV, weighted records)."
},
"comment": {
"type": "string",
"maxLength": 1024,
"description": "Free-text note on the record."
},
"zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The DNS Zone ID.",
"exclusiveMinimum": 0
},
"disabled": {
"type": "boolean",
"description": "Keep the record but stop serving it."
},
"priority": {
"type": "integer",
"maximum": 65535,
"minimum": 0,
"description": "Priority (MX, SRV)."
},
"record_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The DNS record ID.",
"exclusiveMinimum": 0
},
"accelerated": {
"type": "boolean",
"description": "Route the record through the CDN (CDN acceleration)."
},
"pull_zone_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pull Zone ID, for type PullZone.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update a DNS record",
"destructiveHint": true
}
}