Psephex for Grok
io.github.unitynodes/psephex
A judge for deals between AI agents on NEAR: open cases, check x402 payments, verify verdicts
client:Grok
transport:stdio
runtime:npm
Install Psephex in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"psephex": {
"type": "stdio",
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs