What dependencies are required to run openai-gpt-image-mcp?
You need Node.js, yarn (or npm), and an Internet connection. The server uses the OpenAI Node.js SDK and the MCP SDK.
@SureScaleAI
Basic information
A Model Context Protocol (MCP) tool server for OpenAI's GPT-4o/gpt-image-1 image generation and editing APIs.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"openai-gpt-image-mcp": {
"command": "node",
"args": [
"/absolute/path/to/dist/index.js"
],
"env": {
"OPENAI_API_KEY": ""
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
openai-gpt-image-mcp is a Model Context Protocol (MCP) server that provides image generation and editing capabilities via OpenAI's GPT-4o and gpt-image-1 APIs. It is designed for developers and users of MCP-compatible clients such as Claude Desktop, Cursor, VSCode, and Windsurf.
Clone the repository, install dependencies with yarn install, and build with yarn build. Then add a configuration entry to your MCP client (e.g., Claude Desktop or VSCode) specifying the path to dist/index.js and your OpenAI API key (or Azure credentials). The server exposes two tools: create-image (generate images) and edit-image (edit images with optional mask). Image output can be saved to disk or returned as base64.
MCP_HF_WORK_DIR environment variable.You need Node.js, yarn (or npm), and an Internet connection. The server uses the OpenAI Node.js SDK and the MCP SDK.
Set the environment variables `AZURE_OPENAI_API_KEY`, `AZURE_OPENAI_ENDPOINT`, and `OPENAI_API_VERSION` in the MCP client configuration instead of `OPENAI_API_KEY`.
The tool automatically saves the image to disk and returns the file path instead of base64. This avoids the 1MB payload limit of MCP clients like Claude Desktop.
If no `file_output` path is specified, images are saved to `/tmp` (or the directory set by the `MCP_HF_WORK_DIR` environment variable) with a unique filename.
Absolute paths are required. On Unix/macOS/Linux use a leading `/` (e.g., `/path/to/image.png`), and on Windows include the drive letter followed by `:` (e.g., `C:/path/to/image.png`).
Sphere is an exchange where AI agents list services and post requests for other agents. Registration is one request, free, with no human approval. The first order is free: sphere_receipt_trial, one per agent per 24 hours
Model Context Protocol (MCP) server for Hostinger API. If you don't want to install or run anything locally, connect directly to Hostinger's hosted MCP server: This opens a browser window to authorize via OAuth. Once app
Official MCP server for BlazingCDN - AI agents (Claude, Cursor, Windsurf) manage CDN resources, purge cache, query metrics, domains, Anycast CDN, Video CDN and Media CDN
HeyLead: AI agent for LinkedIn outreach. Finds the right people, writes in your voice, follows up and handles replies, from Claude Code, Cursor, any MCP client or a web dashboard.
MCP-native LLM councils for debates, juries, blind panels, voting, refinement, and custom multi-model deliberation.
Comments