@curless/sinocare-demo
v0.62.2
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 products worldwide (Alps & Japan ski; Mediterranean, Indian Ocean, Caribbean & Americas sun) and books them through agentbank acquiring (ACP). For demos/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 https://mcp.curless.ai by default — no need to configure it.
Tools
list_sinocare_products— browse products worldwide (Alps & Japan ski; Mediterranean, Indian Ocean, Caribbean & Americas sun — filter by country / ski|sun); shows the per-person/week price.get_sinocare_product— one product by sku.buy_sinocare_product_acp— book 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— book 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— book over x402: the merchant prices it in USDC; the buyer signs an EIP-3009 authorization and pays on-chain.list_my_orders— your bookings + their status.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-booking spend cap + time window) once, andbuy_sinocare_product_ucpcompletes within it without a per-booking confirm; over-cap is rejected by the gateway. (UCP path only.)x402_buyer_wallet— show the wallet that pays x402 (USDC) bookings + 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_PAYMENT_TOKEN— the card token the buyer pays with (defaultpm_card_visa, the Stripe sandbox test card).
