Nerve Rpc

io.github.reagost由 GitHub 帳號 reagost 發布v1.0.2更新於 Oct 24, 2026

MCP server for Nerve blockchain JSON-RPC & REST API for AI Agents

已驗證STDIO僅桌面金融開發者工具

概覽

AI 產生的概覽

一個本機 MCP 伺服器,將 Nerve 區塊鏈的 JSON-RPC 與 REST API 提供給助理,用來查詢餘額、地址與付款。

可以做什麼
透過以工具形式提供的 JSON-RPC 與 REST 介面查詢 Nerve 區塊鏈資料,例如依資產查詢收款金額與帳戶餘額(清單未列出個別工具)。在本機建立並驗證 Nerve 地址,金鑰採非託管方式。支援直接以地址資產付款,或先經 NerveSwap 兌換再付款。搭配隨附的 AI 技能進行 PayBox 多鏈收款、訂單查詢與 webhook 簽章驗證。
適用情境
適合建置或運作需要在 Nerve 區塊鏈上收款、付款、兌換或查詢餘額的 AI 代理,或需要串接 PayBox 多鏈收款的情境。較適合使用 Nerve 代理支付框架的開發者,而非一般區塊鏈查詢。
執行需求
以 Node.js 本機程序執行,可從儲存庫建置或以 npx 啟動。README 設定將 NERVE_API_BASE_URL 指向 Nerve API 位址。需要能連線至 Nerve API 的網路。PayBox 功能需要註冊 Nabox ID、收款地址與回呼 URL。
安裝前請注意
這是支付與錢包類軟體:涉及本機產生的帳戶與簽章,設定不當會使金鑰與資金面臨風險。工具可發起鏈上付款與兌換,會轉移真實資產;PayBox 收款涉及第三方服務與 webhook 驗證。在讓助理自主操作前請先檢視設定。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Nerve Rpc,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Nerve Agent — AI Payment Framework & MCP

Nerve Agent payment framework and Nerve RPC MCP for developers and AI Agents: receive, pay, swap, and query balances. Decentralized protocol, locally generated and managed accounts, no gas fees, fast confirmation.

Also includes PayBox integration: accept payments from Ethereum, BSC, Polygon, TRON, NULS, NERVE — receive USDT on your Nerve address automatically.


Repository Structure

PathDescription
agent-payment-framework/Payment framework docs: receiver / payer / PayBox / local accounts
nerve rpc mcp/Nerve RPC MCP server: exposes Nerve JSON-RPC / REST as MCP tools
nerveswap sdk/NerveSwap JS SDK and Nerve public API reference
.cursor/skills/nerve-agent-payment/AI Skill: Nerve receive, pay, balance, address, NerveSwap
.cursor/skills/paybox-payment/AI Skill: PayBox multi-chain collection via Nerve address

Quick Start

1. Clone the repository

bash
git clone https://github.com/NerveNetwork/nerve-agent.gitcd nerve-agent

2. Build and configure Nerve RPC MCP

bash
cd "nerve rpc mcp"npm installnpm run build

Add to your MCP client config (Cursor, Claude Desktop, etc.) — replace <PATH_TO_NERVE_AGENT>:

json
{  "mcpServers": {    "nerve-rpc": {      "command": "node",      "args": ["<PATH_TO_NERVE_AGENT>/nerve rpc mcp/dist/index.js"],      "env": {        "NERVE_API_BASE_URL": "https://api.nerve.network"      }    }  }}

3. Install AI Skills

Skills are stored in .opencode/skills/ (OpenCode-native) and .cursor/skills/ (Cursor-compatible).

Project level (auto-loaded when you open this repo in OpenCode or Cursor):

bash
git clone https://github.com/NerveNetwork/nerve-agent.git# Skills are detected automatically in .opencode/skills/ and .cursor/skills/

User-wide (available in all your projects):

OpenCode / OpenClaw (native path)
bash
mkdir -p ~/.config/opencode/skills/nerve-agent-paymentcurl -o ~/.config/opencode/skills/nerve-agent-payment/SKILL.md \  https://raw.githubusercontent.com/NerveNetwork/nerve-agent/main/.opencode/skills/nerve-agent-payment/SKILL.md
mkdir -p ~/.config/opencode/skills/paybox-paymentcurl -o ~/.config/opencode/skills/paybox-payment/SKILL.md \  https://raw.githubusercontent.com/NerveNetwork/nerve-agent/main/.opencode/skills/paybox-payment/SKILL.md
Cursor
bash
mkdir -p ~/.cursor/skills/nerve-agent-paymentcurl -o ~/.cursor/skills/nerve-agent-payment/SKILL.md \  https://raw.githubusercontent.com/NerveNetwork/nerve-agent/main/.cursor/skills/nerve-agent-payment/SKILL.md
mkdir -p ~/.cursor/skills/paybox-paymentcurl -o ~/.cursor/skills/paybox-payment/SKILL.md \  https://raw.githubusercontent.com/NerveNetwork/nerve-agent/main/.cursor/skills/paybox-payment/SKILL.md

After installing, restart your AI client. Skills auto-load when relevant tasks are detected.

Also add a npx MCP config (after publishing to npm):

json
{  "mcpServers": {    "nerve-rpc": {      "command": "npx",      "args": ["-y", "nerve-rpc-mcp"]    }  }}

Skills Overview

nerve-agent-payment

AI skill for Nerve blockchain payment integration.

Triggers automatically when: creating Nerve address, checking NVT balance, receiving crypto, paying on-chain, using NerveSwap, building Agent wallets.

Covers:

  • Create / validate Nerve address (nerve-sdk-js, non-custodial)
  • Query received amounts by asset (Nerve RPC MCP)
  • Pay directly with address assets (NerveSwap SDK)
  • Swap then pay (NerveSwap SDK)
  • Local signing for Agent/server use
  • MCP tools quick reference and setup

paybox-payment

AI skill for PayBox multi-chain payment collection.

Triggers automatically when: accepting payments from multiple chains, integrating PayBox, handling cross-chain collection, verifying PayBox webhook callbacks, querying PayBox orders.

Covers:

  • Prerequisites: Nabox ID registration, collection address, callback URL
  • Payment page invocation (testnet + mainnet URLs)
  • Webhook signature verification (ECDSA, Java + TypeScript examples)
  • Query APIs: chains, assets, price, order status
  • Integration checklist
  • TypeScript API client example

Capabilities Overview

  • Receiver (Nerve): Create address locally → share → query received currency and amount via MCP.
  • Payer (Nerve): Query assets via MCP → pay directly or swap via NerveSwap then pay.
  • PayBox Merchant: Register Nabox ID → accept payments from 6+ chains → receive USDT on Nerve.
  • Protocol: Decentralized; accounts generated and managed locally, keys never custodial.
  • Nerve: Fast confirmation (~2s), no gas fees — suited for AI and high-frequency payments.

Links


Pushing to GitHub

bash
git remote add origin https://github.com/NerveNetwork/nerve-agent.gitgit branch -M maingit push -u origin main

Add Topics: nerve, mcp, blockchain, agent, payment, nerveswap, paybox, cross-chain.


License

MIT

來源:README.md,提交 c5696c0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。