What is the Flux Schnell MCP Server?
The Flux Schnell MCP Server is an implementation of a text-to-image generation service using the Flux Schnell model, accessible via the Model Context Protocol (MCP).
What is MCP?
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs).
What are the key features of the Flux Schnell MCP Server?
Key features include customizable image dimensions, seed control for reproducibility, asynchronous streaming response, and an HTTP interface for Hugging Face models.
What are the installation requirements for the server?
The server requires Python 3.10 or higher and the httpx >= 0.28.1 and mcp[cli] >= 1.3.0 dependencies.
How do I install the required dependencies?
You can install the dependencies using uv venv && source .venv/bin/activate (Unix/macOS) or .venvScriptsactivate (Windows) followed by uv sync.
How can I debug the server?
You can debug the server using mcp dev main.py or npx -y @modelcontextprotocol/inspector uv run main.py.
What parameters can I configure when using the API?
You can configure the prompt (text prompt), image_width (optional, default 512), image_height (optional, default 512), and seed (optional, default 3).
Can you provide an example of how to use the server in Python?
Yes, here is an example:
python
示例代码
async def test_main(): img_url = await image_generation( prompt=“your prompt here”, image_width=512, # 可选,默认512 image_height=512, # 可选,默认512 seed=3 # 可选,默认3 ) print(img_url)
What is UBOS?
UBOS is a full-stack AI Agent Development Platform focused on bringing AI Agents to every business department. Our platform helps you orchestrate AI Agents, connect them with your enterprise data, and build custom AI Agents with your LLM model and Multi-Agent Systems.
How does the Flux Schnell MCP Server integrate with UBOS?
The Flux Schnell MCP Server seamlessly integrates with the UBOS platform, allowing you to leverage the full power of the UBOS ecosystem for AI Agent development and orchestration.
Flux Schnell Image Generation Server
Project Details
- m-mcp/flux-schnell-server
- Last Updated: 3/7/2025
Recomended MCP Servers
A simple yet powerful MCP server for Trello.
A monorepo for the Google Workspace Dev Assist project, providing an MCP server with tools for AI assistants...
Capture live images from your webcam with a tool or resource request
Free and open source manga reader for Android
Model Context Protocol Server for aggregating RSS feeds in Claude Desktop
A Python package for accessing Cryo datasets via Claude Code
A simple MCP server that exposes datetime information to agentic systems and chat REPLs
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support,...





