@priors/mcp 0.8.3 → 0.8.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @priors/mcp changelog
2
2
 
3
+ ## 0.8.4 (2026-10-11)
4
+
5
+ - **SeatVaultV5 lines work out of the box.** The bundled `deployments/4663.v2.json` names SeatVaultV5
6
+ (`0xC999014C6218EC41f0aE412d49AE8f2aA4c539fD`, root `#8762`, live since 2026-10-11 and named by BuyAndBack and the
7
+ SwapLimiter), so a borrow on a V5 line refreshes the line first (from the agent's owner, or from this key once V5
8
+ has recorded it for 24 h); before, that needed `PRIORS_V5` and `PRIORS_V5_ROOT`, which still override it. On
9
+ `@priors/x402` 0.6.5, whose `robinhood` constants name the same V5 and whose `creditContracts` uses it by default.
10
+
3
11
  ## 0.8.3 (2026-10-10)
4
12
 
5
13
  - **`PRIORS_STATE_DIR` must be yours alone** (GHSA-52gp-533q-jx99). It keeps what stops a payment being signed twice
package/README.md CHANGED
@@ -171,7 +171,7 @@ Settings → Developer → Edit Config (`claude_desktop_config.json`), then rest
171
171
  "mcpServers": {
172
172
  "priors": {
173
173
  "command": "npx",
174
- "args": ["-y", "@priors/mcp@0.8.3"],
174
+ "args": ["-y", "@priors/mcp@0.8.4"],
175
175
  "env": {
176
176
  "PRIORS_KEY": "0xYOUR_AGENT_WALLET_KEY",
177
177
  "PRIORS_AGENT_ID": "1234"
@@ -193,7 +193,7 @@ A project `.mcp.json` that reads the key from your shell's environment, so the f
193
193
  "mcpServers": {
194
194
  "priors": {
195
195
  "command": "npx",
196
- "args": ["-y", "@priors/mcp@0.8.3"],
196
+ "args": ["-y", "@priors/mcp@0.8.4"],
197
197
  "env": {
198
198
  "PRIORS_KEY": "${PRIORS_KEY}",
199
199
  "PRIORS_AGENT_ID": "${PRIORS_AGENT_ID:-}"
@@ -206,7 +206,7 @@ A project `.mcp.json` that reads the key from your shell's environment, so the f
206
206
  or, for your user only, from a macOS or Linux terminal:
207
207
 
208
208
  ```sh
209
- (read -rs PRIORS_KEY && umask 077 && mkdir -p ~/.config/priors && rm -f ~/.config/priors/agent.key && printf '%s\n' "$PRIORS_KEY" > ~/.config/priors/agent.key) && claude mcp add priors --scope user -- sh -c 'read -r PRIORS_KEY < "$1" && export PRIORS_KEY && exec npx -y @priors/mcp@0.8.3' priors-mcp ~/.config/priors/agent.key
209
+ (read -rs PRIORS_KEY && umask 077 && mkdir -p ~/.config/priors && rm -f ~/.config/priors/agent.key && printf '%s\n' "$PRIORS_KEY" > ~/.config/priors/agent.key) && claude mcp add priors --scope user -- sh -c 'read -r PRIORS_KEY < "$1" && export PRIORS_KEY && exec npx -y @priors/mcp@0.8.4' priors-mcp ~/.config/priors/agent.key
210
210
  ```
211
211
 
212
212
  It waits for the key without showing it (paste it, then Enter), saves it in a file only you can read, and gives Claude
@@ -259,7 +259,7 @@ to approve a borrow; this package, with the key, pays for APIs. With borrowing o
259
259
  approves each loan in Priors' Go mode. ElizaOS (`@elizaos/plugin-mcp`):
260
260
 
261
261
  ```ts
262
- "priors-wallet": { type: "stdio", command: "npx", args: ["-y", "@priors/mcp@0.8.3"],
262
+ "priors-wallet": { type: "stdio", command: "npx", args: ["-y", "@priors/mcp@0.8.4"],
263
263
  env: { PRIORS_KEY_FILE: "/home/agent/.config/priors/agent-7311.key", PRIORS_AGENT_ID: "7311",
264
264
  PRIORS_MAX_BORROW_USD: "0", PRIORS_MAX_BORROW_DAY_USD: "0", PRIORS_MAX_SPEND_DAY_USD: "1", PRIORS_MAX_PRICE_USD: "0.10",
265
265
  PRIORS_PAY_HOSTS: "api.example.com" } }
@@ -271,7 +271,7 @@ OpenClaw (`mcp.servers`, JSON5) takes the same `command`, `args` and `env`; Herm
271
271
  mcp_servers:
272
272
  priors-wallet:
273
273
  command: npx
274
- args: ["-y", "@priors/mcp@0.8.3"]
274
+ args: ["-y", "@priors/mcp@0.8.4"]
275
275
  env:
276
276
  PRIORS_KEY_FILE: /home/agent/.config/priors/agent-7311.key
277
277
  PRIORS_AGENT_ID: "7311"
@@ -298,7 +298,7 @@ key proves it is there: it signs the ERC-8004 identity registry's `AgentWalletSe
298
298
  agent's).
299
299
 
300
300
  ```sh
301
- PRIORS_KEY_FILE=~/.config/priors/agent-7311.key npx -y @priors/mcp@0.8.3 link-wallet --agent 7311
301
+ PRIORS_KEY_FILE=~/.config/priors/agent-7311.key npx -y @priors/mcp@0.8.4 link-wallet --agent 7311
302
302
  ```
303
303
 
304
304
  It reads the registry's EIP-712 domain and refuses to sign for any other, takes the owner from the chain (`--owner`
@@ -32,5 +32,8 @@
32
32
  "seatSizerV4Block": 75614955,
33
33
  "autoRepayV1": "0x765f51Bd38404154762f2822d3ac5d16CE9AF822",
34
34
  "autoRepayV1Block": 79616581,
35
- "autoRepayV1Note": "AutoRepay v1: retired before use, never enrolled, no allowance. Replaced by AutoRepay v2, recorded here as autoRepay and autoRepayBlock once deployed. Kept so the score mapping recognises both; nothing else uses it."
35
+ "autoRepayV1Note": "AutoRepay v1: retired before use, never enrolled, no allowance. Replaced by AutoRepay v2, recorded here as autoRepay and autoRepayBlock once deployed. Kept so the score mapping recognises both; nothing else uses it.",
36
+ "seatVaultV5": "0xC999014C6218EC41f0aE412d49AE8f2aA4c539fD",
37
+ "seatVaultV5AgentId": 8762,
38
+ "seatVaultV5Block": 85924243
36
39
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@priors/mcp",
3
3
  "mcpName": "io.github.priors-agents/priors",
4
- "version": "0.8.3",
4
+ "version": "0.8.4",
5
5
  "private": false,
6
6
  "description": "MCP server for Priors on Robinhood Chain: pay x402 URLs in USDG, read balances, credit lines and scores, borrow and repay, and buy, sell and redeem PT-USDG. Key from PRIORS_KEY_FILE (a file only you can read) or PRIORS_KEY, never the command line.",
7
7
  "type": "module",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@modelcontextprotocol/sdk": "^1.30.1",
48
- "@priors/x402": "0.6.4",
48
+ "@priors/x402": "0.6.5",
49
49
  "ethers": "^6.13.4",
50
50
  "undici": "6.29.0",
51
51
  "viem": "^2.56.9",