Imagegen Mcp

io.github.forgemeshlabs由 GitHub 帳號 forgemeshlabs 發布v2.1.1更新於 Nov 3, 2026

AI image generation MCP — generate, bg removal, 4x upscale, or full pro pipeline. USDC/Base.

已驗證STDIO僅桌面金融媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理生成 AI 圖像、去背、4 倍放大,並套用保留身分的預設變換,依張以 Base 上的 USDC 付費。

可以做什麼
  • 依文字提示生成圖像,可選多種長寬比,並可加上去背或 4 倍 HD 放大,或兩者兼具的專業等級
  • 列出 58 個針對人物或寵物的保留身分變換預設
  • 以指定預設對公開圖片網址中的照片進行變換,同時保留主體身分
  • 每次付費呼叫回傳圖片網址與任務狀態
適用情境
適合想讓助理隨需生成或編輯圖片、又不想申請 API 金鑰或訂閱,並願意從專用錢包依張支付數美分至不到一美元 USDC 的情境。
執行需求
透過 npx(Node.js)以 stdio 在本機執行,需在用戶端 MCP 設定中登錄。需要環境變數 WALLET_PRIVATE_KEY,即持有 USDC 的 Base 主網錢包私鑰;不需其他 API 金鑰。需要能連線至 ForgeMesh 圖像生成服務的網路。
安裝前請注意
伺服器會用你提供的錢包私鑰自動簽署並廣播 USDC 轉帳,因此每次工具呼叫都會花用真實資金;請使用專用的低餘額錢包,切勿使用主要錢包。提示詞與圖片網址會傳送給第三方服務,並受其安全過濾限制。只提交你有權使用的圖片,且不得包含未成年人。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Imagegen Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

forgemesh-imagegen

[M8ven Verified] [mcpservers.org]

MCP server for AI image generation. Generate images, remove backgrounds, upscale to 4x HD — all from a single MCP tool call. Payments handled automatically in USDC on Base mainnet via x402. No API key. No subscription. Pay per image.

Part of the ForgeMesh ecosystem — infrastructure for autonomous agents.


Tools

ToolWhat it doesPrice
generate_imageStandard text-to-image generation$0.25 USDC
generate_cleanGenerate + background removal$0.35 USDC
generate_hdPremium generate + 4x upscale (HD)$0.50 USDC
generate_proTop-tier generate + bg removal + 4x upscale$0.75 USDC
list_presetsList the 58 identity-preserving transform presets (person or pet)$0.005 USDC
transform_imageTransform a photo with a preset while keeping the subject's identity (FLUX Kontext Max)$0.75 USDC

The four generate_* tools accept prompt (required) and aspect (optional: 1:1, 16:9, 9:16, 4:3). transform_image takes a public image_url, a preset id from list_presets, an optional aspect (match_input_image default, or 1:1, 16:9, 9:16, 4:3, 3:4) and wait (default true: polls the free status URL until the PNG is ready, usually 15-30s). Submit only images you have rights to; no minors; the provider safety filter applies.


Install

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "forgemesh-imagegen": {      "command": "npx",      "args": ["-y", "forgemesh-imagegen"],      "env": {        "WALLET_PRIVATE_KEY": "0x..."      }    }  }}

Claude Code

bash
claude mcp add forgemesh-imagegen -- npx -y forgemesh-imagegen

Then set the env var:

bash
export WALLET_PRIVATE_KEY=0x...

Requirements

  • A dedicated, low-balance Base mainnet wallet private key with USDC (never your primary wallet: the server signs USDC transfers autonomously)
  • $1 USDC ≈ 4 base images, 2 clean, 2 HD, or 1 pro, or 1 transform
  • No other API keys needed

Get USDC on Base: Coinbase → Bridge to Base, or buy directly on Base.


Example usage

generate_image(prompt="a red panda in a spacesuit", aspect="1:1")→ { image_url: "https://...", prompt: "...", aspect: "1:1", tier: "image" }
generate_clean(prompt="a product photo of a ceramic mug")→ { image_url: "https://...", tier: "clean" }   // transparent PNG
generate_hd(prompt="a futuristic city at night, cyberpunk style")→ { image_url: "https://...", tier: "hd" }       // 4096x4096
generate_pro(prompt="a logo mark, geometric eagle")→ { image_url: "https://...", tier: "pro" }      // transparent + HD
list_presets()→ { count: 58, presets: [{ id: "pet-royal", title: "Pet Royalty", subject: "pet", ... }, ...] }
transform_image(image_url="https://example.com/my-dog.jpg", preset="pet-royal")→ { job_id: "...", status: "succeeded", preset: "pet-royal", image_url: "https://..." }

How it works

Each tool call makes an HTTP request to the ForgeMesh imagegen service gated by the x402 protocol. If payment is required, the MCP automatically signs and broadcasts a USDC transfer from your wallet on Base mainnet — then retries the request. You see the result, your wallet is charged, no manual steps.

  • Network: Base mainnet (eip155:8453)
  • Token: USDC
  • Protocol: x402
  • The server only ever connects to https://imagegen.coinopai.com; every request has a 60s timeout and a 1 MB response cap; no third-party payment routers or affiliate hops.

Links


License

MIT © ForgeMesh Labs

來源:README.md,提交 49e5a01

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

3
  1. v2.1.1最新Nov 3, 2026
  2. v2.1.0Oct 8, 2026
  3. v2.0.2Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分