Model Context Protocol
Make product ads from Claude, ChatGPT or Cursor
The AI Ad Gen MCP server lets Claude, ChatGPT, Cursor and other assistants write ad angles and draw ad images on your account, with the same models, prices, screening and refunds as the studio.
Server URL (Streamable HTTP)
https://aiadgen.net/mcp
Tools to write, draw and edit ads
list_models- The 3 drawing models with their sizes and credits, the angle price and the 4 placements.
quote_price- Credits for the angles plus a number of ads on one model and size, or the full price table.
write_ad_angles- Step 1: screens a product photo (a link or an attached file) and your brief, then writes 4 ad angles with Gemini 3 Flash. 9 credits.
draw_ads- Step 2: draws ads for the angles and placements you pick, up to 8 at a time, and waits for them. Each ad costs its model's price.
edit_ad- Changes a finished ad's text, scene or size as a new ad. Same credits as a new ad on that model.
get_job- Stage, angles and result link for one job.
list_jobs- Your latest jobs with their results.
get_balance- Credits left.
The assistant can quote a job before it starts. Credits are taken when a job starts, and a job that fails is refunded automatically.See credit prices
Connect Claude, Cursor or ChatGPT
Choose the app your agent runs in, copy its config, and approve the sign-in page it opens.
In claude.ai or Claude Desktop open Settings → Connectors → Add custom connector, name it AI Ad Gen and paste the URL. Press Connect and approve access.
https://aiadgen.net/mcp
Your browser opens AI Ad Gen: sign in (or create a free account) and press Allow access. The assistant only ever sees a token, never your password.
Sign-in and the credits an agent spends
- The first request from your client comes back 401, with a link to this server's OAuth metadata.
- The client signs itself up, by Client ID Metadata Document or dynamic registration, and starts a PKCE sign-in in your browser.
- You sign in on AI Ad Gen and approve that one app on the consent screen.
- After you approve, the client holds a token that works on https://aiadgen.net/mcp alone; it renews itself and you can revoke it whenever you like.
When an agent's ad goes wrong
Does the MCP server cost extra?
No. Connecting is free; angles and ads cost the same credits as on the site.
Which models can the assistant use?
The 3 drawing models AI Ad Gen offers: Nano Banana 2.1, GPT Image 2, Nano Banana Pro. draw_ads uses GPT Image 2 at 2K unless you name another, and list_models shows every size with its credits. Angles always come from Gemini 3 Flash.
What happens if an ad fails or my balance is too low?
Credits are taken when a job starts and come back automatically if it fails. If your balance is too low, the tool says so, links the pricing page and charges nothing; in a batch, the ads your balance covers still start and the reply says which did not.
Is my product photo checked?
Yes. A photo link or attached file is copied into your account and screened, and the brief is screened before anything is generated, exactly as on the site. A refused request costs nothing; the Acceptable Use Policy lists what is not allowed.
My client keeps asking me to sign in. What do I do?
Remove the server from the client and add it again so it starts a fresh sign-in, then press Allow access on AI Ad Gen.
Where do the ads go?
Each ad is saved privately to My ad sets for 30 days, and the assistant gets a direct link once it is done. If an ad is still drawing, the assistant can check it with get_job.
Last updated: