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.
概览
本地 MCP 服务器,让助手生成 AI 图像、去背景、4 倍放大并按身份保持预设变换照片,按张以 Base 上的 USDC 付费。
- 可以做什么
- 按文本提示生成图像,可选多种画幅比例,并可附加去背景或 4 倍高清放大,或两者兼具的专业档
- 列出 58 个针对人物或宠物的身份保持变换预设
- 用指定预设对公开图片链接中的照片进行变换,同时保持主体身份
- 每次付费调用返回图片链接与任务状态
- 适用场景
- 适合希望助手按需生成或编辑图片、又不想申请 API 密钥或订阅,并愿意从专用钱包按张支付几美分到不足一美元 USDC 的场景。
- 运行要求
- 通过 npx(Node.js)以 stdio 在本地运行,需在客户端 MCP 配置中登记。需要环境变量 WALLET_PRIVATE_KEY,即持有 USDC 的 Base 主网钱包私钥;无需其他 API 密钥。需要能访问 ForgeMesh 图像生成服务的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Imagegen Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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:
Claude Code
Then set the env var:
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
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
- ForgeMesh — ecosystem overview
- npm
- x402 Protocol
License
MIT © ForgeMesh Labs
来源:README.md,提交 49e5a01
工具
0版本历史
3- v2.1.1最新Nov 3, 2026
- v2.1.0Oct 8, 2026
- v2.0.2Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分