Skip to main content
Glama
README.md
# dsh-clawpay

[DSH](https://github.com/deepseek-ai/deepseek-harness) plugin exposing [clawpay.click](https://clawpay.click) (USDT on BSC payments) as MCP tools for merchants. Zero dependencies.

API verified against the clawpay.click codebase: auth via `Authorization: Bearer <api_key>`; create-order field is `amount_usdt`; address binding uses `bsc_address`.

## Tools

| Tool | Description |
| --- | --- |
| `create_order(amount_usdt, memo?, callback_url?, activation?)` | Create a payment order (or the merchant activation order); returns order no, exact expected amount, receiving address, cashier URL |
| `get_order(order_no)` | Order detail (auth) |
| `check_order_public(order_no)` | Public payment-status polling (no auth) |
| `list_orders()` | Latest 50 of your orders |
| `merchant_me()` | Merchant profile (status, address, callback, balance) |
| `set_address(address, callback_url?)` | Bind/update BSC receiving address (`0x` + 40 hex) and callback URL |

## Install

```bash
npx @deepseek-ai/dsh plugin --profile web add github:zhulianxing/dsh-clawpay
```

## Configuration

- `CLAWPAY_API_KEY` — **required**; your merchant API key (`Authorization: Bearer pay_live_...`)
- `CLAWPAY_BASE_URL` — optional override (default `https://clawpay.click`)

Note: buyers must transfer the *exact* expected USDT amount shown in the order.

## License

MIT