mcp-flux-schnell
mcp-flux-schnell MCP サーバー
Flux Schnellモデルを用いたテキスト画像生成ツールを実装した、TypeScriptベースのMCPサーバーです。このサーバーは、CloudflareのFlux SchnellワーカーAPIと統合されており、MCPを介した画像生成機能を提供します。
特徴
ツール
generate_image- テキストの説明から画像を生成するテキストプロンプトを入力として受け取ります(1〜2048文字)
生成された画像ファイルへのパスを返します
Related MCP server: Image Generator MCP Server
環境変数
次の環境変数を設定する必要があります。
FLUX_API_URL- Flux Schnell APIエンドポイントのURLFLUX_API_TOKEN- Flux Schnell API の認証トークンWORKING_DIR(オプション) - 生成された画像が保存されるディレクトリ (デフォルトは現在の作業ディレクトリ)
発達
依存関係をインストールします:
npm install
# or
pnpm installサーバーを構築します。
npm run build
# or
pnpm buildインストール
カーソルの設定
Cursor で MCP サーバーを構成するには、次の 2 つの方法があります。
プロジェクト構成
プロジェクト固有のツールの場合は、プロジェクト ディレクトリに.cursor/mcp.jsonファイルを作成します。
{
"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"
}
}
}
}この構成は特定のプロジェクト内でのみ使用できます。
グローバル構成
すべてのプロジェクトで使用するツールの場合は、同じ構成でホーム ディレクトリに~/.cursor/mcp.jsonファイルを作成します。
{
"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"
}
}
}
}これにより、MCP サーバーがすべてのカーソル ワークスペースで使用できるようになります。
Available Tools
1 toolgenerate_imageC
Generate an image from a text prompt using Flux Schnell model
Inputs: prompt (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'generate_image' has a clear and distinct purpose that cannot be confused with any other tool in the set.
The single tool name 'generate_image' follows a clear verb_noun pattern. With only one tool, consistency is inherently perfect as there are no other names to compare against or deviate from.
A single tool is too few for most practical server purposes, as it severely limits functionality and flexibility. For an image generation server, typical expectations might include variations like upscaling, editing, or batch processing, making one tool feel thin and under-scoped.
The server's domain appears to be image generation, but with only a basic generation tool, there are significant gaps. Missing operations might include image editing, style variations, resolution adjustments, or batch processing, which could lead to agent failures when more complex tasks are required.
Maintenance
Related MCP Connectors
MCP server for Flux AI image generation
Generate AI images and videos from any compatible MCP client.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server for Qwen Image 3 AI image generation
Related MCP Servers
- FlicenseBqualityDmaintenanceA TypeScript-based MCP server that generates images using OpenAI's dall-e-3 model based on text prompts and saves them to a specified directory.111-
- FlicenseCqualityNot gradedmaintenanceA TypeScript-based MCP server that lets users generate images using OpenAI's dall-e-3 model by providing a prompt and image name.11-
- AlicenseNot gradedqualityDmaintenanceA Node.js + TypeScript MCP server that proxies to DeepSeek's Chat, Image, and TTS APIs for conversation, image generation, and text-to-speech.MIT
- AlicenseNot gradedqualityDmaintenanceImage generation MCP server running on Cloudflare Workers, supporting multiple models like FLUX and SDXL with OpenAI-compatible endpoints.MIT