
fujc683/gpt-image-2-6-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP による Claude、Cursor、VS コードから GPT イメージ 2.6 を使用します.
概要
GPT Image 2.6 を MCP ツールとして公開することで、エージェントは自分の画像を生成できます。 MCP (Model Context Protocol) サーバーで、GPT Image 2.6 を Claude Desktop、Claude Code、Cursor、その他の MCP 互換クライアントに公開します。 - エージェントは、モデルを呼び出すときに決定します。, コピーペーストループなし - コストは呼び出しごとに返されます。, エージェントは、予算について理由をすることができます - クライアントを経由して動作します(クロード, カーソル, VSコード) 1つの構成で サーバは ~120 行: エンドポイントごとに 1 つの MCP ツール定義とポーリングです。 参照実装の docs/ を参照してください。 - プロンプトライブラリ:gpt-image-2-6-prompts - より多くの画像モデル:素晴らしいプロンプトコレクション
概要(AI 翻訳)
GPT Image 2.6 を MCP ツールとして露光し、エージェントが自分の画像を生成できるようにします。
** APIMartでGPT Image 2.6を試してみる**
[https://gola.apimart.ai/k-EXCk8v]
クーポン・APIキーの取得
お問い合わせ
これは何ですか?
GPT Image 2.6 を Claude に公開する MCP (Model Context Protocol) サーバー デスクトップ、クロードコード、カーソル、その他のMCP互換クライアント。
ツールの露出
| ツール | 引数 | リターン |
お問い合わせ
| [generate_image | [prompt, [model?], [[[size?]]|画像URL + コスト |
| 【[T5] | | | 対応イメージモデル |
| [get_task | [task_id | ステータス + 結果 |
セッション例
スクリプトの代わりにMCPなぜ
- エージェントはモデルを呼び出すときに決定します。コピーペーストループなし
- 費用は電話によって返されます、従って代理店は予算についての理由をできます
- 1つの構成の顧客(クロード、カーソル、VSコード)を渡る仕事
自分で構築する
サーバは ~120 行: エンドポイントごとに 1 つの MCP ツール定義とポーリングです。
参照実装の[docs/を参照してください。
お問い合わせ
関連
- プロンプトライブラリ:gpt-image-2-6-prompts
- より多くの画像モデル:素晴らしいプロンプトコレクション
ライセンス
CC によって 4.0
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
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.
👉 Try GPT Image 2.6 on APIMart
https://gola.apimart.ai/k-EXCk8v
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
- Prompt library: gpt-image-2-6-prompts
- More image models: awesome prompt collections
License
CC BY 4.0
インストール
npx -y @apimart/mcp-image設定
// claude_desktop_config.json
{
"mcpServers": {
"apimart-image": {
"command": "npx",
"args": ["-y", "@apimart/mcp-image"],
"env": { "APIMART_API_KEY": "YOUR_KEY" }
}
}
}