Skip to content

Shaf Documentation

Authoritative developer guide and API reference for Shaf global edge link infrastructure, programmable redirects, custom domains, and realtime telemetry.

Shaf Documentation

Shaf is an edge-native link management and programmable redirect platform. Deployed across Cloudflare’s Anycast edge network spanning 300+ locations, Shaf executes URL resolution in under 10 milliseconds using distributed D1 and KV storage, automated TLS certificate provisioning, privacy-preserving telemetry, and programmatic REST and MCP interfaces.


Explore by Diátaxis Framework

Shaf documentation is structured around the Diátaxis documentation framework to support immediate development workflows:


Core Capabilities

Sub-10ms Edge Redirects

Evaluates routing rules at the nearest Cloudflare Anycast point of presence with localized KV lookups and fallback recovery.

Automated Custom Domains

Connect branded hostnames with automatic TLS certificate generation and renewal powered by Cloudflare for SaaS.

Model Context Protocol (MCP)

Native MCP server endpoint enabling Claude Code, Cursor, and Windsurf to create links, inspect traffic, and manage DNS programmatically.

Privacy-First Telemetry

Collect click events, device classes, and geolocations without client-side cookies, fingerprinting, or raw IP retention.


Quick Navigation

Type to search…

↑↓ navigate↵ selectEsc close