Skip to content

Releases: sebastienrousseau/cloudcdn.pro

@cloudcdn/mcp-server v0.1.0 — first publishable release

Choose a tag to compare

@sebastienrousseau sebastienrousseau released this 17 Jun 20:19
v0.1.0
44fcec1

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-server

Minimum 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).
  • CloudCDNClient class with constructor-time auth, AbortSignal + per-call timeoutMs, pluggable fetch for tests / proxies.
  • CloudCDNError with .status, .body, .url for clean branching on rate limits / quota errors.
  • exports map so consumers can import { createServer } from '@cloudcdn/mcp-server/server' or import { 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

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "cloudcdn": {
      "command": "npx",
      "args": ["-y", "@cloudcdn/mcp-server"],
      "env": {
        "CLOUDCDN_ACCESS_KEY": "sk_live_...",
        "CLOUDCDN_ACCOUNT_KEY": "ak_live_..."
      }
    }
  }
}

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.