Servers
Building a Remote MCP Server on Cloudflare (Without Auth)
@lgong-rms
Overview
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
This example allows you to deploy a remote MCP server that does not require authentication on Cloudflare Workers. It is intended for developers who want to expose custom Model Context Protocol tools via a public URL without auth.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Use the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. Add custom tools inside the init() method of src/index.ts using this.server.tool(...). Connect to the server from