@moneygraph/mcp-server 1.1.1 → 1.1.2

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  # MoneyGraph MCP Server
2
2
 
3
- **Send money to 82+ countries from any AI agent.**
3
+ **Send money to 82+ countries from any AI agent.** Built by [MoneyGraph.ai](https://moneygraph.ai).
4
4
 
5
- The first MCP server for real cross-border money movement. 328 FX pairs, 4 base currencies, bank transfers, mobile money, SWIFT — all through natural language.
5
+ The first MCP server for real cross-border money movement. 328 FX pairs, 4 base currencies, bank transfers, mobile money, SWIFT, virtual cards and crypto — all through natural language.
6
6
 
7
7
  ```
8
8
  npx @moneygraph/mcp-server
@@ -82,7 +82,7 @@ Add to `.vscode/settings.json`:
82
82
 
83
83
  All without writing a single line of code.
84
84
 
85
- ## Tools (45)
85
+ ## Tools (77)
86
86
 
87
87
  ### Customers
88
88
  | Tool | Description |
@@ -94,12 +94,16 @@ All without writing a single line of code.
94
94
  | `update_customer` | Update customer KYC data |
95
95
  | `submit_kyc` | Submit KYC for review (auto-approves in sandbox) |
96
96
  | `get_customer_wallets` | Get wallets for a customer |
97
+ | `check_kyc_status` | Check KYC status and whether the customer can make payouts |
98
+ | `upload_kyc_document` | Upload a KYC document (ID, proof of address, etc.) |
99
+ | `create_mock_customer` | Sandbox only: create a pre-configured test customer |
97
100
 
98
101
  ### Directors (KYB)
99
102
  | Tool | Description |
100
103
  |------|-------------|
101
104
  | `create_director` | Add a director to a business customer |
102
105
  | `list_directors` | List directors for a customer |
106
+ | `update_director` | Update director details |
103
107
  | `delete_director` | Remove a director |
104
108
 
105
109
  ### Currencies & Rates
@@ -107,6 +111,17 @@ All without writing a single line of code.
107
111
  |------|-------------|
108
112
  | `get_currencies` | **THE critical tool** — returns FX rates, corridor UUIDs, delivery windows, fees, limits |
109
113
  | `list_countries` | List all supported countries |
114
+ | `list_account_fiat_currencies` | Fiat currencies available on your account |
115
+ | `list_account_crypto_currencies` | Crypto currencies available on your account |
116
+
117
+ ### FX & Smart Payouts
118
+ | Tool | Description |
119
+ |------|-------------|
120
+ | `get_fx_quote` | Live FX quote for a currency pair (expires in 2 minutes) |
121
+ | `confirm_fx_quote` | Lock a quoted rate for the payout |
122
+ | `get_exchange_rates` | All current FX rates across supported pairs |
123
+ | `smart_payout` | **HERO** — picks the best rail (local bank, SWIFT or mobile money) automatically |
124
+ | `send_swift_payout` | International wire transfer via SWIFT |
110
125
 
111
126
  ### Recipients
112
127
  | Tool | Description |
@@ -167,6 +182,32 @@ All without writing a single line of code.
167
182
  | `list_mobile_networks` | Mobile money networks by country |
168
183
  | `list_cash_pickup_agents` | Cash pickup agents by country |
169
184
 
185
+ ### Virtual Cards
186
+ | Tool | Description |
187
+ |------|-------------|
188
+ | `create_card` | Issue a virtual or physical debit card (requires approved KYC) |
189
+ | `get_card` | Card details, balance, status and masked card number |
190
+ | `list_cards` | List all cards for a customer |
191
+ | `fund_card` | Add funds to a card from a wallet |
192
+ | `freeze_card` | Temporarily freeze a card |
193
+ | `unfreeze_card` | Unfreeze a card |
194
+ | `cancel_card` | Permanently cancel a card (balance returns to the wallet) |
195
+ | `get_card_transactions` | Card transaction history |
196
+
197
+ ### Crypto
198
+ | Tool | Description |
199
+ |------|-------------|
200
+ | `create_crypto_address` | Deposit address for USDC, USDT, BTC or ETH on Ethereum, Tron, Polygon, Base or Solana |
201
+ | `list_crypto_addresses` | List a customer's deposit addresses |
202
+ | `get_crypto_address` | Get one deposit address |
203
+ | `list_crypto_deposits` | List deposits with confirmation status and transaction hashes |
204
+ | `get_crypto_deposit` | Get one deposit |
205
+ | `get_crypto_settings` | Auto-convert and accepted-currency settings |
206
+ | `update_crypto_settings` | Change auto-convert and accepted currencies |
207
+ | `crypto_convert_quote` | Quote a crypto ↔ fiat conversion (expires in 2 minutes) |
208
+ | `crypto_convert_execute` | Execute a quoted conversion |
209
+ | `send_crypto_payout` | Send crypto to an external wallet (requires approved KYC) |
210
+
170
211
  ### Blockchain Ledger
171
212
  | Tool | Description |
172
213
  |------|-------------|
@@ -187,7 +228,7 @@ All without writing a single line of code.
187
228
  | `moneygraph://corridors/{base}` | Remittance corridors with UUIDs |
188
229
  | `moneygraph://delivery-windows/{currency}` | Delivery windows and speeds |
189
230
 
190
- ## Prompts (4)
231
+ ## Prompts (6)
191
232
 
192
233
  | Prompt | Description |
193
234
  |--------|-------------|
@@ -195,6 +236,8 @@ All without writing a single line of code.
195
236
  | `onboard-customer` | Customer creation + KYC walkthrough |
196
237
  | `check-rates` | FX rate comparison |
197
238
  | `track-payout` | Payout status check |
239
+ | `issue-card` | Guided card issuance |
240
+ | `crypto-deposit` | Guided crypto deposit setup and tracking |
198
241
 
199
242
  ## Configuration
200
243
 
package/dist/http.js CHANGED
@@ -53,7 +53,7 @@ export async function startHTTPServer(config) {
53
53
  res.end(JSON.stringify({
54
54
  status: 'ok',
55
55
  server: '@moneygraph/mcp-server',
56
- version: '1.1.1',
56
+ version: '1.1.2',
57
57
  mode: config.mode,
58
58
  transport: 'http',
59
59
  tools: 78,
@@ -96,7 +96,7 @@ export async function startHTTPServer(config) {
96
96
  res.end(JSON.stringify({ error: 'Not found', endpoints: ['/mcp', '/health'] }));
97
97
  });
98
98
  httpServer.listen(port, () => {
99
- console.error(`MoneyGraph MCP Server v1.1.1 — ${config.mode} mode — HTTP transport on port ${port} — 78 tools, 6 resources, 6 prompts`);
99
+ console.error(`MoneyGraph MCP Server v1.1.2 — ${config.mode} mode — HTTP transport on port ${port} — 77 tools, 6 resources, 6 prompts`);
100
100
  console.error(` MCP endpoint: http://localhost:${port}/mcp`);
101
101
  console.error(` Health check: http://localhost:${port}/health`);
102
102
  });
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * MoneyGraph MCP Server — Main Entry Point
3
3
  *
4
4
  * The first MCP server for real cross-border money movement.
5
- * 78 tools, 6 resources, 6 prompts.
5
+ * 77 tools, 6 resources, 6 prompts.
6
6
  * 82+ countries, 328 FX pairs, bank transfers, mobile money, SWIFT,
7
7
  * virtual/physical cards, crypto on-ramp/off-ramp.
8
8
  *
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * MoneyGraph MCP Server — Main Entry Point
3
3
  *
4
4
  * The first MCP server for real cross-border money movement.
5
- * 78 tools, 6 resources, 6 prompts.
5
+ * 77 tools, 6 resources, 6 prompts.
6
6
  * 82+ countries, 328 FX pairs, bank transfers, mobile money, SWIFT,
7
7
  * virtual/physical cards, crypto on-ramp/off-ramp.
8
8
  *
@@ -97,7 +97,7 @@ ${mode === 'sandbox' ? 'SANDBOX: All data is in-memory. KYC auto-approves. Use s
97
97
  export function createServer(config) {
98
98
  const server = new McpServer({
99
99
  name: 'moneygraph',
100
- version: '1.1.1',
100
+ version: '1.1.2',
101
101
  }, {
102
102
  capabilities: {
103
103
  tools: {},
@@ -148,7 +148,7 @@ export async function startServer() {
148
148
  const server = createServer(config);
149
149
  const transport = new StdioServerTransport();
150
150
  await server.connect(transport);
151
- console.error(`MoneyGraph MCP Server v1.1.1 — ${config.mode} mode — stdio transport — 78 tools, 6 resources, 6 prompts`);
151
+ console.error(`MoneyGraph MCP Server v1.1.2 — ${config.mode} mode — stdio transport — 77 tools, 6 resources, 6 prompts`);
152
152
  }
153
153
  }
154
154
  // Auto-start when run directly
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moneygraph/mcp-server",
3
- "version": "1.1.1",
4
- "description": "MCP server for cross-border payments, cards, and crypto — 78 tools, 82+ countries via Claude, Cursor, VS Code",
3
+ "version": "1.1.2",
4
+ "description": "MoneyGraph.ai MCP server for cross-border payments, cards, and crypto — 77 tools, 82+ countries via Claude, Cursor, VS Code",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "@moneygraph/mcp-server": "./bin/mcp-server.js",
@@ -11,20 +11,14 @@
11
11
  "files": [
12
12
  "dist/",
13
13
  "bin/",
14
- "scripts/patch-sdk.mjs",
15
14
  "README.md",
16
15
  "railway.json"
17
16
  ],
18
17
  "main": "./dist/index.js",
19
18
  "types": "./dist/index.d.ts",
20
19
  "scripts": {
21
- "build": "tsc",
22
20
  "start": "node dist/index.js",
23
- "start:http": "MONEYGRAPH_TRANSPORT=http node dist/index.js",
24
- "dev": "tsc --watch",
25
- "postinstall": "node scripts/patch-sdk.mjs",
26
- "test": "tsx test/smoke.test.mjs",
27
- "prepublishOnly": "npm run build"
21
+ "start:http": "MONEYGRAPH_TRANSPORT=http node dist/index.js"
28
22
  },
29
23
  "engines": {
30
24
  "node": ">=18"
@@ -65,7 +59,7 @@
65
59
  },
66
60
  "dependencies": {
67
61
  "@modelcontextprotocol/sdk": "^1.26.0",
68
- "@moneygraph/sdk": "^3.1.0",
62
+ "@moneygraph/sdk": "^3.1.1",
69
63
  "zod": "^3.23.0"
70
64
  },
71
65
  "devDependencies": {
@@ -1,32 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * Patch @moneygraph/sdk v3.1.0 — fix initEnv() missing async keyword.
4
- * The published SDK has `export function initEnv(outputPath)` but uses `await`
5
- * inside the function body. Node v25 ESM parser rejects this at module load time.
6
- * This script adds the `async` keyword so the module can be imported.
7
- *
8
- * Runs automatically via npm postinstall.
9
- */
10
-
11
- import { readFileSync, writeFileSync } from 'fs';
12
- import { resolve, dirname } from 'path';
13
- import { fileURLToPath } from 'url';
14
-
15
- const __dirname = dirname(fileURLToPath(import.meta.url));
16
- const target = resolve(__dirname, '..', 'node_modules', '@moneygraph', 'sdk', 'src', 'index.js');
17
-
18
- try {
19
- let content = readFileSync(target, 'utf8');
20
- if (content.includes('export function initEnv(') && !content.includes('export async function initEnv(')) {
21
- content = content.replace('export function initEnv(', 'export async function initEnv(');
22
- writeFileSync(target, content, 'utf8');
23
- console.log('patch-sdk: Fixed initEnv() → async function');
24
- } else {
25
- console.log('patch-sdk: No patch needed (already fixed or signature changed)');
26
- }
27
- } catch (err) {
28
- // SDK not installed yet — skip silently
29
- if (err.code !== 'ENOENT') {
30
- console.warn('patch-sdk: Could not patch SDK:', err.message);
31
- }
32
- }