imagegen-mcp MCP Server
AI image generation MCP — generate, bg removal, 4x upscale, or full pro pipeline. USDC/Base.
imagegen-mcp scores 67 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 6 tools. Filed under Design, Media. GitHub shows 1 stars. Package registries report about 111 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
83/100 for listing completeness. Lost points: 2 of 6 tools barely described, short summary, no docs link.
How quality is graded
Where the 67 comes from
22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "forgemeshlabs-imagegen-mcp": { "command": "npx", "args": [ "-y", "forgemesh-imagegen@2.1.3" ], "env": { "WALLET_PRIVATE_KEY": "YOUR_WALLET_PRIVATE_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
WALLET_PRIVATE_KEYSecret | Required | Base wallet private key for x402 USDC micropayments. Use a dedicated low-balance wallet. |
Tools6Tool docs quality grade D
All capabilitiesgenerate_cleantoolGenerate + background removal
generate_hdtoolPremium generate + 4x upscale (HD)
generate_imagetoolStandard text-to-image generation
generate_protoolTop-tier generate + bg removal + 4x upscale
list_presetstoolList the 58 identity-preserving transform presets (person or pet)
transform_imagetoolTransform a photo with a preset while keeping the subject's identity (FLUX Kontext Max)
About
forgemesh-imagegen
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
| Tool | What it does | Price |
|---|---|---|
generate_image | Standard text-to-image generation | $0.05 USDC |
generate_clean | Generate + background removal | $0.35 USDC |
generate_hd | Premium generate + 4x upscale (HD) | $0.10 USDC |
generate_pro | Top-tier generate + bg removal + 4x upscale | $0.75 USDC |
list_presets | List the 58 identity-preserving transform presets (person or pet) | $0.005 USDC |
transform_image | Transform 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.
generate_hd, generate_pro and transform_image run as async jobs: the tool polls the free status URL (default wait true, up to ~90s) and returns image_url plus expires_at (images are stored 7 days). If a job fails on the service's side (infrastructure or model host), the result carries a retry_credit; call the same tool again with retry_credit set to that value for one free retry (single use, 72 hours, same wallet, no new payment). Safety rejections and unclear failures after payment get no automatic retry and are logged for manual review (hello@forgemesh.io, quote the job id). Synchronous generate_image / generate_clean renders not finished within 85 seconds answer 504 and are not charged.
Install
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"forgemesh-imagegen": {
"command": "npx",
"args": ["-y", "forgemesh-imagegen"],
"env": {
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}
Claude Code
claude mcp add forgemesh-imagegen -- npx -y forgemesh-imagegen
Then set the env var:
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
- ForgeMesh — ecosystem overview
- npm
- x402 Protocol
License
MIT © ForgeMesh Labs
Frequently asked questions
What is imagegen-mcp MCP Server?
AI image generation MCP — generate, bg removal, 4x upscale, or full pro pipeline. USDC/Base.
How do I install imagegen-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. imagegen-mcp MCP Server runs locally from the npm package forgemesh-imagegen with the command npx -y forgemesh-imagegen@2.1.3.
Is imagegen-mcp MCP Server free and open source?
Yes. imagegen-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does imagegen-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for imagegen-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does imagegen-mcp MCP Server provide?
imagegen-mcp MCP Server provides 6 tools, including generate_clean, generate_hd, generate_image, and generate_pro. See the full tool list for descriptions and parameters.
How is imagegen-mcp MCP Server's trust score calculated?
imagegen-mcp MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.