ad-generator-mcp
v0.2.0
Published
MCP server that lets Claude Code autonomously create ad campaigns — generate copy, render templates to images, and save assets to the project library.
Readme
Ad Generator MCP Server
MCP server that lets Claude Code autonomously create ad campaigns — generate copy, render templates to images, and save assets to the project library.
Setup
Install dependencies:
cd mcp && npm installBuild:
npm run buildCopy
.env.exampleto.envand fill in your credentials.Configure Claude Code by filling in the env values in
.mcp.jsonat the project root.
Available Tools
| Tool | Description |
|------|-------------|
| list_projects | List all ad projects |
| create_project | Create a new ad project |
| delete_project | Delete a project and all its data |
| list_ad_types | List available ad templates with field schemas |
| generate_copy | Generate ad copy using AI |
| translate_copy | Translate ad copy to another language |
| render_ad | Render a template to PNG/JPEG |
| save_generation | Save an ad configuration to a project |
| upload_asset | Upload a rendered image to storage |
| list_generations | List saved ads for a project |
| get_asset_url | Get a signed download URL for an asset |
| bulk_generate | Render multiple ad variations and save them |
Updating Template Schema
When templates change, regenerate the schema:
npm run extract-schema # from project root
cd mcp && npm run build