Image Generation MCP Server
이미지 생성 MCP 서버
이 MCP 서버는 Replicate Flux 모델을 사용하여 이미지 생성 기능을 제공합니다.
설치
옵션 1: NPX 방식(로컬 설정 필요 없음)
로컬에 설치하지 않고도 npm에서 바로 패키지를 사용할 수 있습니다.
지엑스피1
옵션 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 Desktop 구성
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 에서 가입/로그인하세요
새로운 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 라이선스에 따라 라이선스가 부여되었습니다.
Available Tools
1 toolgenerate_imageC
Generate an image using the Flux model
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Prompt for generated image | |
| seed | No | Random seed for reproducible generation | |
| aspect_ratio | No | Aspect ratio for the generated image | 1:1 |
| output_format | No | Format of the output images | webp |
| num_outputs | No | Number of outputs to generate (1-4) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('generate') but doesn't mention cost, rate limits, permissions, or output behavior (e.g., file format, size). This is a significant gap for a generative tool with potential resource implications.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's front-loaded with the core action and model, making it easy to parse quickly. Every word earns its place without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of image generation, no annotations, and no output schema, the description is incomplete. It doesn't cover behavioral aspects like cost, rate limits, or output details (e.g., image size, quality), leaving gaps for the agent to operate effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents all parameters. The description adds no additional meaning beyond the schema, such as explaining prompt best practices or seed usage. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('generate') and resource ('image'), specifying the model ('Flux model'). It's specific about what the tool does, though without sibling tools, differentiation isn't applicable. It's not tautological or misleading.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives, prerequisites, or constraints. The description lacks context for usage, such as when image generation is appropriate or any limitations, leaving the agent without operational guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.1- First observed
generate_image
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear and distinct purpose of generating images using the Flux model.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'generate_image' follows a clear verb_noun pattern, and there are no other tools to cause inconsistency.
A single tool for an image generation server is too few for the apparent scope, as it lacks basic operations like listing models, managing generations, or handling variations. This minimal set will likely cause agent failures due to incomplete functionality.
The tool surface is severely incomplete for an image generation domain. It only provides generation without any supporting operations such as model selection, parameter tuning, history retrieval, or image editing, leading to dead ends in agent workflows.
Maintenance
Related MCP Connectors
- lightgenOAuthapp.lightgen
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Generate images, videos, music & lip sync with 200+ AI models (Flux, Veo 3, Kling, Suno)
AI image and video generation, talking avatars, consistent characters and photo packs from Claude.
- IcarusOAuthcom.withicarus
Make any photo or video you can describe, right from Claude.
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.-