@rapay/mcp-server 1.1.7 → 1.1.9

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/handlers.js CHANGED
@@ -536,6 +536,7 @@ async function executeSend(args) {
536
536
  rapay_fee: rapayFee,
537
537
  rapay_fee_percent: "2%",
538
538
  recipient_receives: recipientReceives,
539
+ note: "Stripe processing fees (2.9% + $0.30) also apply. Final breakdown shown upon payment execution.",
539
540
  },
540
541
  next_step: "Call ra_send again with user_confirmed=true after user approves the fee breakdown.",
541
542
  }, null, 2);
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import { handleToolCall } from "./handlers.js";
22
22
  * Server metadata
23
23
  */
24
24
  const SERVER_NAME = "rapay-mcp";
25
- const SERVER_VERSION = "1.1.7";
25
+ const SERVER_VERSION = "1.1.9";
26
26
  /**
27
27
  * Initialize MCP server
28
28
  */
package/dist/tools.js CHANGED
@@ -18,7 +18,7 @@ const PAYMENT_TOOLS = [
18
18
  "Step 1: Call with user_confirmed=false to get fee preview (NO payment is made). " +
19
19
  "Step 2: Show the fee_breakdown from the response to the user and ask them to confirm. " +
20
20
  "Step 3: ONLY after user explicitly approves the fee, call again with user_confirmed=true. " +
21
- "A 2% Ra Pay application fee applies. The preview shows exact fees before any money moves. " +
21
+ "A 2% Ra Pay application fee applies. The preview shows the Ra Pay application fee before any money moves. " +
22
22
  "COMPLIANCE SCREENING REQUIRED: Before processing, you MUST verify the business_purpose does NOT contain: " +
23
23
  "(1) P2P patterns: friend, family, roommate, reimbursement for personal expenses, splitting bills, payback, loan, gift, birthday, holiday " +
24
24
  "(2) Money laundering red flags: gift cards, prepaid cards, cryptocurrency purchase, wire transfer " +
package/package.json CHANGED
@@ -1,70 +1,71 @@
1
- {
2
- "name": "@rapay/mcp-server",
3
- "version": "1.1.7",
4
- "description": "Ra Pay MCP Server for Claude Desktop and Claude Code - AI Agent Payment Infrastructure",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "bin": {
9
- "rapay-mcp-server": "dist/index.js",
10
- "@rapay/mcp-server": "dist/index.js"
11
- },
12
- "scripts": {
13
- "build": "tsc",
14
- "dev": "tsc --watch",
15
- "start": "node dist/index.js",
16
- "lint": "eslint src/",
17
- "test": "vitest",
18
- "prepublishOnly": "npm run build"
19
- },
20
- "keywords": [
21
- "mcp",
22
- "model-context-protocol",
23
- "rapay",
24
- "payments",
25
- "stripe",
26
- "ai-agents",
27
- "claude",
28
- "automation"
29
- ],
30
- "author": "Ra Pay",
31
- "license": "MIT",
32
- "repository": {
33
- "type": "git",
34
- "url": "https://github.com/Ra-Pay-AI/rapay"
35
- },
36
- "engines": {
37
- "node": ">=18.0.0"
38
- },
39
- "peerDependencies": {
40
- "@rapay/cli": "^1.3.0"
41
- },
42
- "peerDependenciesMeta": {
43
- "@rapay/cli": {
44
- "optional": true
45
- }
46
- },
47
- "publishConfig": {
48
- "access": "public"
49
- },
50
- "dependencies": {
51
- "@modelcontextprotocol/sdk": "^1.0.0",
52
- "cross-spawn": "^7.0.6"
53
- },
54
- "devDependencies": {
55
- "@types/node": "^20.10.0",
56
- "@types/cross-spawn": "^6.0.6",
57
- "typescript": "^5.3.0",
58
- "vitest": "^1.0.0",
59
- "eslint": "^8.55.0",
60
- "@typescript-eslint/eslint-plugin": "^6.13.0",
61
- "@typescript-eslint/parser": "^6.13.0"
62
- },
63
- "files": [
64
- "dist/**/*.js",
65
- "dist/**/*.d.ts",
66
- "!dist/**/*.js.map",
67
- "!dist/**/*.d.ts.map",
68
- "README.md"
69
- ]
70
- }
1
+ {
2
+ "name": "@rapay/mcp-server",
3
+ "version": "1.1.9",
4
+ "description": "Ra Pay MCP Server for Claude Desktop and Claude Code - AI Agent Payment Infrastructure",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "rapay-mcp-server": "dist/index.js",
10
+ "@rapay/mcp-server": "dist/index.js"
11
+ },
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "dev": "tsc --watch",
15
+ "start": "node dist/index.js",
16
+ "lint": "eslint src/",
17
+ "test": "vitest",
18
+ "validate-versions": "node validate-versions.cjs",
19
+ "prepublishOnly": "npm run validate-versions && npm run build"
20
+ },
21
+ "keywords": [
22
+ "mcp",
23
+ "model-context-protocol",
24
+ "rapay",
25
+ "payments",
26
+ "stripe",
27
+ "ai-agents",
28
+ "claude",
29
+ "automation"
30
+ ],
31
+ "author": "Ra Pay",
32
+ "license": "MIT",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/Ra-Pay-AI/rapay"
36
+ },
37
+ "engines": {
38
+ "node": ">=18.0.0"
39
+ },
40
+ "peerDependencies": {
41
+ "@rapay/cli": "^1.3.0"
42
+ },
43
+ "peerDependenciesMeta": {
44
+ "@rapay/cli": {
45
+ "optional": true
46
+ }
47
+ },
48
+ "publishConfig": {
49
+ "access": "public"
50
+ },
51
+ "dependencies": {
52
+ "@modelcontextprotocol/sdk": "^1.0.0",
53
+ "cross-spawn": "^7.0.6"
54
+ },
55
+ "devDependencies": {
56
+ "@types/node": "^20.10.0",
57
+ "@types/cross-spawn": "^6.0.6",
58
+ "typescript": "^5.3.0",
59
+ "vitest": "^1.0.0",
60
+ "eslint": "^8.55.0",
61
+ "@typescript-eslint/eslint-plugin": "^6.13.0",
62
+ "@typescript-eslint/parser": "^6.13.0"
63
+ },
64
+ "files": [
65
+ "dist/**/*.js",
66
+ "dist/**/*.d.ts",
67
+ "!dist/**/*.js.map",
68
+ "!dist/**/*.d.ts.map",
69
+ "README.md"
70
+ ]
71
+ }