@curless/agentbank-merchant-mcp 0.0.2 → 0.0.4
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 +14 -13
- package/dist/card.generated.d.ts +2 -0
- package/dist/card.generated.d.ts.map +1 -0
- package/dist/card.generated.js +5 -0
- package/dist/card.generated.js.map +1 -0
- package/dist/index.js +89 -31
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
# @curless/agentbank-merchant-mcp
|
|
2
2
|
|
|
3
3
|
Merchant-side MCP server for [agentbank](https://gitlab.com/robin-ruan/agentbank).
|
|
4
|
-
Lets a merchant read **their own orders and
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
Lets a merchant read **their own orders and live Curless wallet balance** (real
|
|
5
|
+
funds settled into the merchant's Curless account) from an MCP client (Claude
|
|
6
|
+
Desktop).
|
|
7
7
|
|
|
8
|
-
Authenticated by
|
|
9
|
-
remote `/mcp` connector added by URL in claude.ai; this is the simple
|
|
10
|
-
path for Claude Desktop / stdio clients.) Kept separate from the
|
|
11
|
-
`@curless/agentbank-mcp` so the two personas don't share a tool surface.
|
|
8
|
+
Authenticated by your **Curless API key via env — no OAuth.** (The OAuth route is
|
|
9
|
+
the remote `/mcp` connector added by URL in claude.ai; this is the simple
|
|
10
|
+
token-based path for Claude Desktop / stdio clients.) Kept separate from the
|
|
11
|
+
buyer's `@curless/agentbank-mcp` so the two personas don't share a tool surface.
|
|
12
|
+
Renders the **same MCP Apps card** as the remote `/mcp` connector, with a markdown
|
|
13
|
+
table fallback for hosts without the card.
|
|
12
14
|
|
|
13
15
|
## Tools
|
|
14
16
|
|
|
15
17
|
- **`list_orders`** — this merchant's orders (what agents have paid), newest first.
|
|
16
|
-
- **`get_balance`** — balance per currency
|
|
17
|
-
Curless wallet.
|
|
18
|
+
- **`get_balance`** — the live Curless wallet balance per currency (available / frozen).
|
|
18
19
|
|
|
19
20
|
## Use (Claude Desktop `claude_desktop_config.json`)
|
|
20
21
|
|
|
@@ -26,7 +27,7 @@ path for Claude Desktop / stdio clients.) Kept separate from the buyer's
|
|
|
26
27
|
"args": ["-y", "@curless/agentbank-merchant-mcp"],
|
|
27
28
|
"env": {
|
|
28
29
|
"AGENTBANK_API_URL": "https://mcp.curless.ai",
|
|
29
|
-
"AGENTBANK_MERCHANT_TOKEN": "
|
|
30
|
+
"AGENTBANK_MERCHANT_TOKEN": "<your-curless-api-key>",
|
|
30
31
|
"AGENTBANK_MERCHANT_ID": "429488"
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -36,6 +37,6 @@ path for Claude Desktop / stdio clients.) Kept separate from the buyer's
|
|
|
36
37
|
|
|
37
38
|
| env | what |
|
|
38
39
|
| --- | --- |
|
|
39
|
-
| `AGENTBANK_API_URL` | agentbank base URL (default `http://localhost:3000`) |
|
|
40
|
-
| `AGENTBANK_MERCHANT_TOKEN` |
|
|
41
|
-
| `AGENTBANK_MERCHANT_ID` | your merchant id, e.g. `429488` |
|
|
40
|
+
| `AGENTBANK_API_URL` | agentbank base URL (default `https://mcp.curless.ai`; set `http://localhost:3000` for local dev) |
|
|
41
|
+
| `AGENTBANK_MERCHANT_TOKEN` | your Curless API key (issued by Curless at onboarding) |
|
|
42
|
+
| `AGENTBANK_MERCHANT_ID` | your Curless merchant id, e.g. `429488` |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.generated.d.ts","sourceRoot":"","sources":["../src/card.generated.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,EAAE,MAGf,CAAC"}
|