Priors MCP Server Verified Featured

@priors-agents Claim

Basic information

Runtime
solidity
Version
0.9.3
License
MIT
Author
priors-agents
Submitted by
Community
Stars
4

About Priors MCP Server

On-chain credit pool for ERC-8004 AI agents on Robinhood Chain: agents borrow USDG, repay it and earn a public credit score. Contracts, SDK, CLI, MCP server (@priors/mcp), x402 helpers (@priors/x402) and an agent skill.

Priors is a MCP server in the Finance & Commerce category listed in the AddMCP.net directory, published by priors-agents. It exposes 19 tools, including pay_url, wallet_balance, credit_status, stock_assets and more. Runtime: solidity. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: agent-payments, agent-skills, agentic commerce, ai-agents, credit.

Setup

{
    "mcpServers": {
        "priors": {
            "command": "npx",
            "args": [
                "-y",
                "@priors/[email protected]"
            ],
            "env": {
                "PRIORS_KEY": "0xYOUR_AGENT_WALLET_KEY",
                "PRIORS_AGENT_ID": "1234"
            }
        }
    }
}

Priors MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "priors": {
            "command": "npx",
            "args": [
                "-y",
                "@priors/[email protected]"
            ],
            "env": {
                "PRIORS_KEY": "0xYOUR_AGENT_WALLET_KEY",
                "PRIORS_AGENT_ID": "1234"
            }
        }
    }
}

Priors MCP Server tools

  • pay_url — Fetch a URL that may charge per call with x402 (HTTP 402) and pay it in USDG on Robinhood Chain from the configured wallet. Moves real money: confirm the URL and the most you will pay with the user first. Pays only if the price is at or below max_price_usd (default 0.10 USD); a higher price is refused before anything is signed. If the wallet is short, it borrows the gap from the agent's Priors credit line only when max_borrow_usd is given and covers it (the loan must then be repaid with the repay tool before its due date). Returns what was paid and borrowed, and the response body.
    url:string*, method:string, body:string, max_price_usd:number, max_borrow_usd:number, use_savings:boolean
  • wallet_balance — Show how much USDG (the dollar the payments and loans use) and native ETH for gas a Robinhood Chain address holds. Defaults to the configured wallet; any address works without a key. Read-only.
    address:string
  • credit_status — Show a Priors agent's credit line on Robinhood Chain: who backs it, the line, what is drawn and available, its repayment record, score and open loans with due dates, and (for the configured wallet) its Autopay: on or off, the limit per loan, the budget left, the next loan it repays and any shortfall. agent_id defaults to the configured wallet's agent. Read-only.
    agent_id:integer
  • stock_assets — List the Robinhood stock tokens the Priors stock vault accepts as collateral on Robinhood Chain: each token's live Chainlink price, whether the vault lends against it right now (and if not, why: a sharp price move, a multiplier change such as a split, a paused or blocked token), and its loan-to-value. Read-only.
    symbol:string
  • stock_position — Show the stock tokens behind a Priors agent's stock line on Robinhood Chain: the token and amount the vault holds, what the vault values them at, the loan-to-value, what the line can draw now, whether new loans wait on a lending hold, and whether the line is closing. agent_id defaults to the configured wallet's agent. Read-only.
    agent_id:integer
  • score_of — 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.
    agent_id:integer*
  • borrow — Borrow USDG from the agent's Priors credit line into the configured wallet. Moves real money and opens a loan with a fee that must be repaid (principal + fee) before the due date, or the agent's record is burnt and its backer pays. Always state the amount, term and fee to the user and get their go-ahead first; use dry_run: true to get the fee without borrowing.
    amount_usd:number*, days:number*, dry_run:boolean
  • repay — Repay the agent's own Priors loans in full (principal + fee) from the configured wallet's USDG; a loan of another agent, or one opened while someone else held the agent, is refused. Give either loan_id for one loan, or all: true to repay every open loan, earliest due first, as far as the balance covers. Moves real money: state the amounts (credit_status lists them) to the user and get their go-ahead first. The answer ends with share facts for each loan repaid (the amount, on time or late, the agent's record page), also as structured content with a suggested line; this server never posts anything.
    loan_id:integer, all:boolean, use_savings:boolean
  • autopay_on — Turn on Autopay for the configured agent: this wallet approves AutoRepay for a USDG budget (4 x the limit per loan) and enrolls, so each Priors loan is repaid from this wallet (then its savings, if chosen) in the 6 hours before it is due, by Priors' keeper or anyone, with no call per loan, while the wallet holds enough. It makes an on-time repayment more likely; it is not a promise. Call it again to change the limit or approve more budget when it runs low. Moves real allowances: state the limit and the budget to the user and get their go-ahead once. Needs ETH for gas.
    cap_usd:number, use_savings:boolean, late:boolean, budget_usd:number
  • autopay_off — Turn off Autopay for the configured agent: AutoRepay stops repaying its loans from this wallet at once. With clear_budget: true, also set this wallet's allowances to AutoRepay to 0. Loans must then be repaid with the repay tool before their due date.
    clear_budget:boolean
  • savings — Show how much USDG an address has saved in the savings vault (Steakhouse USDG on Morpho by default), what the vault can pay out to it right now, and the USDG in its wallet. Defaults to the configured wallet. Read-only.
    address:string
  • save — Move USDG from the configured wallet into the savings vault (Steakhouse USDG on Morpho by default), where it earns the vault's rate (which moves with its markets) until the agent needs it; pay_url and repay take it back out automatically when the wallet is short. Moves real money into a third-party vault, whose risk the agent carries: state the amount to the user and get their go-ahead first. Keep enough in the wallet for loans coming due and payments expected soon. Needs ETH for gas.
    amount_usd:number*
  • unsave — Move USDG from the savings vault back into the configured wallet: amount_usd, or all: true for everything. When the vault's normal withdrawal cannot pay it all, it takes the rest from the vault's other markets in the same transaction (only where that costs no penalty). Refused before any transaction when even that cannot pay the amount. Moves the agent's own money back to its own wallet; state the amount to the user and get their go-ahead first. Needs ETH for gas.
    amount_usd:number, all:boolean
  • pt_quote — Quote buying PT-USDG (Pendle's principal token for USDG on Robinhood Chain, redeemable 1:1 for USDG at its maturity) with USDG, selling it before maturity, or redeeming it after: what comes out at the oracle's spot rate, the minimum a trade would name, the days to maturity and the fixed APY a buyer locks in. Read-only.
    side:string*, amount:number*, slippage_bps:integer
  • pt_position — Show a wallet's PT-USDG on Robinhood Chain: its balance, what it is worth now at the oracle's spot rate, what it pays at maturity, the days left and the fixed APY to maturity; and whether the Priors stock vault takes PT-USDG behind an agent's line. Defaults to the configured wallet; any address works without a key. Read-only.
    address:string
  • pt_buy — Buy PT-USDG (Pendle's principal token for USDG, redeemable 1:1 for USDG on 2027-03-25) with the configured wallet's USDG, through Pendle's router: an approval of exactly that USDG, then the swap, paying the PT-USDG to this wallet with a minimum out. Held to maturity it pays a fixed amount of USDG; sold earlier, it gets the market's rate then, which can be lower. Moves real money: quote it (pt_quote), state the amount and what it buys to the user and get their go-ahead first; dry_run: true lists the calls without sending. Needs ETH for gas.
    amount_usdg:number*, slippage_bps:integer, dry_run:boolean
  • pt_sell — Sell the configured wallet's PT-USDG for USDG at the market, before maturity, through Pendle's router: an approval of exactly that PT-USDG, then the swap, paying the USDG to this wallet with a minimum out. Moves real money: quote it (pt_quote), state the amount to the user and get their go-ahead first; dry_run: true lists the calls without sending. Needs ETH for gas.
    amount_pt*, slippage_bps:integer, dry_run:boolean
  • pt_redeem — Redeem the configured wallet's PT-USDG for USDG 1:1, from its maturity (2027-03-25) on, through Pendle's router: an approval of exactly that PT-USDG, then the redemption to this wallet. By default the PT of the oldest matured market the wallet holds (an earlier market's included); `market` names one (pt_position lists them). Before maturity it says to sell instead. State the amount to the user and get their go-ahead first; dry_run: true lists the calls without sending. Needs ETH for gas.
    amount_pt*, slippage_bps:integer, dry_run:boolean, market:string
  • find_services — List services (APIs, data, tools) registered with the Priors facilitator that accept x402 payments in USDG on Robinhood Chain, optionally filtered by a search word. Descriptions are written by the merchants themselves. Read-only.
    query:string

Overview

What is Priors?

Priors MCP Server (@priors/mcp) is a local MCP server that gives an AI assistant a USDG wallet on Robinhood Chain: it pays x402-priced APIs, checks balances, reads any agent's Priors credit record, and borrows from and repays the agent's own Priors credit line.

Priors is an on-chain credit pool on Robinhood Chain where AI agents registered on ERC-8004 borrow unsecured USDG ($5 to $500), repay it, and build a public credit record and score that anyone can check. Every line is backed by someone who put money behind that agent, and every repayment and default is a public event. The project's repository holds the contracts, an SDK and CLI, this MCP server, x402 payment helpers and an agent skill (MIT).

How to use Priors?

There are two ways to connect.

Read-only, hosted, no key. https://mcp.priors.trade/mcp (Streamable HTTP) answers an agent's record and score, the pool's figures, recent loans and the facilitator's services. It holds no key and cannot send a transaction.

claude mcp add --transport http priors https://mcp.priors.trade/mcp

In Claude (web, desktop, phone) add it as a custom connector with that URL; in Cursor or VS Code add a remote server with "url": "https://mcp.priors.trade/mcp".

Local, with the agent's wallet. The @priors/mcp package runs over stdio with npx and needs Node. It acts on Robinhood Chain mainnet with real USDG, so use a dedicated agent wallet holding only what the agent may spend. The only secret is the wallet key, read from PRIORS_KEY or, from 0.8.0, from an owner-only file named by PRIORS_KEY_FILE. It is never read from the command line or returned by a tool. Without a key, only the read-only tools work.

Claude Desktop

Settings → Developer → Edit Config (claude_desktop_config.json), then restart Claude Desktop:

{
  "mcpServers": {
    "priors": {
      "command": "npx",
      "args": ["-y", "@priors/[email protected]"],
      "env": {
        "PRIORS_KEY": "0xYOUR_AGENT_WALLET_KEY",
        "PRIORS_AGENT_ID": "1234"
      }
    }
  }
}

For read-only use, leave out env.

Claude Code

A project .mcp.json that reads the key from your shell's environment, so the file holds no secret:

{
  "mcpServers": {
    "priors": {
      "command": "npx",
      "args": ["-y", "@priors/[email protected]"],
      "env": {
        "PRIORS_KEY": "${PRIORS_KEY}",
        "PRIORS_AGENT_ID": "${PRIORS_AGENT_ID:-}"
      }
    }
  }
}

Do not pass the key itself to claude mcp add (for example with -e PRIORS_KEY=…), because program arguments are visible to other users through ps. Priors also ships a Claude Code plugin (/plugin marketplace add priors-agents/priors, then /plugin install priors@priors-agents) that installs its skill and the hosted read-only server.

Cursor and VS Code

Use the same command, args and env block in Cursor's mcp.json, or in VS Code's MCP configuration under servers.

Key features of Priors

  • x402 payments: pay_url fetches an https URL and pays its HTTP 402 in USDG if the price is within max_price_usd (default $0.10).
  • Credit line: borrow USDG into the wallet with a quoted fee (dry_run shows it first) and repay principal plus fee before the due date.
  • Public reputation: look up any agent's Priors score (0 to 1000) and repayment record before trusting, paying or lending to it.
  • Autopay: optionally approve AutoRepay so each loan is repaid from the wallet in the 6 hours before it is due.
  • Savings and PT-USDG: park spare USDG in a Morpho vault (Steakhouse USDG by default), or buy, sell and redeem Pendle's PT-USDG.
  • Spending caps: per-call and per-run limits such as PRIORS_MAX_PRICE_USD (1.00), PRIORS_MAX_SPEND_USD (5) and PRIORS_MAX_BORROW_USD (25), plus per-day limits and an exact host allow-list (PRIORS_PAY_HOSTS) from 0.8.0.
  • Safety behaviour: money-moving tools are marked destructive, state amounts, tell the assistant to confirm first, run one at a time, and never sign a second payment for a purchase that is still pending.

Priors tools

The listing shows 19 tools.

  • Read-only (no key needed with an address or agent id): wallet_balance, credit_status, score_of, stock_assets, stock_position, savings, pt_quote, pt_position and find_services (services registered with the Priors facilitator that accept USDG).
  • Payments and credit (key): pay_url, borrow, repay, autopay_on and autopay_off.
  • Savings (key): save and unsave.
  • PT-USDG (key): pt_buy, pt_sell and pt_redeem; PRIORS_PT=off removes the PT tools.

Use cases of Priors

  • Check before trusting an agent: "What's the Priors score of agent 6228?"
  • Wallet check: "How much USDG does my wallet hold?"
  • Find paid APIs: "Find services that sell token prices."
  • Pay per call: "Pay https://api.example.com/report, up to 5 cents."
  • Short-term working capital: "Borrow $5 for 7 days, show me the fee first."

Troubleshooting Priors MCP Server

  • Money tools refuse to run: no key is set, or the PRIORS_KEY_FILE file is readable by others; the server then starts with only the read-only tools and says what to fix.
  • The server exits at start: a key-shaped command-line argument, both PRIORS_KEY and PRIORS_KEY_FILE set, a daily limit without PRIORS_AGENT_ID, or a wildcard in PRIORS_PAY_HOSTS all stop it.
  • Wrong agent found: the automatic lookup only finds identities minted to the wallet since the v2 deploy; set PRIORS_AGENT_ID for older, bought or transferred identities.

Frequently asked questions

1 Is this the official Priors MCP server?

Yes. @priors/mcp is published from the priors-agents/priors repository, and the hosted read-only server at mcp.priors.trade is run by the same project.

2 Does it move real money?

Yes, when a key is set. It acts on Robinhood Chain mainnet with real USDG, so use a dedicated wallet with a small balance and keep the spending caps low.

3 Is the protocol audited?

The README says Priors v2 has had several internal adversarial reviews and a second-model review of the fixes, but no third-party audit, and advises sizing exposure accordingly.

4 Do I need a key to try it?

No. The hosted server https://mcp.priors.trade/mcp and the local server without env both work read-only. A key is needed only to pay, borrow, repay, save or trade PT-USDG.

5 What does borrowing cost?

Each loan carries a fee repaid with the principal; the README gives about $0.012 on $5 for 7 days as an example. The wallet also needs a little native gas.

6 Which clients does it work with?

Claude Desktop, Claude Code and any MCP client that runs a stdio server; the hosted server works with Claude, Codex, ChatGPT developer mode, Cursor and VS Code.

Videos

Tutorials, guides, and showcases related to Priors MCP Server. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬