@curless/agentbank-mcp 0.0.14 → 0.0.15

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.
Files changed (2) hide show
  1. package/README.md +15 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -35,7 +35,12 @@ npx @curless/agentbank-mcp
35
35
  - `get_agent_card` — A2A / ACP compatible agent card
36
36
  - `invoke_skill` — call a skill (`search_availability`, `book_room`, `order_item`, …)
37
37
 
38
- **PaymentIntents** (the money primitivecapture moves real money ⚠️)
38
+ **ACP checkout** (the buyer's main path discovers, orders, and pays in one go)
39
+ - `acp_checkout` ⚠️ — open an ACP checkout session for a merchant + items and
40
+ complete it with a card token (Stripe Shared Payment Token; sandbox default
41
+ `pm_card_visa`). Real money on capture.
42
+
43
+ **PaymentIntents** (the rail-agnostic money primitive — capture moves real money ⚠️)
39
44
  - `create_payment_intent` — create a PI; pass `idempotencyKey` for safe retries
40
45
  - `get_payment_intent` / `list_payment_intents` — status + history
41
46
  - `capture_payment_intent` ⚠️ — charge the rail and book the ledger
@@ -45,8 +50,16 @@ npx @curless/agentbank-mcp
45
50
  - `get_payment_link` — view a link before paying
46
51
  - `pay_payment_link` ⚠️ — pay a shared link (mints a PI)
47
52
 
53
+ **Wallet & paywalls** (this agent's own budget)
54
+ - `get_my_balance` — this agent's wallet budget (available / held)
55
+ - `top_up` — get a hosted top-up link to fund this agent's wallet
56
+ - `pay_payment_gate` ⚠️ — pay a `payment_required` gate from a paywalled MCP
57
+ tool (drives the MPP two-step charge), so the gated tool runs
58
+
48
59
  **Resources** (read-only / admin)
49
- - `get_wallet_balances` — Curless balances (fiat + crypto)
60
+ - `get_wallet_balances` — **admin/treasury only**: the org's Curless balances
61
+ (fiat + crypto). A plain `agent:execute` token gets 403 here — use
62
+ `get_my_balance` for the agent's own budget.
50
63
  - `list_agents` / `get_agent` / `update_agent` — your spending entities
51
64
  - `list_customers` / `get_customer` / `update_customer` — end users / payers
52
65
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curless/agentbank-mcp",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "MCP server for agentbank — let your AI agent discover Curless merchants and pay them.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,8 +16,8 @@
16
16
  "dependencies": {
17
17
  "@modelcontextprotocol/sdk": "^1.0.4",
18
18
  "zod": "^3.23.8",
19
- "@curless/agentbank-core": "^0.1.1",
20
- "@curless/agentbank-mcp-pay": "^0.6.5"
19
+ "@curless/agentbank-core": "^0.2.1",
20
+ "@curless/agentbank-mcp-pay": "^0.6.6"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^22.10.1",
@@ -40,7 +40,7 @@
40
40
  "repository": {
41
41
  "type": "git",
42
42
  "url": "git+https://gitlab.com/robin-ruan/agentbank.git",
43
- "directory": "packages/mcp-server"
43
+ "directory": "packages/sdks/mcp-server"
44
44
  },
45
45
  "author": "robin",
46
46
  "scripts": {