The MCP-powered ad network for AI-native applications.
Four pillars:
- Lumi SDK — Publisher monetization SDK. Drop a script tag or call the MCP server to serve contextual ads inside any AI app.
- SuperBoost — Self-serve advertiser platform. Create campaigns, set budgets, and target by intent, MCP tool, host app, and region.
- BBX — Programmatic exchange. OpenRTB 2.6 compliant first-price auctions for DSPs, agencies, and trading desks.
- Benna AI — Optimization engine. Scores every bid in real time using MCP signals (intent, tool, host, session length, region).
9 serverless functions on Vercel with dual-mode architecture:
| API | Purpose |
|---|---|
/api/mcp |
JSON-RPC 2.0 MCP server (Lumi SDK) |
/api/rtb |
OpenRTB 2.6 exchange (BBX) |
/api/benna |
Benna AI inference + engine status |
/api/campaigns |
Campaign CRUD, review queue, pause/resume |
/api/track |
Event tracking (impression, click, close, video_complete, skip) |
/api/billing |
Stripe Checkout deposits, Connect payouts, transaction history |
/api/auth |
JWT authentication (signup, login, demo) |
/api/stats |
Reporting + daily ETL aggregation |
/api/stripe-webhook |
Stripe webhook relay |
Every endpoint works in two modes: Production (Supabase + Stripe) and Demo (in-memory stores, zero external deps). The demo mode produces real traceable numbers — same response shapes, same budget enforcement, same Benna scoring.
# Clone and install
git clone https://github.com/andydasouth/boostboss.git
cd boostboss
npm install
# Run tests (no env vars needed — everything runs in demo mode)
npm test
# Local dev server (requires Vercel CLI)
npx vercel devOpen http://localhost:3000/demo to see the SDK demo with live Benna scoring.
Copy .env.example to .env.local and fill in your values:
cp .env.example .env.localRequired for production:
| Variable | Description |
|---|---|
SUPABASE_URL |
Supabase project URL |
SUPABASE_ANON_KEY |
Supabase anonymous key |
SUPABASE_SERVICE_ROLE_KEY |
Supabase service role key |
JWT_SECRET |
32+ char random string for HMAC-signed JWTs |
STRIPE_SECRET_KEY |
Stripe secret key |
STRIPE_WEBHOOK_SECRET |
Stripe webhook signing secret |
BOOSTBOSS_BASE_URL |
Public URL (e.g., https://boostboss.ai) |
Optional:
| Variable | Default | Description |
|---|---|---|
BBX_TAKE_RATE |
0.15 |
Exchange take rate (15%) |
BBX_MIN_PAYOUT |
100 |
Minimum payout threshold (USD) |
BBX_SEAT_AUTH_REQUIRED |
false |
Require Bearer auth on RTB POST |
- Create a Supabase project at supabase.com
- Run
db/deploy.sqlin the SQL Editor to create tables, RPCs, and indexes - Enable
pg_cronextension:create extension if not exists pg_cron with schema extensions; - Schedule daily jobs (commands are in
db/deploy.sqlcomments):- Daily spend reset:
0 0 * * *UTC - Stats aggregation:
5 0 * * *UTC
- Daily spend reset:
# Link to Vercel project
npx vercel link
# Set environment variables
npx vercel env add SUPABASE_URL
npx vercel env add SUPABASE_ANON_KEY
# ... etc
# Deploy
git push origin mainThe project auto-deploys on push via Vercel Git integration.
npm testRuns 142 tests across 6 test suites: auth, RTB, billing, campaigns, track, and MCP. All tests run in demo mode (no external services needed).
api/ — Vercel serverless functions
public/ — Static files (HTML pages, SDK, IAB compliance)
sdk.js — Lumi SDK (drop-in publisher script)
demo.html — Interactive SDK demo with Benna inspector
advertiser.html — SuperBoost advertiser dashboard
developer.html — Lumi publisher dashboard
admin.html — Campaign review admin panel
exchange.html — BBX exchange marketing page
playground.html — API playground
status.html — Service health dashboard
docs.html — API documentation
openapi.json — OpenAPI 3.1 spec
sellers.json — IAB sellers.json
ads.txt — IAB ads.txt
db/ — Database migrations
tests/ — Test suites
- Exchange take rate: 15% of cleared spend (configurable via
BBX_TAKE_RATE) - Publisher share: 85% of cleared spend
- Benna API licensing: $0.002/inference for third-party mediation stacks
- Production: boostboss.ai
- Benna AI: benna.ai
- API Docs: boostboss.ai/docs
- OpenAPI Spec: boostboss.ai/openapi.json