TY

tan-yong-sheng/cloudflare-image-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

5 stars 47 forks 품질 70 트렌드 33

OpenAI-compatible image generation API + Streamable HTTP MCP server powered by Cloudflare Workers AI.

개요

OpenAI-compatible image generation API + Streamable HTTP MCP server powered by Cloudflare Workers AI. - : /v1/images/generations + /v1/images/edits endpoints - : HTTP transport with SSE (streamable) - : FLUX, SDXL, Stable Diffusion, and more - : Text-to-image, image-to-image (masked edits supported) - : React SPA for image generation and provider credentials - : Auto-expiring image storage with CDN 1. to your Cloudflare account (takes 5 minutes): 👉 2. Note your worker URL after deployment: 3. If you set API_KEYS during deployment, you'll need the key for authentication. Below are the configuration guides for different MCP clients. This server uses (not stdio) since it runs on Cloudflare Workers. This server implements the . Configure your client with: - : HTTP/SSE (streamable) - : https://your-worker.workers.dev/mcp - (if API_KEYS set): send Authorization: Bearer YOUR_KEY header

README

원문 README의 일부입니다. 원문 보기.

Cloudflare Image MCP

OpenAI-compatible image generation API + Streamable HTTP MCP server powered by Cloudflare Workers AI.

🌟 Features

  • OpenAI-Compatible API: /v1/images/generations + /v1/images/edits endpoints
  • MCP Protocol Support: HTTP transport with SSE (streamable)
  • 10 Image Generation Models: FLUX, SDXL, Stable Diffusion, and more
  • Multiple Tasks: Text-to-image, image-to-image (masked edits supported)
  • Web Frontend: React SPA for image generation and provider credentials
  • R2 Storage: Auto-expiring image storage with CDN

📦 What’s Included

cloudflare-image-mcp/
├── workers/           # Cloudflare Worker (API + MCP)
├── client/            # React SPA (Vite + Tailwind + TanStack Query)
└── e2e/               # Playwright E2E tests

🚀 Quick Start

Prerequisites

  1. Deploy this MCP server to your Cloudflare account (takes 5 minutes): 👉 Deployment Guide

  2. Note your worker URL after deployment:

    https://cloudflare-image-workers..workers.dev
    
  3. If you set API_KEYS during deployment, you’ll need the key for authentication.

MCP Client Configuration

Below are the configuration guides for different MCP clients. This server uses HTTP/SSE transport (not stdio) since it runs on Cloudflare Workers.

This server implements the MCP HTTP/SSE transport. Configure your client with:

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "cloudflare-image": { "url": "https://your-worker.workers.dev/mcp" } } }