@rapay/mcp-server
Advanced tools
+3
-3
@@ -501,5 +501,5 @@ /** | ||
| const amountDollars = args.amount / 100; | ||
| // Calculate fee breakdown using integer math to avoid floating point errors | ||
| // 2% Ra Pay application fee: fee_cents = amount_cents * 2 / 100 | ||
| const rapayFeeCents = Math.round(args.amount * 0.02); | ||
| // Calculate fee breakdown using true integer math to avoid floating point errors | ||
| // 2% Ra Pay application fee: integer ceiling of (amount_cents * 2 / 100) | ||
| const rapayFeeCents = Math.floor((args.amount * 2 + 99) / 100); | ||
| const recipientReceivesCents = args.amount - rapayFeeCents; | ||
@@ -506,0 +506,0 @@ // Convert to dollars for display (after integer calculation) |
+1
-1
@@ -16,3 +16,3 @@ #!/usr/bin/env node | ||
| */ | ||
| export declare const SERVER_VERSION = "1.2.1"; | ||
| export declare const SERVER_VERSION = "1.2.2"; | ||
| //# sourceMappingURL=index.d.ts.map |
+1
-1
@@ -26,3 +26,3 @@ #!/usr/bin/env node | ||
| const SERVER_NAME = "rapay-mcp"; | ||
| export const SERVER_VERSION = "1.2.1"; | ||
| export const SERVER_VERSION = "1.2.2"; | ||
| /** | ||
@@ -29,0 +29,0 @@ * Initialize MCP server |
+1
-1
| { | ||
| "name": "@rapay/mcp-server", | ||
| "version": "1.2.1", | ||
| "version": "1.2.2", | ||
| "description": "Ra Pay MCP Server for Claude Desktop and Claude Code - AI Agent Payment Infrastructure", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 16 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 16 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
64137
0.04%