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 資源、清除與預熱快取、讀取流量指標,並管理網域、儲存與 Video CDN。

可以做什麼
這是 BlazingCDN 官方 MCP 伺服器,提供 52 個工具,涵蓋 Anycast CDN、快取操作、指標、自訂網域、雲端儲存與 Video CDN。它可以列出並讀取 CDN 資源、清除或預熱快取、查詢頻寬、快取命中、請求數與 HTTP 狀態碼指標(含 Prometheus 格式),也能搜尋文件並估算每月流量費用。寫入類工具可建立與修改資源、網域、儲存桶與 Video CDN 設定;刪除類工具可移除自訂網域與 Video CDN 資源。
適用情境
適合已在 BlazingCDN 上執行網站或大規模媒體分發的使用者,想用對話方式查看流量與快取表現、清除或預熱路徑,或調整 CDN、網域、儲存與 Video 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 設定或刪除自訂網域與 Video 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 分