exergynet-mcp-server
Read-only MCP lookups for the ExergyNet LNES-03 program on Solana, plus a local compute-cost estimator. Part of ExergyNet, model-independent infrastructure for persistent memory, governed execution, and verifiable settlement — see exergynet.org.
Security advisory (2026-08-28)
A prior version of this package (versions up to and including 0.2.2) shipped a working exergynet_open_job tool that, once a user configured a real wallet, sent a real Base Mainnet transaction — including an unconditional, unlimited USDC spending approval — to a contract address that ExergyNet's own status page identifies as retired, with access control that cannot be independently verified. No evidence was found of any independent (non-developer) wallet ever having used this path. Full detail: MCP_SECURITY_ADVISORY_2026-08-28.md in the exergynet-site repository.
As of 0.2.3, exergynet_open_job is disabled. It always returns a fail-closed message and does not construct, sign, or submit any transaction under any configuration. This version has no signing dependency at all (ethers and viem have been removed) and does not read or require any private key. 0.2.4 additionally fixes input-validation and audit-logging gaps found by an independent MCP security scan — see below.
If you installed a version before 0.2.3 and configured a real BASE_PRIVATE_KEY, revoke any USDC approval you may have granted to 0x5cfE075149776f4b3cca07a27D4fd85A60BA5e3f on Base Mainnet (e.g. via revoke.cash) and upgrade immediately.
Independent security scan remediation (0.2.4)
An earlier build (0.1.10) was independently scanned by MCP Vouch against the OWASP MCP Top 10 and scored 71/100 (Grade C), with four warnings: input validation, audit/telemetry, rate limiting, and supply chain risk. 0.2.4 addresses all four in the current tool set:
- Input validation:
exergynet_estimate_gateandexergynet_verify_programnow reject non-finite, negative, or malformed input with a clear error instead of silently coercing it. - Audit/telemetry: every tool call is logged to stderr with a timestamp and outcome.
- Rate limiting:
exergynet_verify_program(the only tool making an outbound network call) is limited to 20 calls per 10-second window. - Supply chain:
ethers/viemwere already removed in 0.2.3.npm audit fixwas applied for the transitivewsvulnerability in 0.2.4. The remaining moderate-severityuuidadvisory (reachable via@solana/web3.js→jayson→uuid@8.3.2) is resolved in 0.2.5 with a targetedoverridesentry pinningjayson'suuiddependency to^11.1.1, without downgrading@solana/web3.jsitself.npm auditreports 0 vulnerabilities after this change. Verified safe, not just applied blindly: full rebuild, all 9 regression tests passing, and a live network call throughexergynet_verify_programagainst Solana Mainnet-Beta confirmed the override doesn't change RPC behavior.
A fresh independent rescan will be requested once a version is published; results (old vs. new) will be recorded rather than the 71/100 figure being quietly dropped.
What this package is
exergynet-mcp-server is the settlement-surface MCP server: read-only LNES-03 Solana program lookups plus a local compute-cost estimator. It is one interface into the broader ExergyNet fabric.
ExergyNet is model-independent infrastructure for autonomous AI systems — persistent memory, governed execution, and verifiable settlement. The three primary interfaces are:
| Interface | Package | What it exposes |
|---|---|---|
| Local persistent memory | @lnes/vanguard-memory-node | BM25 search, SHA-256-addressed shard store, xLMP bounded recall (validated at mean K ≈ 896 tokens across a ~10M-token corpus) |
| Settlement surface (this package) | exergynet-mcp-server | Read-only LNES-03 Solana lookups + compute cost estimator; write settlement (exergynet_open_job) disabled pending Base L2 migration |
| Authority gate | LNES-22 (separate service) | Consequence authorization, delegation receipts, red-team-validated rejection logic |
If you want persistent local memory for your AI agent, install @lnes/vanguard-memory-node. If you want to query LNES-03 program state or estimate compute costs, install this package.
Quick Install
npx -y exergynet-mcp-server
Claude Code
claude mcp add --transport stdio exergynet -- npx -y exergynet-mcp-server
Claude Desktop / ElizaOS / Other MCP Clients
{
"mcpServers": {
"exergynet": {
"command": "npx",
"args": ["-y", "exergynet-mcp-server"]
}
}
}
No private key or wallet credential is required or accepted by this server. RPC_URL is optional and defaults to the public Solana Mainnet-Beta endpoint.
Tools
| Tool | What it does | Network call? | Can it move funds or sign anything? |
|---|---|---|---|
exergynet_get_program_id | Returns the LNES-03 Solana program ID | No — static value | No |
exergynet_verify_program | Read-only check that the LNES-03 program account exists and is executable on Solana | Yes — one read-only RPC call (rate-limited: 20/10s) | No |
exergynet_get_proof_transaction | Returns a reference LNES-03 settlement transaction signature | No — static value | No |
exergynet_estimate_gate | Local arithmetic: compares an external compute cost against a settlement cost + risk margin | No — local arithmetic only | No |
exergynet_open_job | Disabled. Always returns a fail-closed message (security advisory 2026-08-28) | No | No — no signing capability in this version |
Write-tool maturity
exergynet_open_job will remain disabled until a current Base L2 execution target is independently verified end-to-end — correct chain ID, correct contract identity, matching ABI, and a live settlement path (a real prover producing the ZK receipt that settleExergy requires) — and that verification is documented publicly. A version that re-enables it will state exactly which contract it targets and how a caller can independently confirm that before any transaction is possible. Until then: no ExergyNet MCP tool in this package will ever ask for a private key or send a transaction.
For current, verified Base L2 contract addresses and settlement status, see exergynet.org/proof.html.
Machine Discovery
ExergyNet is built to be discovered by AI agents, not humans browsing a docs page.
- Well-known endpoint:
https://exergynet.org/.well-known/exergynet.json— capabilities manifest - LLMs.txt:
https://exergynet.org/llms.txt— protocol description in model-readable form - MCP server card:
https://exergynet.org/.well-known/mcp/server-card.json - MCP Registry:
io.github.ezumba/exergynet
Authority Boundary
AI can propose consequences. AI cannot authorize its own consequences.
The Consequence Boundary (LNES-22) is architecturally separate from this server. This package exposes read-only program lookups and a local cost estimator. When exergynet_open_job is re-enabled, it will operate within your explicitly granted spending authority only — the model layer never holds signing credentials for consequential actions.
See SECURITY.md for the x402 attack-class analysis and ExergyNet's architectural controls.
Compatible Agents
- Claude (Claude Code, Claude Desktop)
- ElizaOS
- Any MCP-compatible agent runtime
Links
- exergynet.org
- npm: exergynet-mcp-server
- npm: @lnes/vanguard-memory-node — companion local memory package
- GitHub
- MCP Registry —
io.github.ezumba/exergynet - Whitepaper
- Benchmarks
License
MIT © ezumba