@priors/mcp 0.6.0 → 0.6.1
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 +3 -3
- package/package.json +1 -1
- package/src/server.mjs +1 -1
package/README.md
CHANGED
|
@@ -132,7 +132,7 @@ Settings → Developer → Edit Config (`claude_desktop_config.json`), then rest
|
|
|
132
132
|
"mcpServers": {
|
|
133
133
|
"priors": {
|
|
134
134
|
"command": "npx",
|
|
135
|
-
"args": ["-y", "@priors/mcp@0.6.
|
|
135
|
+
"args": ["-y", "@priors/mcp@0.6.1"],
|
|
136
136
|
"env": {
|
|
137
137
|
"PRIORS_KEY": "0xYOUR_AGENT_WALLET_KEY",
|
|
138
138
|
"PRIORS_AGENT_ID": "1234"
|
|
@@ -154,7 +154,7 @@ A project `.mcp.json` that reads the key from your shell's environment, so the f
|
|
|
154
154
|
"mcpServers": {
|
|
155
155
|
"priors": {
|
|
156
156
|
"command": "npx",
|
|
157
|
-
"args": ["-y", "@priors/mcp@0.6.
|
|
157
|
+
"args": ["-y", "@priors/mcp@0.6.1"],
|
|
158
158
|
"env": {
|
|
159
159
|
"PRIORS_KEY": "${PRIORS_KEY}",
|
|
160
160
|
"PRIORS_AGENT_ID": "${PRIORS_AGENT_ID:-}"
|
|
@@ -164,7 +164,7 @@ A project `.mcp.json` that reads the key from your shell's environment, so the f
|
|
|
164
164
|
}
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
or, for your user only: `claude mcp add priors --scope user -e PRIORS_KEY="$PRIORS_KEY" -- npx -y @priors/mcp@0.6.
|
|
167
|
+
or, for your user only: `claude mcp add priors --scope user -e PRIORS_KEY="$PRIORS_KEY" -- npx -y @priors/mcp@0.6.1`
|
|
168
168
|
(the key is expanded by your shell from the environment; do not paste it on the command line).
|
|
169
169
|
|
|
170
170
|
## Try it
|
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.6.
|
|
4
|
+
"version": "0.6.1",
|
|
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 only.",
|
|
7
7
|
"type": "module",
|
package/src/server.mjs
CHANGED
|
@@ -787,7 +787,7 @@ export async function createPriorsMcpServer({ env = process.env, fetchImpl = glo
|
|
|
787
787
|
|
|
788
788
|
tool("score_of", {
|
|
789
789
|
title: "Priors score of an agent",
|
|
790
|
-
description: "Look up any agent's Priors score (0 to 1000) and repayment record on Robinhood Chain: a public
|
|
790
|
+
description: "Look up any agent's Priors score (0 to 1000) and repayment record on Robinhood Chain: a public record built from on-chain repayments, plus the open Priors Score v2 and its trust rung when published. Useful before trusting or paying an agent. Read-only.",
|
|
791
791
|
inputSchema: { agent_id: z.number().int().nonnegative().describe("Priors (ERC-8004) agent id.") },
|
|
792
792
|
annotations: { readOnlyHint: true, openWorldHint: true },
|
|
793
793
|
}, async ({ agent_id }) => {
|