Skip to main content
Glama

mcp-flux-schnell

by bytefer

mcp-flux-schnell MCP サーバー

Flux Schnellモデルを用いたテキスト画像生成ツールを実装した、TypeScriptベースのMCPサーバーです。このサーバーは、CloudflareのFlux SchnellワーカーAPIと統合されており、MCPを介した画像生成機能を提供します。

特徴

ツール

  • generate_image - テキストの説明から画像を生成する
    • テキストプロンプトを入力として受け取ります(1〜2048文字)
    • 生成された画像ファイルへのパスを返します

環境変数

次の環境変数を設定する必要があります。

  • FLUX_API_URL - Flux Schnell APIエンドポイントのURL
  • FLUX_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 サーバーがすべてのカーソル ワークスペースで使用できるようになります。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

Cloudflare の Flux Schnell モデル API を使用してテキストから画像への生成を可能にする TypeScript ベースの MCP サーバー。

  1. 特徴
    1. ツール
  2. 環境変数
    1. 発達
      1. インストール
        1. カーソルの設定

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A 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 -
        1
        15
        Python
        MIT License
        • Apple
      • A
        security
        F
        license
        A
        quality
        A 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 -
        1
        10
      • -
        security
        A
        license
        -
        quality
        A server that enables generating images through the Replicate API by calling the Flux Schnell model via the Model Context Protocol (MCP).
        Last updated -
        3
        JavaScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        An MCP server that enables AI assistants to generate images using Black Forest Labs' Flux model via Cloudflare Workers.
        Last updated -
        1
        JavaScript
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/bytefer/mcp-flux-schnell'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server