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
MCP server for browsing and interacting with OneNote web app using browser-use automation
The most powerful MCP Slack Server with Stdio and SSE transports, Proxy support and no permission requirements on...
Lightweight MCP server to give your Cursor Agent access to the Cloudflare API.
An MCP server for code reviews using OpenAI and Google models for Claude-code
Geocoding MCP server with GeoPY!
🤖 A Model Context Protocol (MCP) server for Google Cloud
Forked repo to customize into Project Management purpose.
🚀 The open-source alternative to Twilio.





