- Explore MCP Servers
- mcp-flux-schnell
Mcp Flux Schnell
What is Mcp Flux Schnell
mcp-flux-schnell is an MCP server built with TypeScript that utilizes the Flux Schnell model for text-to-image generation. It integrates with Cloudflare’s Flux Schnell worker API to provide image generation capabilities.
Use cases
Use cases include generating illustrations for stories, creating marketing visuals based on product descriptions, and producing artwork for social media posts.
How to use
To use mcp-flux-schnell, configure the necessary environment variables such as FLUX_API_URL and FLUX_API_TOKEN. You can set up the server either in a project-specific configuration or a global configuration. After installation, run the server using Node.js.
Key features
Key features include the ability to generate images from text descriptions (1-2048 characters) and return the path to the generated image file. The server is easy to set up and can be configured for specific projects or globally.
Where to use
mcp-flux-schnell can be used in various fields such as digital art creation, content generation for marketing, and any application requiring visual content from textual descriptions.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Flux Schnell
mcp-flux-schnell is an MCP server built with TypeScript that utilizes the Flux Schnell model for text-to-image generation. It integrates with Cloudflare’s Flux Schnell worker API to provide image generation capabilities.
Use cases
Use cases include generating illustrations for stories, creating marketing visuals based on product descriptions, and producing artwork for social media posts.
How to use
To use mcp-flux-schnell, configure the necessary environment variables such as FLUX_API_URL and FLUX_API_TOKEN. You can set up the server either in a project-specific configuration or a global configuration. After installation, run the server using Node.js.
Key features
Key features include the ability to generate images from text descriptions (1-2048 characters) and return the path to the generated image file. The server is easy to set up and can be configured for specific projects or globally.
Where to use
mcp-flux-schnell can be used in various fields such as digital art creation, content generation for marketing, and any application requiring visual content from textual descriptions.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
mcp-flux-schnell MCP Server
A TypeScript-based MCP server that implements a text-to-image generation tool using the Flux Schnell model. This server integrates with Cloudflare’s Flux Schnell worker API to provide image generation capabilities through MCP.
- Creating your own Flux Schnell MCP Server is so easy! — Part 1
- Creating your own Flux Schnell MCP Server is so easy! — Part 2
Features
Tools
generate_image- Generate images from text descriptions- Takes a text prompt as input (1-2048 characters)
- Returns the path to the generated image file
Environment Variables
The following environment variables must be configured:
FLUX_API_URL- The URL of the Flux Schnell API endpointFLUX_API_TOKEN- Your authentication token for the Flux Schnell APIWORKING_DIR(optional) - Directory where generated images will be saved (defaults to current working directory)
Development
Install dependencies:
npm install
# or
pnpm install
Build the server:
npm run build
# or
pnpm build
Installation
Installing via Smithery
To install Flux Schnell Image Generator for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @bytefer/mcp-flux-schnell --client claude
Cursor Configuration
There are two ways to configure the MCP server in Cursor:
Project Configuration
For tools specific to a project, create a .cursor/mcp.json file in your project directory:
{
"mcpServers": {
"mcp-flux-schnell": {
"command": "node",
"args": [
"/path/to/mcp-flux-schnell/build/index.js"
],
"env": {
"FLUX_API_URL": "your flux api url",
"FLUX_API_TOKEN": "your flux api token",
"WORKING_DIR": "your working directory"
}
}
}
}
This configuration will only be available within the specific project.
Global Configuration
For tools that you want to use across all projects, create a ~/.cursor/mcp.json file in your home directory with the same configuration:
{
"mcpServers": {
"mcp-flux-schnell": {
"command": "node",
"args": [
"/path/to/mcp-flux-schnell/build/index.js"
],
"env": {
"FLUX_API_URL": "your flux api url",
"FLUX_API_TOKEN": "your flux api token",
"WORKING_DIR": "your working directory"
}
}
}
}
This makes the MCP server available in all your Cursor workspaces.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










