z-zero-mcp-server 1.0.6 → 1.0.7
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/dist/api_backend.js +5 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/api_backend.js
CHANGED
|
@@ -55,7 +55,11 @@ async function getBalanceRemote(cardAlias) {
|
|
|
55
55
|
const card = cards.find((c) => c.alias === cardAlias);
|
|
56
56
|
if (!card)
|
|
57
57
|
return null;
|
|
58
|
-
return {
|
|
58
|
+
return {
|
|
59
|
+
wallet_balance: card.balance,
|
|
60
|
+
currency: card.currency,
|
|
61
|
+
note: "This is the total wallet balance (human-level). Cards have 'limits' set at creation, not 'balances'. Use list_cards to see active token limits."
|
|
62
|
+
};
|
|
59
63
|
}
|
|
60
64
|
async function getDepositAddressesRemote() {
|
|
61
65
|
return await apiRequest('/api/tokens/cards', 'GET');
|
package/dist/index.js
CHANGED
|
@@ -61,7 +61,7 @@ server.tool("list_cards", "List all available virtual card aliases and their bal
|
|
|
61
61
|
// ============================================================
|
|
62
62
|
// TOOL 2: Check card balance (safe)
|
|
63
63
|
// ============================================================
|
|
64
|
-
server.tool("check_balance", "Check the
|
|
64
|
+
server.tool("check_balance", "Check the wallet balance (human-level total). This is the spendable USD available for issuing new cards. Cards themselves have 'limits' (set at creation), not 'balances' — use list_cards to see active token limits.", {
|
|
65
65
|
card_alias: zod_1.z
|
|
66
66
|
.string()
|
|
67
67
|
.describe("The alias of the card to check, e.g. 'Card_01'"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "z-zero-mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Z-ZERO MCP Server — Secure JIT Virtual Card Payment tools for AI Agents (Claude, Cursor, AutoGPT) — Real Single-Use Visa Cards",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "dist/index.js",
|