@priors/mcp 0.8.1 → 0.8.2
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 +5 -0
- package/README.md +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @priors/mcp changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.2 (2026-10-10)
|
|
4
|
+
|
|
5
|
+
- **On `@priors/x402` 0.6.4**, whose merchant-side `recordGate` keeps a bounded cache (GHSA-vjcp-qx2h-gr2q). The MCP
|
|
6
|
+
server does not use the gate; nothing else changes from 0.8.1.
|
|
7
|
+
|
|
3
8
|
## 0.8.1 (2026-10-10)
|
|
4
9
|
|
|
5
10
|
- **`repay` pays only loans the agent's owner now took** (GHSA-mmp8-g8jw-7gqp). A loan opened while someone else
|
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.
|
|
174
|
+
"args": ["-y", "@priors/mcp@0.8.2"],
|
|
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.
|
|
196
|
+
"args": ["-y", "@priors/mcp@0.8.2"],
|
|
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.
|
|
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.2' 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.
|
|
262
|
+
"priors-wallet": { type: "stdio", command: "npx", args: ["-y", "@priors/mcp@0.8.2"],
|
|
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.
|
|
274
|
+
args: ["-y", "@priors/mcp@0.8.2"]
|
|
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.
|
|
301
|
+
PRIORS_KEY_FILE=~/.config/priors/agent-7311.key npx -y @priors/mcp@0.8.2 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`
|
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.
|
|
4
|
+
"version": "0.8.2",
|
|
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.
|
|
48
|
+
"@priors/x402": "0.6.4",
|
|
49
49
|
"ethers": "^6.13.4",
|
|
50
50
|
"undici": "6.29.0",
|
|
51
51
|
"viem": "^2.56.9",
|