Image Generation MCP Server
画像生成MCPサーバー
この MCP サーバーは、Replicate Flux モデルを使用したイメージ生成機能を提供します。
インストール
オプション 1: NPX 方式 (ローカル セットアップは不要)
ローカルにインストールせずに、npm から直接パッケージを使用できます。
# No installation needed - npx will handle itオプション2: ローカルインストール
ローカルインストールを希望する場合:
# Global installation
npm install -g @gongrzhe/image-gen-server
# Or local installation
npm install @gongrzhe/image-gen-serverRelated MCP server: FLUX MCP Server
設定
Claudeデスクトップの設定
Claude Desktop 構成ファイルを編集します。
MacOSの場合:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows の場合:
%APPDATA%/Claude/claude_desktop_config.json
オプション 1: NPX 構成 (推奨)
この方法では、ローカル ファイルを必要とせずに npm から直接サーバーを実行します。
{
"mcpServers": {
"image-gen": {
"command": "npx",
"args": ["@gongrzhe/image-gen-server"],
"env": {
"REPLICATE_API_TOKEN": "your-replicate-api-token",
"MODEL": "alternative-model-name"
},
"disabled": false,
"autoApprove": []
}
}
}オプション2: ローカルインストール構成
パッケージをローカルにインストールした場合:
{
"mcpServers": {
"image-gen": {
"command": "node",
"args": ["/path/to/image-gen-server/build/index.js"],
"env": {
"REPLICATE_API_TOKEN": "your-replicate-api-token",
"MODEL": "alternative-model-name"
},
"disabled": false,
"autoApprove": []
}
}
}複製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)
使用例
const result = await use_mcp_tool({
server_name: "image-gen",
tool_name: "generate_image",
arguments: {
prompt: "A beautiful sunset over mountains",
aspect_ratio: "16:9",
output_format: "png",
num_outputs: 1
}
});このツールは、生成された画像への URL の配列を返します。
📜 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides image generation capabilities using the Flux Schnell model on Replicate, allowing users to create images from text prompts.2MIT
- AlicenseBqualityDmaintenanceExposes Replicate's FLUX image generation models to Claude, enabling text-to-image generation, image variations, inpainting, and edge-guided creation with 6 different FLUX models.21MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables high-quality image generation with advanced text rendering and contextual understanding using FLUX.1 Kontext Max through the Replicate API. Supports text-to-image generation, image editing, multiple aspect ratios, and automatically downloads generated images locally.1
- FlicenseNot gradedqualityDmaintenanceImage generation for Claude using every model on fal.ai, inline in conversations. Supports FLUX Schnell, Ideogram, SDXL, and more with privacy option via Venice.ai.
Related MCP Connectors
Generate AI images and videos (Flux, Nano Banana, Kling, Veo, 48+ models), refunds on failure.
Generate images, video, and audio with Glif's media-generation agent
AI image, video & music generation. Flux, Veo 3.1, Suno V5. Free tier included.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/GongRzhe/Image-Generation-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server