
cloudflare mcp template
Template to easily make an MCP server on Cloudflare
Repository Info
About This Server
Template to easily make an MCP server on Cloudflare
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
Image Generation Worker Template
This is a minimal Cloudflare Worker template for generating images using the workers-mcp package and Cloudflare’s Workers AI.
Features
- Uses the flux-1-schnell model for image generation.
- Minimal configuration and project structure.
- Ready for local development with Wrangler.
Setup
-
Install dependencies: npm install
-
Run the worker locally: npm run dev
-
Deploy the worker: npm run deploy
Files
- src/index.ts: The worker code.
- tsconfig.json: TypeScript configuration.
- wrangler.toml: Cloudflare Workers configuration.
- worker-configuration.d.ts: Type definitions for the worker’s environment.
- package.json: Project dependencies and scripts.
- .gitignore: Ignored files.
Happy coding!
Quick Start
Clone the repository
git clone https://github.com/janwilmake/cloudflare-mcp-templateInstall dependencies
cd cloudflare-mcp-template
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.