@payments-ai/mcp 1.1.3 → 1.6.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.
Files changed (3) hide show
  1. package/dist/main.http.js +34522 -0
  2. package/package.json +23 -12
  3. package/dist/main.js +0 -1330
package/package.json CHANGED
@@ -1,37 +1,49 @@
1
1
  {
2
2
  "name": "@payments-ai/mcp",
3
- "version": "1.1.3",
3
+ "version": "1.6.0",
4
4
  "private": false,
5
5
  "description": "MCP for Payments AI",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/paymentsai/pai-managed.git",
9
+ "directory": "apps/mcp-server"
10
+ },
6
11
  "bin": {
7
- "payments-ai-mcp": "./dist/main.js"
12
+ "payments-ai-mcp": "./dist/main.http.js"
8
13
  },
9
14
  "files": [
10
15
  "dist"
11
16
  ],
12
17
  "type": "module",
13
- "main": "dist/main.js",
18
+ "main": "dist/main.http.js",
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
14
22
  "scripts": {
15
23
  "start": "node dist/main.http.js",
16
24
  "dev": "tsx watch src/main.http.ts",
17
25
  "build": "node esbuild.config.mjs",
18
- "build:http": "pnpm exec tsgo -p tsconfig.json",
26
+ "build:types": "pnpm exec tsgo -p tsconfig.build.json",
19
27
  "typecheck": "pnpm exec tsgo --noEmit -p tsconfig.json",
20
28
  "lint": "oxlint .",
21
29
  "lint:fix": "oxlint --fix .",
22
- "test": "tsx --test test/**/*.test.ts",
23
- "clean": "rm -rf dist",
24
- "prepublishOnly": "pnpm run clean && pnpm run build"
30
+ "test": "pnpm --filter @pai-managed/mcp-contracts build && tsx --test test/**/*.test.ts",
31
+ "clean": "rm -rf dist dist-types",
32
+ "prepublishOnly": "node scripts/assert-version-sync.mjs && pnpm --filter @pai-managed/mcp-contracts run build && pnpm run clean && pnpm run build"
25
33
  },
26
34
  "dependencies": {
27
- "@modelcontextprotocol/sdk": "1.29.0",
28
- "@pai-managed/mcp-contracts": "workspace:*",
35
+ "@modelcontextprotocol/express": "2.0.0",
36
+ "@modelcontextprotocol/node": "2.0.0",
37
+ "@modelcontextprotocol/server": "2.0.0",
29
38
  "@sentry/node": "10.58.0",
30
39
  "cors": "2.8.6",
31
40
  "dotenv": "17.3.1",
41
+ "express": "5.2.1",
32
42
  "zod": "4.4.3"
33
43
  },
34
44
  "devDependencies": {
45
+ "@modelcontextprotocol/client": "2.0.0",
46
+ "@pai-managed/mcp-contracts": "workspace:*",
35
47
  "@tsconfig/node24": "24.0.4",
36
48
  "@types/cors": "2.8.19",
37
49
  "@types/express": "5.0.6",
@@ -41,7 +53,6 @@
41
53
  "typescript": "5.9.3"
42
54
  },
43
55
  "engines": {
44
- "node": ">=24"
45
- },
46
- "mcpName": "io.github.szarl/payments-ai-mcp"
56
+ "node": ">=24.16"
57
+ }
47
58
  }