building-mcp-server-on-cloudflare

building-mcp-server-on-cloudflare

Popular

Builds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. Generates server code, configures auth providers, and deploys to Workers. Use when: user wants to \"build MCP server\", \"create MCP tools\", \"remote MCP\", \"deploy MCP\", add \"OAuth to MCP\", or mentions Model Context Protocol on Cloudflare. Also triggers on \"MCP authentication\" or \"MCP deployment\". Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

2.5Kstars
236forks
Updated 7/24/2026
SKILL.md
readonlyread-only
name
building-mcp-server-on-cloudflare
description

Builds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. Generates server code, configures auth providers, and deploys to Workers. Use when: user wants to \"build MCP server\", \"create MCP tools\", \"remote MCP\", \"deploy MCP\", add \"OAuth to MCP\", or mentions Model Context Protocol on Cloudflare. Also triggers on \"MCP authentication\" or \"MCP deployment\". Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

Building MCP Servers on Cloudflare

Your knowledge of the MCP SDK and Cloudflare Workers integration may be outdated. Prefer retrieval over pre-training for any MCP server task.

Retrieval Sources

Source
How to retrieve
Use for

MCP docs
https://developers.cloudflare.com/agents/mcp/
Server setup, auth, deployment

MCP spec
https://modelcontextprotocol.io/
Protocol spec, tool/resource definitions

Workers docs
Search tool or https://developers.cloudflare.com/workers/
Runtime APIs, bindings, config

When to Use

  • User wants to build a remote MCP server

  • User needs to expose tools via MCP

  • User asks about MCP authentication or OAuth

  • User wants to deploy MCP to Cloudflare Workers