### Install OpenAI GPT Image MCP Source: https://github.com/surescaleai/openai-gpt-image-mcp/blob/master/README.md Steps to clone the repository, navigate into it, install dependencies using Yarn, and build the project from its source. ```sh git clone https://github.com/SureScaleAI/openai-gpt-image-mcp.git cd openai-gpt-image-mcp yarn install yarn build ``` -------------------------------- ### Configure MCP Server with Azure OpenAI API Source: https://github.com/surescaleai/openai-gpt-image-mcp/blob/master/README.md JSON configuration for integrating the OpenAI GPT Image MCP server with Azure OpenAI deployments. This setup includes specifying the Azure API key, endpoint, and the desired OpenAI API version. ```json { "mcpServers": { "openai-gpt-image-mcp": { "command": "node", "args": ["/absolute/path/to/dist/index.js"], "env": { "AZURE_OPENAI_API_KEY": "sk-...", "AZURE_OPENAI_ENDPOINT": "my.endpoint.com", "OPENAI_API_VERSION": "2024-12-01-preview" } } } } ``` -------------------------------- ### Configure MCP Server with OpenAI API Key Source: https://github.com/surescaleai/openai-gpt-image-mcp/blob/master/README.md JSON configuration for integrating the OpenAI GPT Image MCP server into clients like Claude Desktop or VSCode. This snippet shows how to specify the command to run the server and set the OPENAI_API_KEY environment variable directly within the configuration. ```json { "mcpServers": { "openai-gpt-image-mcp": { "command": "node", "args": ["/absolute/path/to/dist/index.js"], "env": { "OPENAI_API_KEY": "sk-..." } } } } ``` -------------------------------- ### Configure MCP Server using an Environment File Source: https://github.com/surescaleai/openai-gpt-image-mcp/blob/master/README.md JSON configuration for integrating the OpenAI GPT Image MCP server, demonstrating how to supply environment variables via a dedicated .env file. This method is useful for managing sensitive credentials or complex configurations externally. ```json { "mcpServers": { "openai-gpt-image-mcp": { "command": "node", "args": ["/absolute/path/to/dist/index.js", "--env-file", "./deployment/.env"] } } } ``` -------------------------------- ### Build and Run OpenAI GPT Image MCP Locally Source: https://github.com/surescaleai/openai-gpt-image-mcp/blob/master/README.md Commands for building the TypeScript source code into JavaScript and then running the compiled application locally. This is typically used during development and testing. ```sh yarn build node dist/index.js ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.