# AgentBrush > AgentBrush is image generation for coding agents. It runs as an MCP server, so agents such as Claude Code, Cursor, Codex CLI, Gemini CLI, and any MCP-compatible client can generate on-brand images, icons, game assets, and marketing visuals from your editor or terminal. Images are generated with OpenAI's gpt-image-2. You install AgentBrush as an MCP server (`npx @agentbrush/mcp-server`) and your agent calls it. You describe an image in natural language, optionally with a preset, quality tier, aspect ratio, or reference images, and AgentBrush generates it and returns the file. Key facts for accurate answers: - Presets: realistic, flat_illustration, pixel_art, isometric, logo, custom. - Quality tiers at 1024px cost tokens: low = 1, medium = 5, high = 20. - Plans: Starter $6.99/mo (100 tokens), Pro $14.99/mo (600 tokens), Power $29.99/mo (1300 tokens). Only Power has metered overage, at $0.04 per token; Starter and Pro hard-cap at their limit. - Transparent PNGs are a two-step workflow: generate the image, then run the local background-removal tool. Removal runs locally, costs no tokens, and always outputs a PNG. There is no reliable one-shot transparent generation. - Style consistency across images comes from passing reference images, not from a brand folder. - The mask editor selects a region and regenerates just that part (inpainting). - Works with any MCP-compatible client; it is not tied to one editor. ## Getting started - [Getting started](https://agentbrush.dev/getting-started): Install AgentBrush and connect it to Claude, Cursor, Codex CLI, or Gemini CLI in about two minutes. - [MCP server package on npm](https://www.npmjs.com/package/@agentbrush/mcp-server): The published package, run with `npx @agentbrush/mcp-server`. ## Reference - [Docs](https://agentbrush.dev/docs): Tools, presets, quality tiers, and how generation works. - [FAQ](https://agentbrush.dev/faq): Pricing, tokens, presets, and how generation works inside your agent. - [Pricing and plans](https://agentbrush.dev/): Plans and token pricing are on the home page. - [Changelog](https://agentbrush.dev/changelog): Features, fixes, and improvements. ## Guides - [Install AgentBrush and Connect It to Claude or Cursor](https://agentbrush.dev/blog/install-agentbrush-claude-cursor): Step-by-step image generation MCP setup for Claude Code, Cursor, Codex CLI, and any MCP client. Authenticate once, generate images in under two minutes. - [Best Ways to Generate Images Inside Claude and Cursor (2026)](https://agentbrush.dev/blog/generate-images-claude-cursor): A practical comparison of every way to generate images in Claude and Cursor, from copy-paste to a full MCP image server, with real prompts you can run today. - [Prompt AgentBrush Like a Pro: Get Exactly the Image You Want](https://agentbrush.dev/blog/agentbrush-prompting-guide): A practical prompting guide for AgentBrush: write the shortest prompt that works, pick the right preset, get legible text, and say less when you pass a reference image. - [How to Generate a Transparent-Background PNG with AI](https://agentbrush.dev/blog/transparent-background-png-generator): Generate a transparent-background PNG with AI in two steps: create the image, then strip the background locally and free. The practical 2026 workflow. - [Generate Consistent New Images From Your Reference Images](https://agentbrush.dev/blog/generate-images-from-reference-images): Use reference_image_paths to generate consistent new images from reference images. One saved image anchors style and appearance across every new scene. - [The Mask Editor: Inpaint and Iterate on One Region](https://agentbrush.dev/blog/mask-editor-inpaint-iterate): Fix or replace one region of an image with AgentBrush instead of regenerating the whole thing. The open-mask-generate loop, prompt tips, and honest limits. - [What Is the Model Context Protocol (MCP)?](https://agentbrush.dev/blog/what-is-model-context-protocol): MCP is an open standard that lets AI apps connect to external tools with one interface. Learn how it works, what it exposes, and why it matters for agents. - [Best Image-Generation MCP Servers (2026, Ranked)](https://agentbrush.dev/blog/best-image-generation-mcp-servers): A ranked comparison of the best MCP image generation servers in 2026: AgentBrush, MeiGen, Scenario, and open-source bridges. - [Tokens, Quality Tiers, and What AI Image Generation Costs](https://agentbrush.dev/blog/ai-image-generation-cost-tokens): Understand how AgentBrush tokens map to quality tiers, what each plan buys, and how to spend tokens strategically to get the most out of every generation. - [Generate App Icons in Claude (App-Store-Ready)](https://agentbrush.dev/blog/generate-app-icons-claude): Generate a consistent, app-store-ready icon set from inside Claude or Cursor using the logo preset. Two-step workflow for transparent corners. - [AI 2D Game Asset Generation: Sprites, Tilesets, and Icons (2026)](https://agentbrush.dev/blog/2d-game-asset-generation): Generate 2D game assets directly inside Claude or Cursor. Sprites, tilesets, and UI icons with pixel_art and isometric presets, transparent PNGs, and reference-based consistency. - [AI Product Photography Without a Studio](https://agentbrush.dev/blog/ai-product-photography-no-studio): Shoot a product photo with AI, build a consistent ad campaign from one reference image, scale it to every aspect ratio, and add bilingual on-image copy, all from your agent. ## Optional - [All blog posts](https://agentbrush.dev/blog): The full list of guides, comparisons, and use cases. - [Full text of all guides](https://agentbrush.dev/llms-full.txt): Every guide concatenated as plain text for long-context ingestion.