mcp-flux-schnell MCP Server
mcp server for cloudflare flux schnell worker api.
Overview
The mcp-flux-schnell is a TypeScript-based MCP server that integrates with Cloudflare's Flux Schnell worker API to provide image generation capabilities from text descriptions.
To use the mcp-flux-schnell server, configure the necessary environment variables, install the dependencies, and run the server using Node.js. You can generate images by sending text prompts to the generate_image tool.
- Generates images from text descriptions (1-2048 characters) - Easy configuration for project-specific or global use - Integration with Cloudflare's Flux Schnell API for enhanced image generation capabilities
- Creating visual content from textual descriptions for marketing materials.
- Generating images for creative projects or artwork.
- Assisting developers in building applications that require image generation from user input.
Add to your AI client
Use these steps to connect mcp-flux-schnell MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-flux-schnell-bytefer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-flux-schnell-bytefer"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-flux-schnell-bytefer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-flux-schnell-bytefer"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-flux-schnell-bytefer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-flux-schnell-bytefer"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-flux-schnell-bytefer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-flux-schnell-bytefer"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-flux-schnell-bytefer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-flux-schnell-bytefer"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-flux-schnell-bytefer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-flux-schnell-bytefer"
]
}
}
}FAQ
What programming language is mcp-flux-schnell built with?
It is built using TypeScript.
Is there a specific way to configure the server?
Yes, you can configure it either per project or globally using a JSON configuration file.
What are the requirements to run mcp-flux-schnell?
You need Node.js and the necessary environment variables set up for the Flux API.