Skip to main content
Glama

bip.ad

Build in public. Bid to win. bip.ad is an open launch board for builders. You list a product through your AI agent over MCP, then bid openly for a seat on three boards: Daily, Weekly and Monthly. All three lock at 03:12 ICT every night. Read upside down, "3:12" looks like BIP.

  • Ranking is pay-to-win and the auction is all-pay: every confirmed bid is collected, with no refund for being outbid and no guaranteed results.

  • When bids are equal, including zero, ties are broken by the owner's successful referrals, then valid unique clicks, then valid unique views.

  • 80% of each board's bid revenue funds that board's ads. Referrers earn a 5% commission. Commission can be spent on bids or paid out manually on days 01–10 of each month.

Status: MVP (Phases 1–3 of the decision brief). Payments run in simulated mode, so no money moves. Video, social and ads adapters are mocks. Live payments need PAYMENT_MODE=live and LIVE_PAYMENTS=true, plus owner and merchant approval.

Stack

Cloudflare Workers, Hono, D1 (data and double-entry ledger), KV (OAuth and sessions), Cron Triggers, @cloudflare/workers-oauth-provider, and @modelcontextprotocol/sdk (Streamable HTTP). Tests run on Vitest with @cloudflare/vitest-pool-workers.

Related MCP server: ChopChop MCP Server

Connect your agent

Add the MCP server https://<your-host>/mcp to Claude, ChatGPT or any MCP client. It signs you in with GitHub or Google over OAuth.

Tool

What it does

products.create / products.update / products.submit / products.get / products.list

Manage your products. Only MCP can create or edit them; the website has no create form.

pages.set_blocks / pages.preview / pages.publish

Build a versioned product page from widgets: hero, gallery, video, feature_grid, rich_text, call_to_action, pricing, testimonials, faq, founder_note, links, metrics.

boards.get

Live board with the next cutoff.

boosts.quote / boosts.checkout / boosts.status

Quote a bid increment, get a checkout URL that the human pays, and track it.

referrals.get_link / referrals.stats

Your referral link and its results.

wallet.balance / wallet.apply_to_bid

Commission wallet balances, and spending them on a bid.

payouts.request / payouts.status

Request a manual payout of available commission.

analytics.product

Valid views, clicks and standings for a product.

The operator MCP at /operator/mcp is authenticated with a separate bearer secret. It covers moderation, boards.freeze, locks.run, cohorts, payment reviews (payments.reviews, payments.resolve_review), payout batches, recording manual transfers, finance.reconcile, and the mock media and ads tools.

Develop

pnpm install
cp .dev.vars.example .dev.vars        # fill in OAuth apps, SESSION_SECRET, OPERATOR_TOKEN
pnpm db:migrate:local
pnpm dev                              # http://localhost:8787
pnpm typecheck && pnpm test

Set the OAuth callback URLs to https://<host>/auth/github/callback and https://<host>/auth/google/callback.

Deploy

Two environments live in wrangler.jsonc:

Environment

Branch

Worker

URL

Config

Staging

dev

bip-ad

https://bip-ad.digitop-vn.workers.dev

top level (--env="")

Production

main

bip-ad-production

https://bip.ad, https://www.bip.ad

env.production (--env production)

Staging auto-approves products that pass screening. Production does not (AUTO_APPROVE_PRODUCTS=false): every submission and edit waits for the operator's agent to review it over /operator/mcp (products.pending, then products.moderate).

Each environment has its own D1 database, KV namespace and secrets. CI (.github/workflows/ci.yml) runs typecheck and tests on every push and PR. A push to dev or main then applies D1 migrations and deploys the matching environment. The repository needs the GitHub secrets CLOUDFLARE_API_TOKEN (Workers Scripts, D1, Workers KV and Workers Routes edit, plus Zone read for bip.ad) and CLOUDFLARE_ACCOUNT_ID.

One-time setup for a new environment:

wrangler d1 create bip-ad-production && wrangler kv namespace create bip-ad-oauth-production   # put the ids in env.production
pnpm db:migrate:production
for s in SESSION_SECRET OPERATOR_TOKEN; do wrangler secret put $s --env production; done
scripts/set-oauth-secrets.sh production   # hidden prompts for GitHub/Google OAuth; stores them in `ak secrets` and on the worker
pnpm deploy:production

Manual deploys: pnpm deploy:staging / pnpm deploy:production, with pnpm db:migrate:remote / pnpm db:migrate:production first. pnpm db:seed:remote seeds staging only (products labelled "sample"; their boosts are not revenue). Do not seed production.

Decisions

Architecture and money rules are recorded in docs/ADR/:

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to automate the full affiliate e-commerce workflow across Shopee and TikTok Shop, including product hunting, seller auditing, review mining, and generating video storyboards and VideoFactory projects. It provides nine MCP tools for search, intelligence extraction, database queries, and system health checks.
    2
    9
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants such as Claude and Cursor to discover and verify agents, negotiate offers, execute conditional settlements, and verify receipts and complete multi-agent workflows through eight MCP tools.
    12 PyPI
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to browse a print-on-demand catalogue, create campaigns with custom designs, quote and place unpaid orders, and track shipments through OAuth-authenticated MCP tools.
    12
    MIT