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
基本信息
A Model Context Protocol (MCP) tool server for OpenAI's GPT-4o/gpt-image-1 image generation and editing APIs.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"openai-gpt-image-mcp": {
"command": "node",
"args": [
"/absolute/path/to/dist/index.js"
],
"env": {
"OPENAI_API_KEY": ""
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
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`).

Extract, search and tag any document — invoices, receipts, contracts, forms, or your own templates. 13 tools, one sign-in (OAuth 2.1) or API key, free FileTag tier, data residency in the EU, US, Israel or Asia.

scvd.store is an evidence observatory for agentic commerce. Independent signed observation of what other people's endpoints, artifacts and payments actually did among other things. USDC on Base, Arbitrum One, World Chain
UnificAlly MCP server. One API for 100+ AI video, image, music and speech models. https://mcp.unifically.com/mcp

Social listening for AI agents. Rumoro's remote MCP server lets Claude, Cursor, Codex and other MCP clients search and sort mentions of your product, your competitors and your topics on Reddit, X, Hacker News, GitHub, Yo

Build and edit landing pages and websites from your AI assistant, and pull how they are performing.
评论