shashankboosi
MCP Servershashankboosipublic

cloudflare mcp

Build an MCP server and deploy it to cloudflare workers

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
MIT License
License

About This Server

Build an MCP server and deploy it to cloudflare workers

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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 wrangler
  • A Cloudflare account for deployments

Getting started

  1. Create a new MCP Server using the Cloudflare template

    npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
    
  2. Navigate to the project directory

    cd my-mcp-server
    
  3. Run 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/inspector

You will see the inspector with all the tools as seen below

!MCP Inspector Screenshot

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 deploy

This 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

Quick Start

1

Clone the repository

git clone https://github.com/shashankboosi/cloudflare-mcp
2

Install dependencies

cd cloudflare-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownershashankboosi
Repocloudflare-mcp
LanguageTypeScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation