SM

shinpr/mcp-image

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

184 stars 41 forks 품질 85 트렌드 38MIT

자동 프롬프트 최적화와 고품질 프리셋을 갖춘 AI 이미지 생성 및 편집을 위한 MCP 서버입니다. Nano Banana(Gemini), OpenAI GPT 이미지, BytePlus Seedream을 지원합니다.

개요

Codex, Cursor, Claude Code 또는 모든 MCP 클라이언트에서 이미지를 생성하고 편집할 수 있습니다. MCP-image는 Gemini, OpenAI, 또는 BytePlus Seedream으로 전송하기 전에 요청에 시각적 방향을 추가합니다. 기존 이미지를 어떤 이미지를 만들거나 무엇을 변경해야 하는지, 그리고 그것이 무엇을 위한 것인지 알려주세요. 결과는 디스크에 저장되어 어시스턴트로 반환됩니다. 이미지를 생성하기 전에 mcp-image는 짧은 요청을 더 구체적인 프롬프트로 재작성합니다. 요청한 내용을 유지하고 구도, 조명, 카메라 앵글 같은 세부 사항을 채웁니다. 더 많은 세부 정보를 제공할수록 변경되는 부분은 줄어듭니다. "요리 사이트에 올릴 구운 치킨 저녁 사진이야. 실제로 요리된 것처럼 보이고, 조각 중간쯤 되어 얼마나 육즙이 많은지 알 수 있어야 해." "... 아름답게 구운 통닭이 소박한 나무 도마 위에 놓여 있다. 한쪽 다리는 부분적으로 조각되어 있고, 조각 칼 주변에 ... 조각된 닭에 집중되어 있다.

개요(AI 번역)

Codex, Cursor, Claude Code 또는 모든 MCP 클라이언트에서 이미지를 생성하고 편집할 수 있습니다. MCP-image는 Gemini, OpenAI, 또는 BytePlus Seedream으로 전송하기 전에 요청에 시각적 방향을 추가합니다.

기존 이미지를 어떤 이미지를 만들거나 무엇을 변경해야 하는지, 그리고 그것이 무엇을 위한 것인지 알려주세요. 결과는 디스크에 저장되어 어시스턴트로 반환됩니다.

그것이 하는 일들

이미지를 생성하기 전에 mcp-image는 짧은 요청을 더 구체적인 프롬프트로 재작성합니다. 요청한 내용을 유지하고 구도, 조명, 카메라 앵글 같은 세부 사항을 채웁니다. 더 많은 세부 정보를 제공할수록 변경되는 부분은 줄어듭니다.

물어보시죠?

“레시피 사이트용 로스트 치킨 디너 사진이에요. 실제로 조리된 것처럼 보이고, 조각 중간쯤 되어 얼마나 육즙이 많은지 알 수 있어야 해요.”

mcp-image가 이미지 모델로 전송합니다:

"… 신선하게 구운 통닭이 소박하고 양을 한 나무 조각판 위에 놓여 있다. 닭고기는 짙은 청동빛에 물집이 생기며 바삭한 껍질을 특징으로 한다 … **부분적으로 조각되어 있고, 한쪽 가슴살은 깨끗하게 잘라져 자연스러운 육즙이 반짝이며 반짝이는 부드럽고 뜨거운 흰 고기가 드러난다

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP Image Generator 🍌

Generate and edit images from Codex, Cursor, Claude Code, or any MCP client. mcp-image adds visual direction to your request before sending it to Gemini, OpenAI, or BytePlus Seedream.

Tell it what image to create or what to change in an existing image, and what it is for. The result is saved to disk and returned to your assistant.

What It Does

Before generating an image, mcp-image rewrites short requests into more specific prompts. It keeps what you asked for and fills in details such as composition, lighting, and camera angle. The more detail you provide, the less it changes.

You ask:

“A photo of a roast chicken dinner for a recipe site. It should look like it was actually cooked, and it should be partway through being carved so you can tell how juicy it is.”

mcp-image sends to the image model:

“… a freshly roasted whole chicken resting on a rustic, seasoned wooden carving board. The chicken features deeply bronzed, blistered, and crispy skin … It is partway carved, with one breast cleanly sliced open to reveal tender, steaming-hot white meat glistening with natural juices pooling slightly onto the board … shallow depth of field with a softly blurred background.”

Generated with Gemini using the default fast quality preset.

What carried through:

  • for a recipe site: one clear subject, with everything else kept subordinate
  • actually cooked: blistered, uneven browning, rising steam, and drippings on the knife
  • partway through being carved: one breast sliced open, with the cut piece still resting against the bird
  • how juicy it is: juices pooling on the board and shallow depth of field around the cut

Quick Start

You need Node.js 22 or later, an MCP-compatible client, and an API key for one image provider.

1. Get an API key

All three providers generate and edit images. Gemini is the default and requires the least configuration.

Provider Image size Output format Setup
Gemini (default) 1K, 2K, 4K Automatic Get a key, then set GEMINI_API_KEY
GitHub에서 전체 README 보기

설치

npx -y mcp-image
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcp-image": { "command": "npx", "args": ["-y", "mcp-image"], "env": { "GEMINI_API_KEY": "your_gemini_api_key_here", "IMAGE_OUTPUT_DIR": "/absolute/path/to/images" } } } }