Skip to content
Zed

Psephex for Zed

io.github.unitynodes/psephex

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

client:Zed transport:stdio runtime:npm

Install Psephex in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "psephex": {
      "command": "npx",
      "args": [
        "-y",
        "@unitynodes/psephex-mcp"
      ],
      "env": {
        "NEAR_ACCOUNT_ID": "<NEAR_ACCOUNT_ID>",
        "NEAR_PRIVATE_KEY": "<NEAR_PRIVATE_KEY>",
        "PSEPHEX_MAX_STAKE_NEAR": "<PSEPHEX_MAX_STAKE_NEAR>",
        "PSEPHEX_BUDGET_NEAR": "<PSEPHEX_BUDGET_NEAR>",
        "PSEPHEX_ALLOWED_COUNTERPARTIES": "<PSEPHEX_ALLOWED_COUNTERPARTIES>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Psephex in other clients