Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
AI & Machine Learning #TypeScript#本地运行#MIT

gpt-image-2-mcp

Exposes OpenAI's gpt-image-2 (image generation and editing) as an MCP server for tools like generate_image, edit_image, and iterative edit sessions.

AI & Machine Learning npm 0 platforms 0 features

Install

npx -y gpt-image-2-mcp

Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.

{
  "mcpServers": {
    "gpt-image-2-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gpt-image-2-mcp"
      ],
      "env": {
        "OPENAI_ORG_ID": "<OPENAI_ORG_ID>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "OPENAI_BASE_URL": "<OPENAI_BASE_URL>",
        "OPENAI_PROJECT_ID": "<OPENAI_PROJECT_ID>",
        "GPT_IMAGE_2_MCP_DEBUG": "<GPT_IMAGE_2_MCP_DEBUG>",
        "GPT_IMAGE_2_OUTPUT_DIR": "<GPT_IMAGE_2_OUTPUT_DIR>",
        "GPT_IMAGE_2_SESSION_MAX": "<GPT_IMAGE_2_SESSION_MAX>",
        "GPT_IMAGE_2_SESSION_TTL_MS": "<GPT_IMAGE_2_SESSION_TTL_MS>"
      }
    }
  }
}

Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.

Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。