copilot-money-mcp 1.2.3 → 1.4.0

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
@@ -331,6 +331,39 @@ COPILOT_CACHE_TTL_MINUTES=0 copilot-money-mcp
331
331
 
332
332
  You can also manually refresh the cache using the `refresh_database` tool.
333
333
 
334
+ ### Decode Timeout
335
+
336
+ For large databases (500MB+), you may need to increase the decode timeout. The default is 90 seconds (90,000ms).
337
+
338
+ **Via environment variable:**
339
+ ```bash
340
+ DECODE_TIMEOUT_MS=600000 copilot-money-mcp
341
+ ```
342
+
343
+ **Via CLI flag:**
344
+ ```bash
345
+ copilot-money-mcp --timeout 600000
346
+ ```
347
+
348
+ **In Claude Desktop config** (with increased Node.js memory for 1GB+ databases):
349
+ ```json
350
+ {
351
+ "mcpServers": {
352
+ "copilot-money": {
353
+ "command": "node",
354
+ "args": [
355
+ "--max-old-space-size=4096",
356
+ "/path/to/copilot-money-mcp/dist/cli.js",
357
+ "--db-path",
358
+ "/path/to/your/database",
359
+ "--timeout",
360
+ "600000"
361
+ ]
362
+ }
363
+ }
364
+ }
365
+ ```
366
+
334
367
  ## Known Limitations
335
368
 
336
369
  ### Local Cache Size
@@ -359,6 +392,14 @@ If you see "Database not available":
359
392
  3. Verify `.ldb` files exist in the directory
360
393
  4. Provide custom path: `copilot-money-mcp --db-path /path/to/database`
361
394
 
395
+ ### Decode Worker Timed Out (Large Databases)
396
+
397
+ If you see "Decode worker timed out after Xms":
398
+ 1. Your database may be too large for the default 90-second timeout
399
+ 2. Increase the timeout: `copilot-money-mcp --timeout 300000` (5 minutes)
400
+ 3. For databases over 1GB, also increase Node.js memory: `node --max-old-space-size=4096 dist/cli.js --timeout 300000`
401
+ 4. Set via environment variable: `DECODE_TIMEOUT_MS=600000`
402
+
362
403
  ### No Transactions Found
363
404
 
364
405
  - Copilot Money may not have synced yet - open the app and wait for sync