Bonus Pink MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bonus Pink MCP Serveradd 50 points to card for jane@example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bonus Pink MCP Server
Remote MCP server that lets Bonus Pink sub-accounts operate their loyalty program from any AI agent (Claude, Cursor, etc.): issue cards, add/subtract points, stamps and visits, redeem rewards, send push/SMS, read statistics — 84 tools for sub-accounts, plus 24 agency-only tools that appear automatically when connected with the Bonus Pink agency key.
Stateless Cloudflare Worker. Your API key travels with each request and is never stored on the server.
End-user guide for sub-accounts: USAGE.md — getting an API key, connecting each client, example prompts, troubleshooting.
Connect (sub-accounts)
Get your API key from the Bonus Pink dashboard (Settings → Integrations / API).
Claude Code
claude mcp add --transport http bonuspink https://mcp.bonuspink.com \
--header "Authorization: Bearer YOUR_API_KEY"claude.ai / clients without custom headers — put the key in the URL instead:
https://mcp.bonuspink.com/k/YOUR_API_KEYGeneric MCP JSON (Cursor, etc.)
{
"mcpServers": {
"bonuspink": {
"url": "https://mcp.bonuspink.com",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Then ask your agent things like: "Find the card for customer jane@example.com and add 50 points" or "How much revenue did we do last month?"
Related MCP server: LINE OA MCP Ultimate
Development
npm install
npm run gen # openapi.json → src/tools.gen.mjs (108 tools)
npm test # generator sanity check
npm run dev # local server on :8787
npm run deploy # gen + test + wrangler deployTo refresh the API surface: re-download the spec and regenerate.
curl -s https://api.digitalwallet.cards/api/v2/docs/json -o openapi.json && npm run gen && npm testHow it works
scripts/gen-tools.mjsgenerates one MCP tool per OpenAPI operation (path + query + body merged into one flat input schema). Marketplace endpoints are excluded (separateX-App-Tokenauth, not for sub-accounts).src/index.tsis a stateless JSON-RPC handler:initialize,tools/list,tools/call,ping. It proxies calls tohttps://api.digitalwallet.cardswith the caller'sX-API-Keyand passes API responses (including errors) through verbatim so the agent can self-correct.Agency detection: one probe of
GET /api/v2/profile/agencyper key (cached in-memory). Agency-only tools (companies, white-label branding, tariffs) are hidden from sub-account keys and return an error if called anyway.
Custom domain
mcp.bonuspink.com is attached via routes in wrangler.jsonc (custom_domain). The workers.dev URL also still works: https://bonus-pink-mcp.mecaca.workers.dev
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Open Loyalty programs: members, points, rewards, campaigns, tiers and transactions.
Pink Agentic AI Payments: AI agents pay within spending rules (budgets, caps, approval). Sandbox.
Secure gift, flower, occasion, reminder, approval, and growth tools for personal AI agents.
Prepaid balance for AI agents: one key, 4,900+ tools your agent can run today, caps, receipts.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to list, search, create, update, mark used, and delete vouchers, coupons, gift cards, and loyalty cards via a token-authenticated JSON API.6MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to run one or many LINE Official Accounts by natural conversation, covering broadcasts, Flex and tappable Rich Messages, rich menus, coupons, audiences, insights, webhooks, LIFF apps, and LINE Shopping through 51 tools. It handles image hosting, pre-flight quota validation, quiet-hour warnings, and Thai-localized templates, so routine account operations and storefront management happen without leaving the AI host.1,491 npmMIT
- AlicenseNot gradedqualityAmaintenanceLets AI agents run one or many LINE Official Accounts through natural conversation, covering broadcasts, Flex and tappable Rich Messages, Thai-ready rich menus, coupons, audiences, insights, and LINE Shopping via 51 tools. It adds pre-flight quota and quiet-hour guardrails, multi-OA switching and fan-out, and delivers assets like images and rich-menu graphics without external hosting or setup.1,491 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to run one or many LINE Official Accounts through natural language, covering broadcasts, Flex and tappable Rich Messages with zero-setup image hosting, rich menus, audiences, coupons, insights, LIFF, webhooks, and LINE Shopping storefront operations. Includes 51 tools plus pre-flight quota and quiet-hour guardrails, Thai-localized templates, and multi-account switching for agencies.1,491 npmMIT