Imagegen Mcp
io.github.forgemeshlabsPublished by GitHub account forgemeshlabsv2.1.1Updated Nov 3, 2026
AI image generation MCP — generate, bg removal, 4x upscale, or full pro pipeline. USDC/Base.
Overview
Local MCP server that lets an assistant generate AI images, remove backgrounds, upscale to 4x, and apply identity-preserving presets, paying per image in USDC…
- What you can do
- Generate images from a text prompt at several aspect ratios, with optional background removal or 4x HD upscaling, or both in a pro tier
- List the 58 identity-preserving transform presets for people or pets
- Transform a photo supplied by public URL with a chosen preset while keeping the subject's identity
- Return image URLs and job status for each paid call
- When to use it
- Useful when you want an assistant to produce or edit images on demand without signing up for an API key or subscription, and you are comfortable paying a few cents to under a dollar in USDC per image from a dedicated wallet.
- Requirements
- Runs locally via npx (Node.js) over stdio, configured in the client's MCP config. Requires the WALLET_PRIVATE_KEY environment variable: a Base mainnet wallet private key holding USDC. No other API keys are needed. Network access to the ForgeMesh imagegen service is required.
Installation
In SourceWeft
- Open Imagegen Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit 49e5a01
Tools
0Version history
3- v2.1.1LatestNov 3, 2026
- v2.1.0Oct 8, 2026
- v2.0.2Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts