mcp-flux-schnell MCP サーバー
Flux Schnellモデルを用いたテキスト画像生成ツールを実装した、TypeScriptベースのMCPサーバーです。このサーバーは、CloudflareのFlux SchnellワーカーAPIと統合されており、MCPを介した画像生成機能を提供します。
特徴
ツール
generate_image
- テキストの説明から画像を生成する- テキストプロンプトを入力として受け取ります(1〜2048文字)
- 生成された画像ファイルへのパスを返します
環境変数
次の環境変数を設定する必要があります。
FLUX_API_URL
- Flux Schnell APIエンドポイントのURLFLUX_API_TOKEN
- Flux Schnell API の認証トークンWORKING_DIR
(オプション) - 生成された画像が保存されるディレクトリ (デフォルトは現在の作業ディレクトリ)
発達
依存関係をインストールします:
サーバーを構築します。
インストール
カーソルの設定
Cursor で MCP サーバーを構成するには、次の 2 つの方法があります。
プロジェクト構成
プロジェクト固有のツールの場合は、プロジェクト ディレクトリに.cursor/mcp.json
ファイルを作成します。
この構成は特定のプロジェクト内でのみ使用できます。
グローバル構成
すべてのプロジェクトで使用するツールの場合は、同じ構成でホーム ディレクトリに~/.cursor/mcp.json
ファイルを作成します。
これにより、MCP サーバーがすべてのカーソル ワークスペースで使用できるようになります。
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Cloudflare の Flux Schnell モデル API を使用してテキストから画像への生成を可能にする TypeScript ベースの MCP サーバー。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schnell model via Together AI, allowing users to create images from text prompts with customizable dimensions.Last updated -115PythonMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that generates images using Replicate's FLUX model and stores them in Cloudflare R2, allowing users to create images through simple prompts and retrieve accessible URLs.Last updated -110
- -securityAlicense-qualityA server that enables generating images through the Replicate API by calling the Flux Schnell model via the Model Context Protocol (MCP).Last updated -3JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that enables AI assistants to generate images using Black Forest Labs' Flux model via Cloudflare Workers.Last updated -1JavaScriptMIT License