{"repo":"spartanz51/imagegen-mcp","free":true,"listed":false,"github":"https://github.com/spartanz51/imagegen-mcp","clone":"git clone https://github.com/spartanz51/imagegen-mcp.git","description":"MCP server for OpenAI Image Generation & Editing — text-to-image, image-to-image (with mask), no extra plugins.","language":"TypeScript","stars":38,"topics":["cursor","mcp","mcp-server","openai"],"license":null,"category":"mcp-servers","readme_excerpt":"MCP OpenAI Image Generation Server This project provides a server implementation based on the Model Context Protocol (MCP) that acts as a wrapper around OpenAI's Image Generation and Editing APIs (see OpenAI documentation). Features Exposes OpenAI image generation capabilities through MCP tools. Supports text-to-image generation using models like DALL-E 2, DALL-E 3, and gpt-image-1 (if available/enabled). Supports image-to-image editing using DALL-E 2 and gpt-image-1 (if available/enabled). Configurable via environment variables and command-line arguments. Handles various parameters like size, quality, style, format, etc. Saves generated/edited images to temporary files and returns the path along with the base64 data. Here's an example of generating an image directly in Cursor using the text-to-image tool integrated via MCP: Quick Run with npx You can run the server directly from npm using npx (requires Node.js and npm): See the Running the Server section for more details on options and running locally. Prerequisites Node.js (v18 or later recommended) npm or yarn An OpenAI API key Integration with Cursor You can easily integrate this server with Cursor to use its image generation capabilities directly within the editor: 1. Open Cursor Settings: Go to File Preferences Cursor Settings (or use the shortcut Ctrl+, / Cmd+, ). 2. Navigate to MCP Settings: Search for \"MCP\" in the settings search bar. Find the \"Model Context Protocol: Custom Servers\" setting. 3. Add Custom Server: Cl","default_branch":null,"files":null,"tree":[],"storefront":"/r/spartanz51","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spartanz51/imagegen-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}