cloudflare-mcp-template
Template to easily make an MCP server on Cloudflare
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
1. Install dependencies:
npm install
2. Run the worker locally:
npm run dev
3. 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!
Frequently asked questions
What is cloudflare-mcp-template?
cloudflare-mcp-template is Template to easily make an MCP server on Cloudflare
How do I install cloudflare-mcp-template?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is cloudflare-mcp-template open source?
Yes — it is hosted on GitHub at https://github.com/janwilmake/cloudflare-mcp-template and has 5 stars.
Related MCP tools
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
Official Notion MCP Server TypeScript-based implementation. Trusted by 3400+ developers. Trusted by 3400+ developers. Trusted by 3400+ developers.
Directory for Awesome MCP Servers TypeScript-based implementation. Trusted by 1900+ developers. Trusted by 1900+ developers.
🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes.
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker TypeScript-based implementation. Trusted by 1400+ developers.
MCP Server for kubernetes management commands TypeScript-based implementation. Trusted by 1100+ developers. Trusted by 1100+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP