Bonus Pink Server
БесплатноНе проверенEnables Bonus Pink sub-accounts to manage loyalty programs via AI agents, offering 84 tools for card issuance, points, stamps, visits, rewards, and communicatio
Описание
Enables Bonus Pink sub-accounts to manage loyalty programs via AI agents, offering 84 tools for card issuance, points, stamps, visits, rewards, and communications.
README
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_KEY
Generic 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 [email protected] and add 50 points" or "How much revenue did we do last month?"
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 deploy
To 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 test
How 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
Установка Bonus Pink Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/MK-Chan-MECACA/bonus-pink-mcpFAQ
Bonus Pink Server MCP бесплатный?
Да, Bonus Pink Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Bonus Pink Server?
Нет, Bonus Pink Server работает без API-ключей и переменных окружения.
Bonus Pink Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Bonus Pink Server в Claude Desktop, Claude Code или Cursor?
Открой Bonus Pink Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Bonus Pink Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
