@mysten-incubation/suipay-mcp 0.3.0-dev.0 → 0.3.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
|
@@ -5,7 +5,7 @@ buyer-funded spend account. The buyer owns the account. The agent holds the
|
|
|
5
5
|
delegate key and can spend only under the on-chain grant (recipient bind,
|
|
6
6
|
per-payment cap, budget).
|
|
7
7
|
|
|
8
|
-
Pin `@mysten-incubation/suipay-mcp@0.3.0
|
|
8
|
+
Pin `@mysten-incubation/suipay-mcp@0.3.0` in MCP config for the `latest` dist-tag.
|
|
9
9
|
`npx -y @mysten-incubation/suipay-mcp@dev` tracks the `dev` prerelease line.
|
|
10
10
|
`1.0.1` remains on the registry as a historical release; do not install it
|
|
11
11
|
for new agents.
|
|
@@ -13,7 +13,7 @@ for new agents.
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
claude mcp add --scope user suipay -- npx -y @mysten-incubation/suipay-mcp@0.3.0
|
|
16
|
+
claude mcp add --scope user suipay -- npx -y @mysten-incubation/suipay-mcp@0.3.0
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
`@dev` installs the Railway-dev gateway/console defaults. A workspace
|
|
@@ -155,10 +155,10 @@ Default is Railway **suipay-dev**. `--local` / `target: "local"` is laptop-only.
|
|
|
155
155
|
|
|
156
156
|
```bash
|
|
157
157
|
# Railway suipay-dev (default)
|
|
158
|
-
npx @mysten-incubation/suipay-mcp@0.3.0
|
|
158
|
+
npx @mysten-incubation/suipay-mcp@0.3.0
|
|
159
159
|
|
|
160
160
|
# Laptop stack
|
|
161
|
-
npx @mysten-incubation/suipay-mcp@0.3.0
|
|
161
|
+
npx @mysten-incubation/suipay-mcp@0.3.0 --local
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
`SUIPAY_MCP_TARGET=local|dev` selects the same preset. Explicit
|
package/dist/bin/suipay.js
CHANGED
|
@@ -9588,8 +9588,8 @@ import { normalizeSuiAddress as normalizeSuiAddress7 } from "@mysten/sui/utils";
|
|
|
9588
9588
|
import { existsSync, readFileSync } from "fs";
|
|
9589
9589
|
import { dirname, join } from "path";
|
|
9590
9590
|
import { fileURLToPath } from "url";
|
|
9591
|
-
var MCP_LOCAL_GATEWAY_URL = "https://gateway
|
|
9592
|
-
var MCP_LOCAL_CONSOLE_URL = "https://
|
|
9591
|
+
var MCP_LOCAL_GATEWAY_URL = "https://gateway.suipay.dev";
|
|
9592
|
+
var MCP_LOCAL_CONSOLE_URL = "https://www.sui.io/agentpayments";
|
|
9593
9593
|
var MCP_DEV_GATEWAY_URL = "https://gateway-dev-ba84.up.railway.app";
|
|
9594
9594
|
var MCP_DEV_CONSOLE_URL = "https://suipay-dev.up.railway.app";
|
|
9595
9595
|
var MCP_PROD_GATEWAY_URL = "https://gateway.suipay.dev";
|
|
@@ -9654,7 +9654,7 @@ var MCP_TARGET_PRESETS = {
|
|
|
9654
9654
|
gatewayUrl: "https://gateway-dev-ba84.up.railway.app"
|
|
9655
9655
|
},
|
|
9656
9656
|
local: {
|
|
9657
|
-
consoleUrl: "https://
|
|
9657
|
+
consoleUrl: "https://www.sui.io/agentpayments",
|
|
9658
9658
|
gatewayUrl: "http://127.0.0.1:4340"
|
|
9659
9659
|
}
|
|
9660
9660
|
};
|
package/dist/http.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadBootProfile,
|
|
3
3
|
main
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BTUKJQY7.js";
|
|
5
5
|
import {
|
|
6
6
|
MCP_TARGET_PRESETS,
|
|
7
7
|
PACKAGE_NAME,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
settlePreparedMcpPayment,
|
|
27
27
|
traceMcpHttpRequest,
|
|
28
28
|
verifySpendAccountPayReconstructs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UABS3BTU.js";
|
|
30
30
|
export {
|
|
31
31
|
MCP_TARGET_PRESETS,
|
|
32
32
|
PACKAGE_NAME,
|
package/package.json
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mysten-incubation/suipay-mcp",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "SuiPay MCP — pay MPP-gated APIs from a spend-account grant with an agent-held delegate key.",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/MystenLabs/suipay.git",
|
|
9
|
-
"directory": "packages/mcp"
|
|
10
|
-
},
|
|
11
6
|
"main": "./dist/index.js",
|
|
12
7
|
"types": "./dist/index.d.ts",
|
|
13
8
|
"exports": {
|