What problem does it solve?
Cloudflare Workers deployment entry point binding tool/resource/prompt registries into a per-request MCP server factory to enable edge-based MCP deployments.
Core Features & Use Cases
- Per-request MCP server factory: a new server instance is created for each request to ensure isolation and security.
- Env and object bindings support: dynamic Cloudflare bindings (env, KV, R2, D1, etc.) are wired per request for correctness and rotation safety.
- Runtime compatibility and guidance: includes runtime capability checks and wrangler.toml requirements to align with Cloudflare Workers.
- Use cases: deployment of MCP-based tooling in edge environments, such as API endpoints, automation tasks, and serverless workflows.
Quick Start
Initialize your edge MCP server by wiring tools, resources, and prompts with createWorkerHandler in a Cloudflare Worker.