T

cloudflare-mcp-template

...
Created 2/18/2025byjanwilmake

Language:

TypeScript

Stars:

3

Forks:

0

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!

Last updated: 3/3/2025

Publisher info

janwilmake's avatar

janwilmake

Independent Researcher & Typescript Nerd Building AGI

39
followers
27
following
87
repos

More MCP servers built with TypeScript

docbase-mcp-server

MCP Server Implementation for DocBase

By f4401
aapi-mcp-server

Advanced API MCP Server

By Asphere-xyz1
DBX-MCP-Server

MCP Server for Dropbox

By amgadabdelhafez1