forgemesh-imagegen
OfficialThe forgemesh-imagegen server provides AI image generation with optional background removal and 4x upscaling, with payments handled automatically in USDC on Base mainnet via the x402 protocol — no API key or subscription required (only a WALLET_PRIVATE_KEY with USDC balance).
Tools:
generate_image— Generate an AI image from a text prompt ($0.10 USDC). Supports an optionalaffiliate_idfor Pyrimid attribution.generate_clean— Generate an image with background automatically removed (transparent PNG) ($0.15 USDC).generate_hd— Generate and 4x upscale an image to high resolution (up to 4096×4096) ($0.20 USDC).generate_pro— Full pipeline: generate, remove background, and 4x upscale ($0.30 USDC).
All tools accept:
prompt(required) — text description of the imageaspect(optional) —1:1(default),16:9,9:16, or4:3
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@forgemesh-imagegengenerate an image of a futuristic city skyline at sunset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| Standard text-to-image generation | $0.25 USDC |
| Generate + background removal | $0.35 USDC |
| Premium generate + 4x upscale (HD) | $0.50 USDC |
| Top-tier generate + bg removal + 4x upscale | $0.75 USDC |
All tools accept prompt (required) and aspect (optional: 1:1, 16:9, 9:16, 4:3).
generate_image also accepts affiliate_id for Pyrimid attribution, or uses PYRIMID_AFFILIATE_ID from the environment.
Related MCP server: zora-mcp-server
Install
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"forgemesh-imagegen": {
"command": "npx",
"args": ["-y", "forgemesh-imagegen"],
"env": {
"WALLET_PRIVATE_KEY": "0x...",
"PYRIMID_AFFILIATE_ID": "af_your_id"
}
}
}
}Claude Code
claude mcp add forgemesh-imagegen -- npx -y forgemesh-imagegenThen set the env var:
export WALLET_PRIVATE_KEY=0x...Requirements
A Base mainnet wallet private key with USDC
$1 USDC ≈ 4 base images, 2 clean, 2 HD, or 1 pro
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_image(prompt="a red panda in a spacesuit", affiliate_id="af_your_id")
→ routes through Pyrimid product 3 with no extra cost to the caller
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 + HDHow 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
Links
ForgeMesh — ecosystem overview
License
MIT © ForgeMesh Labs
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceKronos crypto signals + trade decisions + 819 automation prompts. x402 micropayments, USDC/Base.Last updated111341MIT
- Alicense-qualityDmaintenanceAn MCP server that enables AI-driven on-chain interactions with the Zora Protocol on Base, supporting token queries, swaps, and transfers via natural language.Last updated382MIT
- Alicense-qualityAmaintenanceMCP server for generating, editing, and processing images via multiple providers including Kilo, OpenRouter, OpenAI, and Gemini, with local tools for background removal, resizing, and cropping.Last updated542MIT
- AlicenseAqualityAmaintenanceAn MCP server that enables AI agents to access paid AI inference and web tools via HTTP 402 micropayments in USDC on Base, using the agent's wallet as identity.Last updated14543MIT
Related MCP Connectors
MCP server for Flux AI image generation
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
MCP server for NanoBanana AI image generation and editing
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/forgemeshlabs/imagegen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server