{"type":"mcp_server","name":"Image-Generation-MCP-Server","description":"This repository provides an MCP server for image generation using the Replicate Flux model, enabling users to generate images through Claude Desktop with either NPX or local installation, requiring a","category":"AI","language":"JavaScript","stars":51,"forks":0,"owner":"GongRzhe","github_url":"https://github.com/GongRzhe/Image-Generation-MCP-Server","homepage":null,"setup":"## Setup\n\n### Configure Claude Desktop\n\nEdit your Claude Desktop configuration file:\n\n- On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- On Windows: `%APPDATA%/Claude/claude_desktop_config.json`\n\n#### Option 1: NPX Configuration (Recommended)\nThis method runs the server directly from npm without needing local files:\n\n```json\n{\n  \"mcpServers\": {\n    \"image-gen\": {\n      \"command\": \"npx\",\n      \"args\": [\"@gongrzhe/image-gen-server\"],\n      \"env\": {\n        \"REPLICATE_API_TOKEN\": \"your-replicate-api-token\",\n        \"MODEL\": \"alternative-model-name\"\n      },\n      \"disabled\": false,\n      \"autoApprove\": []\n    }\n  }\n}\n```\n\n#### Option 2: Local Installation Configuration\nIf you installed the package locally:\n\n```json\n{\n  \"mcpServers\": {\n    \"image-gen\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/image-gen-server/build/index.js\"],\n      \"env\": {\n        \"REPLICATE_API_TOKEN\": \"your-replicate-api-token\",\n        \"MODEL\": \"alternative-model-name\"\n      },\n      \"disabled\": false,\n      \"autoApprove\": []\n    }\n  }\n}\n```\n\n### Get Your Replicate API Token\n\n1.  Sign up/login at https://replicate.com\n2.  Go to https://replicate.com/account/api-tokens\n3.  Create a new API token\n4.  Copy the token and replace `your-replicate-api-token` in the MCP settings","tools":"## Available Tools\n\n1.  `generate_image` (Generates images using the Flux model based on text prompts.)","faq":null,"created_at":"2025-02-23T10:47:53+00:00","updated_at":"2025-03-28T02:45:08+00:00","source_url":"https://model-context-protocol.com/servers/image-generation-replicate-flux-mcp-server","related_articles":[]}