AI-powered advertising campaign planning and creative generation system built with FastMCP, Claude Agent SDK, and mcp-ui.
Extract structured campaign parameters from natural language descriptions.
Generate comprehensive campaign reports with market insights, audience analysis, and platform strategies.
Create two distinct ad copy variations optimized for your target platform and audience.
Generate image variations for campaigns with interactive selection.
Combine selected images with ad copy for complete creative assets.
Store and retrieve campaign data with PostgreSQL persistence.
- Node.js 20+
- Docker (for PostgreSQL)
- AWS Account with Bedrock access (for Claude Agent SDK)
npm installcp .env.example .envConfigure your .env file with:
- AWS credentials for Bedrock
- PostgreSQL connection (or use Docker)
- Optional: Tavily API key for enhanced research
docker-compose up -d postgresnpm run devServer starts at http://localhost:8080/mcp
npm run mcp:inspect| Tool | Description |
|---|---|
parseAdRequirements |
Parse natural language campaign requirements |
conductAdResearch |
Generate comprehensive campaign research reports |
generateAdCopy |
Create ad copy variations |
generateAdImages |
Generate image variations |
generateMixedMediaCreative |
Combine images and copy |
getCampaign |
Retrieve stored campaign data |
├── src/
│ ├── index.ts # FastMCP server entry
│ ├── tools/ # MCP tool definitions
│ ├── services/ # Agent services (Claude SDK)
│ ├── utils/ # UI factories (mcp-ui)
│ ├── schemas/ # Zod validation schemas
│ └── plugins/ # Claude Agent skills
├── client-ui/ # Next.js chat interface
├── tests/ # Unit and property tests
├── docs/ # Documentation
└── .kiro/specs/ # Feature specifications
- MCP:
http://localhost:8080/mcp - SSE:
http://localhost:8080/sse - Health:
http://localhost:8080/health
npm run dev # Start with hot reload
npm run build # Build for production
npm start # Run production build
npm test # Run tests
npm run typecheck # Type checking
npm run mcp:inspect # Visual debuggingSee DEPLOYMENT.md for Coolify/Docker deployment instructions.
Pre-built images available at:
ghcr.io/feedmob/feedmob_adpilot_mcp:latestghcr.io/feedmob/feedmob_adpilot_mcp-ui:latest
- FastMCP - MCP server framework
- @mcp-ui/server - Interactive UI components
- @anthropic-ai/claude-agent-sdk - Claude Agent integration
- Zod - Runtime type validation
- PostgreSQL - Campaign data persistence
- Vitest + fast-check - Testing
The client-ui/ directory contains a Next.js chat interface that connects to this MCP server. See client-ui/README.md for details.
MIT