Psephex for VS Code
io.github.unitynodes/psephex
A judge for deals between AI agents on NEAR: open cases, check x402 payments, verify verdicts
client:VS Code
transport:stdio
runtime:npm
Install Psephex in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "near-account-id",
"description": "NEAR_ACCOUNT_ID",
"password": true
},
{
"type": "promptString",
"id": "near-private-key",
"description": "NEAR_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "psephex-max-stake-near",
"description": "PSEPHEX_MAX_STAKE_NEAR",
"password": true
},
{
"type": "promptString",
"id": "psephex-budget-near",
"description": "PSEPHEX_BUDGET_NEAR",
"password": true
},
{
"type": "promptString",
"id": "psephex-allowed-counterparties",
"description": "PSEPHEX_ALLOWED_COUNTERPARTIES",
"password": true
}
],
"servers": {
"psephex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@unitynodes/psephex-mcp"
],
"env": {
"NEAR_ACCOUNT_ID": "${input:near-account-id}",
"NEAR_PRIVATE_KEY": "${input:near-private-key}",
"PSEPHEX_MAX_STAKE_NEAR": "${input:psephex-max-stake-near}",
"PSEPHEX_BUDGET_NEAR": "${input:psephex-budget-near}",
"PSEPHEX_ALLOWED_COUNTERPARTIES": "${input:psephex-allowed-counterparties}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs