@metalntwx/metal-agent 0.3.2 → 0.3.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metalntwx/metal-agent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "The `metal-agent` CLI and MCP server: create or import the agent's key, fund it on Metal devnet or testnet, pay x402 offers in *USDZ, look up a settlement, and set spending limits for an agent that Metal enforces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@metalntwx/metal-ts": "^0.3.2",
|
|
22
|
-
"@metalntwx/metal-pay": "
|
|
22
|
+
"@metalntwx/metal-pay": "0.3.3",
|
|
23
23
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
24
24
|
"@x402/core": "2.28.0",
|
|
25
25
|
"viem": "^2.54.6",
|
|
@@ -20,7 +20,7 @@ set, and pass it with `--rpc-url`. A user without one creates it as
|
|
|
20
20
|
The key file defaults to `~/.metal-agent/key.json`. It holds the private key
|
|
21
21
|
in the clear, owner-readable only; treat the file as the secret.
|
|
22
22
|
|
|
23
|
-
If `metal-agent --version` prints `0.3.
|
|
23
|
+
If `metal-agent --version` prints `0.3.3` and the user already has a key,
|
|
24
24
|
go to the command you need. Otherwise start with Setup.
|
|
25
25
|
|
|
26
26
|
## Setup
|
|
@@ -33,10 +33,10 @@ Run the steps in order. After each step, show the user its output.
|
|
|
33
33
|
2. Install the CLI, or move an installed one to this version:
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
npm install -g @metalntwx/metal-agent@0.3.
|
|
36
|
+
npm install -g @metalntwx/metal-agent@0.3.3
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
Then `metal-agent --version` prints `0.3.
|
|
39
|
+
Then `metal-agent --version` prints `0.3.3`. If it prints anything else,
|
|
40
40
|
another copy comes first on the `PATH`: tell the user, and stop.
|
|
41
41
|
|
|
42
42
|
3. Install this skill, so that later sessions have it without fetching this
|
|
@@ -50,7 +50,7 @@ Run the steps in order. After each step, show the user its output.
|
|
|
50
50
|
In Claude Code:
|
|
51
51
|
|
|
52
52
|
```bash
|
|
53
|
-
claude mcp add metal-agent -- npx -y @metalntwx/metal-agent@0.3.
|
|
53
|
+
claude mcp add metal-agent -- npx -y @metalntwx/metal-agent@0.3.3 mcp
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
In any other MCP host, add this server to its MCP configuration:
|
|
@@ -60,7 +60,7 @@ Run the steps in order. After each step, show the user its output.
|
|
|
60
60
|
"mcpServers": {
|
|
61
61
|
"metal-agent": {
|
|
62
62
|
"command": "npx",
|
|
63
|
-
"args": ["-y", "@metalntwx/metal-agent@0.3.
|
|
63
|
+
"args": ["-y", "@metalntwx/metal-agent@0.3.3", "mcp"]
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -73,7 +73,7 @@ Run the steps in order. After each step, show the user its output.
|
|
|
73
73
|
another host's configuration:
|
|
74
74
|
|
|
75
75
|
```bash
|
|
76
|
-
claude mcp add metal-agent -e METAL_RPC_URL=<endpoint> -- npx -y @metalntwx/metal-agent@0.3.
|
|
76
|
+
claude mcp add metal-agent -e METAL_RPC_URL=<endpoint> -- npx -y @metalntwx/metal-agent@0.3.3 mcp --mandate <credential>
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
The tools appear after the host reloads. If you cannot reload it, tell
|