Nerve RPC MCP — Nerve Blockchain for AI Agents
About
Nerve blockchain JSON-RPC & REST MCP server for AI agents. Query NVT balances, validate addresses, get transaction history, and swap tokens via NerveSwap DEX. No gas fees on Nerve network. No private key required. npm: nerve-rpc-mcp
Explore
- 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.
---
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Nerve RPC MCP — Nerve Blockchain for AI AgentsCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
cd "nerve rpc mcp"
npm install
npm run build
Add to your MCP client config (Cursor, Claude Desktop, etc.) — replace <PATH_TO_NERVE_AGENT>:
{
"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"
}
}
}
}
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
nerve_info
Get Nerve chain info (chainId, assetId, symbol, addressPrefix, consensus assets, etc.)
nerve_get_latest_height
Get the latest main chain block height for a chain
nerve_get_best_block_header
Get the latest block header (hash, height, txCount, packingAddress, etc.)
nerve_validate_address
Validate if a Nerve address is correct for the given chain
nerve_get_account_balance
Query account balance for a specific asset (chainId, assetChainId, assetId, address)
nerve_get_balance_list
Query balance list for an address and optional asset IDs
nerve_get_block_by_height
Get block (header + transactions) by block height
nerve_get_block_by_hash
Get block (header + transactions) by block hash
nerve_get_header_by_height
Get block header only by height
nerve_get_tx
Get transaction by transaction hash
nerve_get_agent_list
Get list of consensus nodes (agents) for the chain
nerve_get_deposit_list
Get delegation list for a consensus node (by agent creation tx hash)
nerve_jsonrpc
Call any Nerve JSON-RPC method by name with params array. Use for methods not covered by dedicated tools (e.g. getRandomSeedByCount, getProposalInfo, swap/farm APIs).
nerve_rest
Call Nerve REST API by path. Method GET by default; pass body for POST. Base URL is from NERVE_API_BASE_URL (default https://api.nerve.network). Example paths: api/info, api/block/header/height/1000, api/tx/{hash}
- nerve_info: Get Nerve chain info (chainId, assetId, symbol, addressPrefix, consensus assets, etc.)
- nerve_get_latest_height: Get the latest main chain block height for a chain
- nerve_get_best_block_header: Get the latest block header (hash, height, txCount, packingAddress, etc.)
- nerve_validate_address: Validate if a Nerve address is correct for the given chain
- nerve_get_account_balance: Query account balance for a specific asset (chainId, assetChainId, assetId, address)
- nerve_get_balance_list: Query balance list for an address and optional asset IDs
- nerve_get_block_by_height: Get block (header + transactions) by block height
- nerve_get_block_by_hash: Get block (header + transactions) by block hash
- nerve_get_header_by_height: Get block header only by height
- nerve_get_tx: Get transaction by transaction hash
- nerve_get_agent_list: Get list of consensus nodes (agents) for the chain
- nerve_get_deposit_list: Get delegation list for a consensus node (by agent creation tx hash)
- nerve_jsonrpc: Call any Nerve JSON-RPC method by name with params array. Use for methods not covered by dedicated tools (e.g. getRandomSeedByCount, getProposalInfo, swap/farm APIs).
- nerve_rest: Call Nerve REST API by path. Method GET by default; pass body for POST. Base URL is from NERVE_API_BASE_URL (default https://api.nerve.network). Example paths: api/info, api/block/header/height/1000, api/tx/{hash}
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"nerve rpc mcp \u2014 nerve blockchain for ai agents": {
"nerve-rpc": {
"command": "npx",
"args": [
"-y",
"nerve-rpc-mcp"
]
}
}
}
}
McpServers
{
"nerve-rpc": {
"command": "npx",
"args": [
"-y",
"nerve-rpc-mcp"
]
}
}
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.
- GitHub: NerveNetwork
- Website: nerve.network
---
Repository Structure
| Path | Description |
|------|-------------|
| 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
git clone https://github.com/NerveNetwork/nerve-agent.git
cd nerve-agent
2. Build and configure Nerve RPC MCP
cd "nerve rpc mcp"
npm install
npm run build
Add to your MCP client config (Cursor, Claude Desktop, etc.) — replace <PATH_TO_NERVE_AGENT>:
{
"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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



