bunny.net MCP server for AI agents

Live

API KEY

CDN AND DNS

Developer Tools

bunny.net gives your agent CDN and DNS management in your bunny.net account: manage DNS zones and records, configure pull zones, purge caches and URLs, and read statistics and the audit log.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
bunny.net
agent · Acme Q3
Run
Purge the cache for the pull zone serving cdn.example.com.
S
bunnynet_pull_zone_cache_purge
268ms
Infrastructure agent
Purged the cache for the pull zone serving cdn.example.com.
Sources: bunny.net pull zone, 1 zone
bunnynet
1 pull zone
18:29
Message Claude...

Tools your cdn and dns agent reaches for on bunny.net, scoped per user.

CALL ANY TOOL
56 tools for cdn and dns in bunny.net: manage DNS zones and records, configure pull zones and edge rules, purge caches and URLs, manage storage zones and video libraries, and read statistics and the audit log.
bunnynet_audit_log_get
Get audit log
Get the account audit log for one day: who changed which resource and how. Returns log entries with actor, product, resource, action and time, and a continuation token for more. Pass the token back to get the next page.
Parameters
Name
Type
Required
Description
date
string
Required
Day to read, YYYY-MM-DD. Example: 2026-05-20.
actor_id
array
Optional
Only changes by these users or API keys. Example: ["9a8b7c6d"].
continuation_token
string
Optional
Token from the previous page. Example: eyJwIjoxfQ.
limit
integer
Optional
Maximum entries. Example: 100.
order
string
Optional
Sort order. Example: Ascending. One of: `Ascending`, `Descending`.
product
array
Optional
Only these products. Example: ["PullZone"].
resource_id
array
Optional
Only these resource IDs. Example: ["1234567"].
resource_type
array
Optional
Only these resource types. Example: ["PullZone"].
bunnynet_dns_record_add
Add dns record
bunnynet_dns_record_delete
Delete dns record
bunnynet_dns_record_update
Update dns record
bunnynet_dns_records_list
List dns records
bunnynet_dns_zone_availability_check
Check dns zone availability
bunnynet_dns_zone_create
Create dns zone
bunnynet_dns_zone_dnssec_disable
Disable dns zone dnssec
bunnynet_dns_zone_export
Export dns zone
bunnynet_dns_zone_get
Get dns zone
bunnynet_dns_zones_list
List dns zones
bunnynet_edge_rule_delete
Delete edge rule
bunnynet_edge_rule_enabled_set
Set edge rule enabled
bunnynet_load_balancer_get
Get load balancer
bunnynet_pull_zone_allowed_referrer_add
Add pull zone allowed referrer
bunnynet_pull_zone_allowed_referrer_remove
Remove pull zone allowed referrer
bunnynet_pull_zone_availability_check
Check pull zone availability
bunnynet_pull_zone_blocked_referrer_add
Add pull zone blocked referrer
bunnynet_pull_zone_blocked_referrer_remove
Remove pull zone blocked referrer
bunnynet_pull_zone_get
Get pull zone
bunnynet_pull_zone_update
Update pull zone
bunnynet_pull_zones_list
List pull zones
bunnynet_search
Search
bunnynet_statistics_get
Get statistics
bunnynet_storage_zone_availability_check
Check storage zone availability
bunnynet_storage_zone_create
Create storage zone
bunnynet_storage_zone_delete
Delete storage zone
bunnynet_storage_zone_regions_list
List storage zone regions
bunnynet_storage_zone_statistics_get
Get storage zone statistics
bunnynet_video_libraries_list
List video libraries

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// bunny.net tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["bunnynet"], toolNames: [
    "bunnynet_dns_zones_list",
    "bunnynet_dns_record_add",
    "bunnynet_pull_zone_cache_purge"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my DNS zones, add an A record for www.example.com, and purge the pull zone cache" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["bunnynet"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my DNS zones, add an A record for www.example.com, and purge the pull zone cache" }],
  tools,
});

// Execute the tool call with the user's vaulted bunny.net API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["bunnynet"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my DNS zones, add an A record for www.example.com, and purge the pull zone cache" }],
  tools,
});

// Tool call runs with the user's vaulted bunny.net API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["bunnynet"] }, pageSize: 100,
});

const agent = new Agent({
  name: "infrastructure_agent",
  model: "gemini-2.5-pro",
  instruction: "bunny.net tools scoped to this user",
  tools,
});

await agent.run("List my DNS zones, add an A record for www.example.com, and purge the pull zone cache");
Try these prompts
Copy any prompt into your agent. Each maps directly to a bunny.net tool. Click to copy, paste into your agent, done.
DNS
Copy the prompt
Copied
List my DNS zones.
Copy the prompt
Copied
Add an A record for www.example.com to this zone.
Copy the prompt
Copied
Export the DNS zone for example.com.
Pull zones and caching
Copy the prompt
Copied
List my pull zones.
Copy the prompt
Copied
Purge the cache for this pull zone.
Copy the prompt
Copied
Purge this URL from the CDN.
Storage, video, and stats
Copy the prompt
Copied
List my storage zones.
Copy the prompt
Copied
Show statistics for the last 7 days.
Copy the prompt
Copied
Show the audit log for this account.
SEE HOW AUTH WORKS
Each user connects their own bunny.net API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
bunny.net
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
bunny.net
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
bunny.net
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
bunny.net
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other developer tools and monitoring connectors.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Engineering Teams
Engineering standup agent
Pulls commits from GitHub and GitLab, tracks issue movement in Jira, and posts a per-engineer standup brief to Slack. Each engineer's activity is read on their own delegated OAuth.
Test other agents
See the same per-user auth pattern across other developer tools and monitoring connectors.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
ENGINEERING
Engineering standup agent
Pull commits from GitHub and GitLab, track Jira issue movement, and post a per-engineer standup brief to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared bunny.net API key looks fine in a demo. In production every DNS change and cache purge looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
bunny.net today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access bunny.net as the user or through a shared key?
As the user. Each user connects their own bunny.net API key once, and Scalekit sends it with every call. Audit logs attribute every DNS change and cache purge to that user, not a shared service account.
Where is the bunny.net API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in bunny.net?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the get, list, and statistics tools without bunnynet_dns_zone_delete, bunnynet_pull_zone_delete, or bunnynet_storage_zone_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes bunny.net access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent change DNS records in bunny.net?
Only if you expose those tools. bunnynet_dns_record_add, bunnynet_dns_record_update, and bunnynet_dns_record_delete change records, and bunnynet_dns_zone_dnssec_enable and bunnynet_dns_zone_dnssec_disable switch DNSSEC. Leave them out of toolNames to keep the agent to reading zones and statistics.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""bunnynet"": {
""url"": ""https://mcp.scalekit.com/bunnynet"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.bunnynet]
url = ""https://mcp.scalekit.com/bunnynet""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""bunnynet"": {
""url"": ""https://mcp.scalekit.com/bunnynet"",
""type"": ""http""
}
}
}