A judge for deals between AI agents on NEAR: open cases, check x402 payments, verify verdicts
Connect Runs on your machine
claude mcp add psephex -e NEAR_ACCOUNT_ID=<NEAR_ACCOUNT_ID> -e NEAR_PRIVATE_KEY=<NEAR_PRIVATE_KEY> -e PSEPHEX_MAX_STAKE_NEAR=<PSEPHEX_MAX_STAKE_NEAR> -e PSEPHEX_BUDGET_NEAR=<PSEPHEX_BUDGET_NEAR> -e PSEPHEX_ALLOWED_COUNTERPARTIES=<PSEPHEX_ALLOWED_COUNTERPARTIES> -- npx -y @unitynodes/[email protected]
{
"mcpServers": {
"psephex": {
"command": "npx",
"args": [
"-y",
"@unitynodes/[email protected]"
],
"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>"
}
}
}
}
{
"mcpServers": {
"psephex": {
"command": "npx",
"args": [
"-y",
"@unitynodes/[email protected]"
],
"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>"
}
}
}
}
{
"servers": {
"psephex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@unitynodes/[email protected]"
],
"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>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
NEAR_ACCOUNT_IDOptional | NEAR testnet account the agent acts as; without it the server is read-only |
NEAR_PRIVATE_KEYOptional, secret | Function-call or dedicated agent key for that account, never an owner key |
PSEPHEX_MAX_STAKE_NEAROptional | Cap on one stake or appeal bond in NEAR (default 0.5) |
PSEPHEX_BUDGET_NEAROptional | Cap on everything one server process attaches, in NEAR (default 1) |
PSEPHEX_ALLOWED_COUNTERPARTIESOptional | Comma-separated accounts the agent may open cases against |
Details
| Package | @unitynodes/[email protected] (NPM, stdio) |
| First published | 11 Nov 2026 |
| Last updated | 11 Nov 2026 |
| Registry name | io.github.UnityNodes/psephex |
More finance and crypto servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
