@curless/sinocare-demo
v0.78.0
Published
Sinocare storefront MCP — the buyer side of an agentbank demo. Seven payment rails plus the Curless buyer wallet.
Readme
@curless/sinocare-demo
A demo "Sinocare" storefront MCP server. Browses Sinocare's blood-glucose range (meters, CGM sensors, test strips, lancets, accessories) and buys them through agentbank acquiring — ACP, UCP, x402, RLUSD, MPP, Skyfire, or the buyer's own Curless wallet. Stripe test mode and testnets: for demos and testing only.
Use (Claude Desktop / any MCP client)
{
"mcpServers": {
"sinocare": {
"command": "npx",
"args": ["-y", "@curless/sinocare-demo"],
"env": {
"AGENTBANK_AGENT_TOKEN": "agb_test_..."
}
}
}
}AGENTBANK_AGENT_TOKEN is an agentbank agent key (agb_...) with agent:execute.
The server talks to the gateway at https://mcp.curless.ai and the buyer wallet
at https://wallet.curless.ai by default — no need to configure either.
Tools
list_sinocare_products— Sinocare's blood-glucose range as a card: meters, CGM sensors, test strips, lancets and accessories (filter bycategory:meter·cgm·analyzer·strips·lancets·accessory), each with its EUR price.get_sinocare_product— one product by sku.buy_sinocare_product_acp— buy over ACP (Agentic Commerce Protocol): the merchant backend (mcp.curless.ai/sinocare) opens a merchant-quoted checkout session, then this buyer agent completes it with its own card token — a real charge on the configured rail. The buyer never touches the merchant's keys.buy_sinocare_product_ucp— buy over UCP (Universal Commerce Protocol): same card settlement, but the merchant returns a signed AP2 CartMandate and the buyer completes with an AP2 PaymentMandate bound to it (programmatic, no human handoff).buy_sinocare_product_x402— buy over x402: the merchant prices it in USDC; the buyer signs an EIP-3009 authorization and pays on-chain.list_my_orders— your orders + their status: read from your signed-in Curless wallet, otherwise the receipts this install recorded when its own payments settled (never the shop's whole order book).request_refund— open a refund request on one of your orders (Sinocare then approves/rejects).authorize_agent_budget/agent_budget_status/revoke_agent_budget— AP2 delegated buying: sign a standing IntentMandate (a per-order spend cap + time window) once, andbuy_sinocare_product_ucpcompletes within it without a per-order confirm; over-cap is rejected by the gateway. (UCP path only.)x402_buyer_wallet— show the wallet that pays x402 (USDC) orders + its balance, and where to top it up.
Optional env:
AGENTBANK_API_URL— override the gateway base URL (defaulthttps://mcp.curless.ai); set tohttp://localhost:3000for local dev.AGENTBANK_WALLET_URL— override the buyer wallet base URL (defaulthttps://wallet.curless.ai):wallet_*sign-in and the wallet's hosted pages. A separate service — moving the gateway does not move it.AGENTBANK_PAYMENT_TOKEN— the card token the buyer pays with (defaultpm_card_visa, the Stripe sandbox test card).
