Labsco
MCP SERVER

Flux Schnell MCP Server

by bytefer

Generate an image from a text prompt inside the conversation, using your own Cloudflare Flux Schnell worker endpoint.

Image GenerationVerified
Summary
One tool, and the model behind it is yours to host.

This is a thin bridge rather than an image service: it does not bundle a model or an account, it calls the Cloudflare worker whose URL and token you supply. That means cost and rate limits are whatever your own endpoint charges, and it also means the server is useless until that endpoint exists.

What it is

A small TypeScript server that puts one text-to-image call in front of the Flux Schnell model. It sends your prompt to a Flux Schnell worker API you point it at, writes the resulting image to disk, and answers with the file path.

What you get
  • An image generated from a text description of 1 to 2048 characters — `generate_image`
  • The path to the written image file, so the next step in the conversation can open or move it
  • Control over where images land, through the optional `WORKING_DIR` variable
Requirements

Your own Flux Schnell endpoint: `FLUX_API_URL` for the worker URL and `FLUX_API_TOKEN` for its token, both required. `WORKING_DIR` is optional and defaults to the current working directory. Runs as a Node process from the built `build/index.js`; there is also a Smithery install for Claude Desktop. The package is `mcp-flux-schnell` 0.1.0.

Setup effort

One command plus a key — npx -y @smithery/cli install @bytefer/mcp-flux-schnell --client claude, then supply credentials