First publishable revision of @cloudcdn/mcp-server — the Model Context
Protocol server for CloudCDN.
Install
# Run directly — recommended for MCP hosts
npx -y @cloudcdn/mcp-server
# Or install globally
npm install -g @cloudcdn/mcp-serverMinimum runtime: Node.js ≥ 18 (ESM-only).
What's in 0.1.0
- 42 tools across 9 API planes (Storage, Core, Assets, Insights, Delivery, AI, Webhooks, Tokens, Logs).
- 6 read-only resources under the
cloudcdn://scheme (manifest, zones, rules, health, openapi, insights-today). CloudCDNClientclass with constructor-time auth,AbortSignal+ per-calltimeoutMs, pluggablefetchfor tests / proxies.CloudCDNErrorwith.status,.body,.urlfor clean branching on rate limits / quota errors.exportsmap so consumers canimport { createServer } from '@cloudcdn/mcp-server/server'orimport { get } from '@cloudcdn/mcp-server/api-client'.- JSDoc on every public surface, runnable
examples/for stdio boot, programmatic embedding, semantic search, cache purge, transform. - 100% test coverage — 133 tests at 100% statements / branches / functions / lines, gated in
mcp/vitest.config.js.
Wire it into a host
See mcp/README.md for the full tool list and host configs (Cursor, VS Code Copilot, Windsurf).
Provenance
This release was published from a GitHub Actions workflow with id-token: write permission, attaching a sigstore-based provenance attestation to the npm package. Check the badge on the npm page.
License
Dual-licensed under MIT and Apache-2.0.