cloudflare-mcp-server

Installation
Summary

Deploy remote MCP servers on Cloudflare Workers with TypeScript, OAuth, and Durable Objects.

  • Supports SSE and HTTP Streamable transports with automatic WebSocket hibernation for stateful sessions; choose from five auth templates (no-auth, bearer, GitHub/Google OAuth, enterprise SSO)
  • Base path configuration is critical—server and client URLs must match exactly (e.g., serveSSE("/sse") requires client URL https://worker.dev/sse, not https://worker.dev)
  • Includes 24 documented error solutions covering path mismatches, transport confusion, OAuth redirect URIs, CORS preflight, environment validation, and Durable Objects migrations
  • Conditional tool registration enables role-based access control and feature flags; stateful tools persist across hibernation using this.state.storage instead of instance properties
SKILL.md

Cloudflare MCP Server Skill

Build and deploy Model Context Protocol (MCP) servers on Cloudflare Workers with TypeScript.

Status: Production Ready ✅ Last Updated: 2026-01-21 Latest Versions: @modelcontextprotocol/sdk@1.25.3, @cloudflare/workers-oauth-provider@0.2.2, agents@0.3.6

Recent Updates (2025):

  • September 2025: Code Mode (agents write code vs calling tools, auto-generated TypeScript API from schema)
  • August 2025: MCP Elicitation (interactive workflows, user input during execution), Task Queues, Email Integration
  • July 2025: MCPClientManager (connection management, OAuth flow, hibernation)
  • April 2025: HTTP Streamable Transport (single endpoint, recommended over SSE), Python MCP support
  • May 2025: Claude.ai remote MCP support, use-mcp React library, major partnerships

What is This Skill?

Related skills
Installs
333
GitHub Stars
776
First Seen
Jan 20, 2026