Blazingcdn Mcp

io.github.BlazingCDN由 GitHub 账号 BlazingCDN 发布v0.1.6更新于 Oct 24, 2026

Manage BlazingCDN from AI agents: CDN zones, cache, metrics, domains, cloud storage and video CDN

概览

AI 生成的概览

让 AI 助手管理 BlazingCDN:查看 CDN 资源、刷新与预热缓存、读取流量指标,并管理域名、存储和视频 CDN。

可以做什么
这是 BlazingCDN 官方 MCP 服务器,提供 52 个工具,覆盖 Anycast CDN、缓存操作、指标、自定义域名、云存储和视频 CDN。它可以列出并读取 CDN 资源、刷新或预热缓存、查询带宽、缓存命中、请求数和 HTTP 状态码指标(含 Prometheus 格式),还能搜索文档并估算每月流量费用。写入类工具可创建和修改资源、域名、存储桶和视频 CDN 设置;删除类工具可移除自定义域名和视频 CDN 资源。
适用场景
适合已在 BlazingCDN 上运行网站或大规模媒体分发的用户,希望用对话方式查看流量与缓存表现、刷新或预热路径,或调整 CDN、域名、存储和视频 CDN 设置。默认只读,因此也适合只想做监控和缓存操作的用户。
运行要求
通过 npx(Node.js)以 stdio 在本地运行,也可用 Claude Desktop 一键安装包;另有 Streamable HTTP 模式可自托管。需要 BlazingCDN 账号,并在 BLAZINGCDN_API_TOKEN 中提供 API 令牌,同时需要访问 BlazingCDN API 的网络。可选变量 BLAZINGCDN_API_URL、BLAZINGCDN_ALLOW_WRITE 和 BLAZINGCDN_ALLOW_DELETE 用于指定接口地址和权限。
安装前请注意
API 令牌是可访问你 CDN 账号的凭据,不要放进共享配置。写入和删除工具默认关闭,需通过 BLAZINGCDN_ALLOW_WRITE 和 BLAZINGCDN_ALLOW_DELETE 开启,开启后助手可修改 CDN 设置或删除自定义域名和视频 CDN 资源。BlazingCDN 按流量计费(试用期流量按每 TB 5 美元,Flex 套餐每月最低 25 美元),相关操作可能产生费用。使用 HTTP 模式时请用 TLS 保护端点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Blazingcdn Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

BlazingCDN MCP Server

Official Model Context Protocol server for BlazingCDN. Lets AI agents (Claude, Cursor, Windsurf and any other MCP client) manage your CDN: list and configure resources, purge and warm up cache, query traffic metrics, manage custom domains, cloud storage and the Video CDN.

BlazingCDN is a CDN for video, software & sports media — best for videos, streaming (HLS/DASH), software distribution, games and updates, images, audio, archives and other large files. Built for high-volume projects pushing 5 TB+ per month.

Highlights

  • 52 tools covering Anycast CDN, cache operations, metrics, custom domains, Cloud Storage and Video CDN
  • Safe by default — starts in read-only mode (plus cache purge/warmup); create/update and delete operations are opt-in via environment flags
  • No install required — runs with npx
  • Talks directly to the BlazingCDN API (wapi.blazingcdn.com) with your API token; nothing else sits in between

Getting an account and API token

  1. Sign up at blazingcdn.com — every new account starts with a 14-day trial. The trial is time-limited only: there is no free traffic included, traffic used during the trial is billed at the regular $5/TB rate.
  2. Top up your balance with at least $10 right after signing up so your account doesn't go negative while you test.
  3. Create an API access token: in the BlazingCDN panel open API → create new API credentials (or POST /api/v1/access_tokens).

Pricing (Flex plan)

After the trial you are on the pay-as-you-go Flex plan with a $25/month minimum, which covers your first 5 TB. Traffic is billed on a progressive scale:

Monthly trafficPrice per TB
First 5 TB$5.00
5–25 TB$4.50
25–100 TB$4.00
100–500 TB$3.50
500–1000 TB$3.00
1000–1500 TB$2.50

All plans include custom domains, unlimited requests, origin shield, URL signatures, free SSL and geo allow/block lists — no per-feature surcharges. Pushing more than 100 TB/month? Contact BlazingCDN to request custom volume pricing.

Quick start

Claude Desktop — one-click install (no terminal needed)

Download the latest .mcpb bundle from Releases and double-click it — Claude Desktop asks for your API token and shows two checkboxes: Allow changes (create and change CDN settings) and Allow deleting (custom domains and Video CDN resources). Both are off by default, so the server starts read-only. Node.js is not required.

Claude Code

bash
claude mcp add blazingcdn --env BLAZINGCDN_API_TOKEN=your-token -- npx -y @blazingcdn/mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration (claude_desktop_config.json, .cursor/mcp.json, etc.):

json
{  "mcpServers": {    "blazingcdn": {      "command": "npx",      "args": ["-y", "@blazingcdn/mcp"],      "env": {        "BLAZINGCDN_API_TOKEN": "your-token"      }    }  }}

Running from GitHub instead of npm also works: replace "args" with ["-y", "github:BlazingCDN/BlazingCDN-MCP"].

Configuration

Environment variableRequiredDescription
BLAZINGCDN_API_TOKENyesAPI access token (Bearer)
BLAZINGCDN_API_URLnoAPI base URL, default https://wapi.blazingcdn.com
BLAZINGCDN_ALLOW_WRITEno1 enables create/update tools
BLAZINGCDN_ALLOW_DELETEno1 enables delete tools (delete_custom_domain, delete_vcdn_resource)

Permission model

ModeToolsWhat agents can do
default29Read everything + purge/warm up cache
BLAZINGCDN_ALLOW_WRITE=150…plus create/update CDN resources, domains, buckets, Video CDN
…+ BLAZINGCDN_ALLOW_DELETE=152…plus delete custom domains and vCDN resources

Deleting CDN resources (pull zones), buckets, external storages, accounts or users is not implemented at all — those operations cannot be triggered through this server in any mode.

When a feature is switched off

Every setting this server can change is also a switch in the customer panel. If you ask for something that is off on your resource — image processing, HLS/DASH support, origin shield — the agent tells you exactly where to flip it (client.blazingcdn.com/anycast_cdn/<resource_id>/<tab>), or, with BLAZINGCDN_ALLOW_WRITE=1, offers to turn it on for you and waits for your confirmation.

Tools

Anycast CDN

ToolDescription
list_cdn_resourcesList all CDN resources (pull zones)
get_cdn_resourceFull settings of one resource
purge_cachePurge everything or specific URLs; works per-resource or across resources by URL
warmup_cachePre-fetch paths into the cache (per compression method)
get_cdn_metricsBandwidth, cache hit, requests, HTTP codes, traffic — by day/hour/minute, filter by region/domain
get_prometheus_metricsPrometheus-format metrics for monitoring
create_cdn_resource ✏️Create a pull zone (origin, bucket or external storage)
update_cdn_resource ✏️TTLs, compression, origin shield, HTTPS, access protection, HLS/DASH, image processing, Locations Mode, …
bulk_update_cdn_resources ✏️Same settings on several resources
update_cdn_locations ✏️Per-path cache rules and image presets (needs Locations Mode extended)

Domains & DNS

ToolDescription
list_custom_domains / search_custom_domainsDomains of a resource / match domains account-wide
list_system_dns_zonesSystem DNS zones for CDN hostnames
add_custom_domain ✏️ / update_custom_domain ✏️Attach domains, manage SSL (auto SSL / certificate)
delete_custom_domain 🗑️Remove a custom domain

Cloud Storage

list_buckets, get_bucket, get_bucket_metrics, get_storage_info, create_bucket ✏️, update_bucket ✏️, list_external_storages, get_external_storage, create_external_storage ✏️, update_external_storage ✏️, test_external_storage_connection ✏️

A bucket used as a CDN resource origin must be of type cdn — create_bucket creates that type by default (private buckets cannot be attached to a pull zone). Pass protocol: "s3" for an S3-compatible bucket; the protocol cannot be changed after creation.

Video CDN

list_vcdn_resources, get_vcdn_resource, get_vcdn_statistics (totals, timeseries, by domain, top domains, HTTP codes, bandwidth, cache/storage), list_vcdn_domains, get_vcdn_domain, list_vcdn_files, get_vcdn_files_total, list_ftp_logins, list_auto_imports, get_vcdn_proxy, get_vcdn_ftp_settings, get_vcdn_settings, create_vcdn_resource ✏️, update_vcdn_resource ✏️, create_vcdn_domain ✏️, update_vcdn_domain ✏️, upload_vcdn_file ✏️, manage_auto_import ✏️, update_vcdn_proxy ✏️, update_vcdn_ftp_settings ✏️, manage_ftp_login ✏️, update_vcdn_settings ✏️, delete_vcdn_resource 🗑️

Docs & pricing

search_docs — search BlazingCDN documentation and product pages. estimate_traffic_cost — calculate the monthly Flex-plan cost for a given traffic volume (progressive tiers, offline).

✏️ requires BLAZINGCDN_ALLOW_WRITE=1 · 🗑️ requires BLAZINGCDN_ALLOW_DELETE=1

Example prompts

  • "What's my CDN bandwidth this month, broken down by day?"
  • "Purge /images/* on the blazingcdn.com resource"
  • "Create a CDN resource for origin https://example.com and attach cdn.example.com with auto SSL"
  • "Show HTTP 5xx rates for the last 24 hours per region"
  • "Warm up /video/intro.mp4 with brotli compression"
  • "How much would 190 TB/month cost on BlazingCDN?"
  • "Turn on image processing for the shop-images resource and give me a 200×200 thumbnail URL for /images/iphone.jpg"

HTTP transport (self-hosting)

The server also speaks Streamable HTTP for remote deployments:

bash
BLAZINGCDN_ALLOW_WRITE=1 npx -y @blazingcdn/mcp --transport http --port 8462

In HTTP mode the server is stateless and each request must carry the caller's BlazingCDN API token as Authorization: Bearer <token> (an env BLAZINGCDN_API_TOKEN acts as fallback). Put it behind TLS (reverse proxy) before exposing it anywhere.

Development

bash
npm installnpm test        # vitestnpm run build   # tsc -> dist/npx @modelcontextprotocol/inspector node dist/index.js   # interactive inspector

Privacy Policy

The server collects nothing: no telemetry, no analytics, no third-party calls. Your API token stays in process memory and is sent only to the BlazingCDN API over HTTPS. Full policy: PRIVACY.md · service-level data handling: BlazingCDN Legal Information.

Security notes

  • The API token is read from the environment and sent only to BLAZINGCDN_API_URL; it is never logged. No middleman, no telemetry.
  • Read-only by default; destructive operations (zone/bucket/account deletion) are not implemented in any mode.
  • Tool output is truncated at 60 KB to keep agent contexts healthy.
  • API requests time out after 30 s (file uploads: 5 min).

Full threat model, limitations and recommendations: SECURITY.md.

License

MIT © BlazingCDN

来源:README.md,提交 2315f0a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分