Cloudflare MCP
Provides infrastructure and tooling for deploying MCP servers on Cloudflare Workers.
Enables deployment of MCP servers on Cloudflare's edge network using Workers, with easy deployment via Wrangler CLI.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cloudflare MCPcreate a new MCP server using the Cloudflare template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cloudflare MCP
This repository contains the code to create an MCP server and deploy it on Cloudflare workers
Pre-requisites
Before starting this workshop, please ensure you have the following installed:
Node.js (version 18 or later) - Download
Wrangler CLI - Install with
npm install -g wranglerA Cloudflare account for deployments
Related MCP server: Cloudflare Remote MCP Server
Getting started
Create a new MCP Server using the Cloudflare template
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessNavigate to the project directory
cd my-mcp-serverRun this MCP Server locally You can start your MCP Server by running the following command:
npm start
Testing
Test your MCP Server using MCP inspector To test your MCP Server, you can use the MCP inspector:
npx @modelcontextprotocol/inspectorYou will see the inspector with all the tools as seen below

You can also use cloudflare playground which is a platform provided by cloudflare to connect an MCP server
Deploying
You can deploy this server to cloudflare workers with a single command, the first time you might be needed to establish a connection to workers via wrangler but it is straight forward
npm run deployThis will deploy your MCP server to a Cloudflare Workers URL like:
https://my-mcp-server.<your-account>.workers.dev/sse
Credits
Thanks to Ricky Robinett from Cloudflare for connecting these amazing technolgies to showcase, how easy it is to deploy our own
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: interactive-api-playground
Cloudflare Workers MCP server: ai-agent-scratchpad
Cloudflare Workers MCP server: blog
Cloudflare Workers MCP server: ai-eval
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAllows you to deploy a remote MCP server without authentication on Cloudflare Workers.-
- AlicenseNot gradedqualityBmaintenanceDeployable stateless remote MCP server on Cloudflare Workers without auth, with support for registering custom tools and connecting to MCP clients.12MIT
- FlicenseNot gradedqualityBmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, supporting custom tools and compatibility with legacy MCP clients.-
- FlicenseNot gradedqualityCmaintenanceEnables running a stateless MCP server on Cloudflare Workers with minimal setup, exposing tools over the MCP protocol without persistent state.-