画像生成MCPサーバー
この MCP サーバーは、Replicate Flux モデルを使用したイメージ生成機能を提供します。
インストール
オプション 1: NPX 方式 (ローカル セットアップは不要)
ローカルにインストールせずに、npm から直接パッケージを使用できます。
オプション2: ローカルインストール
ローカルインストールを希望する場合:
設定
Claudeデスクトップの設定
Claude Desktop 構成ファイルを編集します。
- MacOSの場合:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows の場合:
%APPDATA%/Claude/claude_desktop_config.json
オプション 1: NPX 構成 (推奨)
この方法では、ローカル ファイルを必要とせずに npm から直接サーバーを実行します。
オプション2: ローカルインストール構成
パッケージをローカルにインストールした場合:
複製APIトークンを取得する
- https://replicate.comでサインアップ/ログインしてください
- https://replicate.com/account/api-tokensにアクセスしてください。
- 新しいAPIトークンを作成する
- トークンをコピーし、MCP設定で
your-replicate-api-token
を置き換えます。
環境変数
REPLICATE_API_TOKEN
(必須): 認証用のReplicate APIトークンMODEL
(オプション): 画像生成に使用するReplicateモデル。デフォルトは「black-forest-labs/flux-schnell」
構成パラメータ
disabled
: サーバーが有効 (false
) か無効 (true
) かを制御しますautoApprove
: ユーザーの確認なしで実行できるツール名の配列。配列が空の場合、すべてのツール呼び出しは確認が必要になります。
利用可能なツール
画像を生成する
テキストプロンプトに基づいて Flux モデルを使用して画像を生成します。
パラメータ
prompt
(必須): 生成する画像のテキスト説明seed
(オプション):再現可能な生成のためのランダムシードaspect_ratio
(オプション): 画像のアスペクト比 (デフォルト: "1:1")output_format
(オプション): 出力形式 - "webp"、"jpg"、または "png" (デフォルト: "webp")num_outputs
(オプション): 生成する画像の数 (1-4、デフォルト: 1)
使用例
このツールは、生成された画像への URL の配列を返します。
📜 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
This server cannot be installed
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.
Replicate Flux モデルを使用して Claude に画像生成機能を提供します。これにより、ユーザーはアスペクト比や出力形式などのカスタマイズ可能なパラメータを使用してテキスト プロンプトから画像を作成できます。
Related MCP Servers
- AsecurityFlicenseAqualityEnables users to generate images from text prompts using Replicate's model, with configurable parameters and full MCP protocol compliance.Last updated -1126TypeScript
- AsecurityAlicenseAqualityA MCP server that enables Claude and other MCP-compatible assistants to generate images from text prompts using Together AI's image generation models.Last updated -14TypeScriptMIT License
- -securityAlicense-qualityProvides image generation capabilities using the Flux Schnell model on Replicate, allowing users to create images from text prompts.Last updated -1JavaScriptMIT 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