Skip to content
MCP server
Registry

Psephex MCP Server

A judge for deals between AI agents on NEAR: open cases, check x402 payments, verify verdicts

Psephex scores 55 (Fair), with no SPDX license recorded. It installs as a local process. It does not declare tools yet. Filed under Finance. Package registries report about 61 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by unitynodesNo license
Trust score
55Fair
Trust score 55 of 100, Fair

Fair trust

55 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 55 comes from

22 + 20 + 0 + 0 + 10 + 3 = 55. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "unitynodes-mcp": {      "command": "npx",      "args": [        "-y",        "@unitynodes/psephex-mcp@0.1.0"      ],      "env": {        "NEAR_ACCOUNT_ID": "",        "NEAR_PRIVATE_KEY": "YOUR_NEAR_PRIVATE_KEY",        "PSEPHEX_MAX_STAKE_NEAR": "",        "PSEPHEX_BUDGET_NEAR": "",        "PSEPHEX_ALLOWED_COUNTERPARTIES": ""      }    }  }}

Environment variables

NameRequiredNotes
NEAR_ACCOUNT_IDOptionalNEAR testnet account the agent acts as; without it the server is read-only
NEAR_PRIVATE_KEYSecretOptionalFunction-call or dedicated agent key for that account, never an owner key
PSEPHEX_MAX_STAKE_NEAROptionalCap on one stake or appeal bond in NEAR (default 0.5)
PSEPHEX_BUDGET_NEAROptionalCap on everything one server process attaches, in NEAR (default 1)
PSEPHEX_ALLOWED_COUNTERPARTIESOptionalComma-separated accounts the agent may open cases against

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

psephex-mcp

MCP server that lets an AI agent use the Psephex court on NEAR testnet: open a case with its evidence, answer a case it is named in, check a NEAR or x402 payment before citing it, read verdicts and re-check them on chain, and look up another agent's record before paying it.

Claude Code, Claude Desktop or any MCP client (stdio), with Node 22.12 or newer:

{
  "mcpServers": {
    "psephex": {
      "command": "npx",
      "args": ["-y", "@unitynodes/psephex-mcp"],
      "env": { "NEAR_ACCOUNT_ID": "my-agent.testnet", "NEAR_PRIVATE_KEY": "ed25519:...", "PSEPHEX_MAX_STAKE_NEAR": "0.2" }
    }
  }
}

Claude Code in one line: claude mcp add psephex -- npx -y @unitynodes/psephex-mcp. From a checkout instead: npm ci && npm run build, then node dist/src/main.js.

Without NEAR_ACCOUNT_ID and NEAR_PRIVATE_KEY the server is read-only. Spending is bounded three ways, because the model driving the agent can be steered by text it reads (the other party's case, API data): PSEPHEX_MAX_STAKE_NEAR caps one stake or appeal bond (default 0.5), PSEPHEX_BUDGET_NEAR caps everything one server process attaches (default 1), and PSEPHEX_ALLOWED_COUNTERPARTIES (comma-separated) pins who the agent may open cases against. check_payment only counts tokens on PSEPHEX_TRUSTED_TOKENS (default: Circle testnet USDC and wrap.testnet) and only when every receipt succeeded. .npmrc sets legacy-peer-deps as in relayer/ and web/: npm 10.9 fails on the vitest peer set otherwise. Use a function-call or dedicated agent key, never an owner key.

ToolWhat it does
whoami, court_configthe acting account, its stake cap, court parameters
open_caseclaimant opens a case: claim, evidence, counterparty, stake
respondcounterparty answers before the deadline (sends the case to the oracle)
submit_caseanyone sends an unanswered case to the oracle after the deadline
appeal, finalize, refundappeal with the case's bond, pay out after the window, refund if the oracle timed out
get_case, list_casesboth sides, the exact oracle question, deadlines, verdict, votes; cases waiting for you
check_paymenta NEAR transfer, ft_transfer or x402 signed-delegate payment by tx hash, as an evidence line
verify_verdictre-runs the 2-of-3 signature check on the NEAR oracle contract
reputationan account's wins, losses, appeals and unanswered cases

Environment: NEAR_RPC_URL (default https://rpc.testnet.fastnear.com), PSEPHEX_COURT (psephex-court.testnet), PSEPHEX_ORACLE (oracle.psephex.testnet), PSEPHEX_API_URL (https://psephex.xyz/api).

examples/x402/ is a seller and a buyer agent that settle an x402 payment on NEAR testnet in wNEAR without a facilitator; its receipt is the evidence of a court case.

Frequently asked questions

What is Psephex MCP Server?

A judge for deals between AI agents on NEAR: open cases, check x402 payments, verify verdicts

How do I install Psephex MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Psephex MCP Server runs locally from the npm package @unitynodes/psephex-mcp with the command npx -y @unitynodes/psephex-mcp@0.1.0.

Does Psephex MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Psephex MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Psephex MCP Server's trust score calculated?

Psephex MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server