T
cloudflare-mcp-template
Created Oct 19, 2025
by
janwilmake
Language:
TypeScript
Stars:
4
Forks:
1
README
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!
Last updated: Oct 19, 2025
Publisher info
janwilmake
Independent Researcher & Typescript Nerd Building AGI
53
followers
30
following
98
repos