@quackai/q402-mcp 0.4.7 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ command = "npx"
|
|
|
76
76
|
args = ["-y", "@quackai/q402-mcp"]
|
|
77
77
|
startup_timeout_sec = 20.0
|
|
78
78
|
env = {
|
|
79
|
-
# Two-key model
|
|
79
|
+
# Two-key model: set whichever applies — both is best.
|
|
80
80
|
# Auto-routing rule (same for q402_pay AND q402_batch_pay):
|
|
81
81
|
# chain="bnb" + Q402_TRIAL_API_KEY set → Trial (free sponsored)
|
|
82
82
|
# anything else → Multichain (paid 8-chain)
|
|
@@ -139,7 +139,7 @@ By default the MCP server operates in **sandbox mode**: `q402_pay` returns a ran
|
|
|
139
139
|
To enable real on-chain transactions, the resolved API key must be live (`q402_live_*`), `Q402_PRIVATE_KEY` must be set, and `Q402_ENABLE_REAL_PAYMENTS=1`:
|
|
140
140
|
|
|
141
141
|
```bash
|
|
142
|
-
# Two-key model
|
|
142
|
+
# Two-key model — set whichever applies. Both is best.
|
|
143
143
|
# Auto-routing (same for q402_pay AND q402_batch_pay):
|
|
144
144
|
# chain="bnb" + Q402_TRIAL_API_KEY set → Trial (free sponsored)
|
|
145
145
|
# anything else → Multichain (paid 8-chain)
|
|
@@ -150,7 +150,7 @@ Q402_TRIAL_API_KEY=q402_live_... # BNB-only sponsored Trial key (from
|
|
|
150
150
|
Q402_MULTICHAIN_API_KEY=q402_live_... # paid 8-chain key (per-chain Gas Tank)
|
|
151
151
|
|
|
152
152
|
# Legacy fallback. Used for both scopes when the two above are unset —
|
|
153
|
-
#
|
|
153
|
+
# single-env setups (only Q402_API_KEY set) keep working unchanged.
|
|
154
154
|
Q402_API_KEY=q402_live_...
|
|
155
155
|
|
|
156
156
|
Q402_PRIVATE_KEY=0xabc... # signer for the payer EOA
|
|
@@ -182,7 +182,7 @@ Combined with the `confirm: true` argument the tool requires, this means the mod
|
|
|
182
182
|
|---|---|---|
|
|
183
183
|
| `Q402_TRIAL_API_KEY` | live-pay (BNB) | BNB-only sponsored Trial key. Free at https://q402.quackai.ai/event. Auto-routed for `chain="bnb"` in both `q402_pay` and `q402_batch_pay` (≤5 recipients) when set. 6+ recipient BNB batches return `status="ambiguous"` so the agent can ask the user how to split. |
|
|
184
184
|
| `Q402_MULTICHAIN_API_KEY` | live-pay (8-chain) | Paid 8-chain key. Get one at https://q402.quackai.ai/payment. Auto-routed for non-BNB chains AND for BNB when no Trial key is set. Cap: 20 recipients per batch. |
|
|
185
|
-
| `Q402_API_KEY` | legacy fallback |
|
|
185
|
+
| `Q402_API_KEY` | legacy fallback | Single-env legacy path. Used for both scopes when the two above are unset. Keep set if you only have one key. |
|
|
186
186
|
| `Q402_PRIVATE_KEY` | live-pay | Signer for the payer EOA. **Never share. Never paste in chat.** |
|
|
187
187
|
| `Q402_ENABLE_REAL_PAYMENTS` | live-pay | Set to `1` to opt in. Any other value (or unset) → sandbox. |
|
|
188
188
|
| `Q402_MAX_AMOUNT_PER_CALL` | optional | USD-equivalent cap. Defaults to `5`. |
|
package/dist/index.js
CHANGED
|
@@ -1233,7 +1233,7 @@ var RECEIPT_TOOL = {
|
|
|
1233
1233
|
|
|
1234
1234
|
// src/index.ts
|
|
1235
1235
|
var PACKAGE_NAME = "@quackai/q402-mcp";
|
|
1236
|
-
var PACKAGE_VERSION = "0.4.
|
|
1236
|
+
var PACKAGE_VERSION = "0.4.9";
|
|
1237
1237
|
function jsonText(value) {
|
|
1238
1238
|
return { type: "text", text: JSON.stringify(value, null, 2) };
|
|
1239
1239
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quackai/q402-mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"description": "MCP server for Q402 — gasless USDC, USDT, and RLUSD payments across 8 EVM chains, callable from Claude (Desktop / Code), OpenAI Codex CLI, and any other Model Context Protocol client.",
|
|
5
5
|
"mcpName": "io.github.bitgett/q402-mcp",
|
|
6
6
|
"keywords": [
|