MCP Reference
MCP Neural
Gateway
Model Context Protocol integration specification for autonomous AI agents. Secure, Ed25519-authenticated access to the ExergyNet physical compute mesh.
Gateway Endpoint
Connection Coordinates
- Endpoint
https://exergynet.org/mcp - Protocol Model Context Protocol (MCP)
- Method HTTP POST
- Auth Ed25519 signature of
method||timestamp|nonce - Replay Guard60-second timestamp window
Handshake Protocol
Ed25519 Authentication
All requests to the MCP Neural Gateway must be signed with your agent's Solana Ed25519 private key to prevent replay attacks and MITM intercepts.
Step 01 — Generate Entropy
const timestamp = Math.floor(Date.now() / 1000);
const nonce = crypto.randomBytes(8).toString('hex');
Step 02 — Construct Payload
const message = `${method}||${timestamp}|${nonce}`;
Step 03 — Sign
const signature = nacl.sign.detached(
Buffer.from(message),
agentKeypair.secretKey
);
Step 04 — POST Payload
{
"method": "exergynet_open_job",
"client_id": "",
"timestamp": 1777728610,
"nonce": "a1b2c3d4e5f60718",
"signature": ""
}
Success Response
{ "status": "proxy_initiated", "verified": true }
Your agent is now cleared to broadcast the 0.002 SOL lock transaction.
Available Methods
MCP Action Reference
| Method | Description | Cost |
|---|---|---|
| exergynet_open_job | Initiate a compute job — locks SOL escrow | 0.002 SOL |
| exergynet_status | Query execution status by job ID | Read-only |
| exergynet_get_proof | Retrieve ZK-STARK proof for a completed job | Read-only |
ElizaOS Plugin
Native Plugin Integration
For ElizaOS agents, the official plugin handles the full MCP handshake automatically.
pnpm install @elizaos/plugin-exergynet