Skip to content
项目

fujc683/gpt-image-2-6-mcp-server

在 GitHub 查看

关于

Use GPT Image 2.6 from Claude, Cursor and VS Code via MCP.

设计与媒体

这些数字如何统计

实测星标增长

24小时
-1
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

GPT Image 2.6

GPT Image 2.6 MCP Server — use it from Claude, Cursor, VS Code

Expose GPT Image 2.6 as MCP tools so agents can generate images on their own.

Awesome License: CC BY 4.0

👉 Try GPT Image 2.6 on APIMart

https://gola.apimart.ai/k-EXCk8v

💰 Pricing · 🔑 Get an API key


What this is

An MCP (Model Context Protocol) server that exposes GPT Image 2.6 to Claude Desktop, Claude Code, Cursor and any other MCP-compatible client.

// claude_desktop_config.json
{
  "mcpServers": {
    "apimart-image": {
      "command": "npx",
      "args": ["-y", "@apimart/mcp-image"],
      "env": { "APIMART_API_KEY": "YOUR_KEY" }
    }
  }
}

Tools exposed

Tool Arguments Returns
generate_image prompt, model?, size? image URL + cost
list_models — available image models
get_task task_id status + result

Example session

you:  draw a minimal poster for a coffee shop called "Morning Ritual"
claude → generate_image(prompt="minimal poster, serif headline 'Morning Ritual' ...")
       ← https://.../out.jpg  (cost $0.0198)

Why MCP instead of a script

  • The agent decides when to call the model, no copy-paste loop
  • Cost is returned per call, so the agent can reason about budget
  • Works across clients (Claude, Cursor, VS Code) with one config

Build it yourself

The server is ~120 lines: one MCP tool definition per endpoint, plus polling. See docs/ for the reference implementation.


Related

License

CC BY 4.0

探索相关项目

加载中…