RustChain Server
БесплатноНе проверенEnables MCP-compatible clients to query the RustChain blockchain, check balances, list miners, view epoch info, check network health, transfer RTC, and browse r
Описание
Enables MCP-compatible clients to query the RustChain blockchain, check balances, list miners, view epoch info, check network health, transfer RTC, and browse recent transactions and bounties.
README
An MCP (Model Context Protocol) server for RustChain that allows Claude Code and other MCP-capable clients to query the blockchain and perform core actions directly from the terminal.
Features
Required Tools (Implemented)
- ✅
rustchain_balance- Get RTC balance of any address - ✅
rustchain_miners- List active miners on the network - ✅
rustchain_epoch- Get current epoch information - ✅
rustchain_health- Check health status of all nodes - ✅
rustchain_transfer- Transfer RTC (requires private key)
Bonus Tools (Implemented)
- ✅
rustchain_ledger- View recent transactions - ✅
rustchain_bounties- Get open bounty information
Installation
Prerequisites
- Node.js 18+
- npm or yarn
Install from Source
# Clone the repository
git clone https://github.com/Async777/rustchain-mcp-server.git
cd rustchain-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
Configuration
Add to Claude Code
# Add the MCP server to Claude Code
claude mcp add rustchain node /path/to/rustchain-mcp-server/dist/index.js
Or manually edit your Claude Code configuration:
{
"mcpServers": {
"rustchain": {
"command": "node",
"args": ["/path/to/rustchain-mcp-server/dist/index.js"]
}
}
}
Usage Examples
Once configured, you can use these tools in Claude Code:
# Check your balance
What is my RTC balance for address RTCc29259460d01e6aca70b16f044852dddd0369c0d?
# List miners
Show me the top 5 miners on RustChain
# Check network health
Is the RustChain network healthy?
# Get epoch info
What is the current epoch?
# View recent transactions
Show me the last 10 ledger entries
Node Configuration
The server uses the following node priority:
- Primary:
https://50.28.86.131 - Fallback 1:
https://rustchain.org - Fallback 2:
https://node2.rustchain.org
If the primary node is unavailable, the server automatically tries fallback nodes.
API Endpoints Used
| Tool | Endpoint |
|---|---|
| rustchain_balance | GET /wallet/balance?miner_id={address} |
| rustchain_miners | GET /miners?limit={n} |
| rustchain_epoch | GET /epoch/current |
| rustchain_health | GET /health |
| rustchain_transfer | POST /wallet/transfer |
| rustchain_ledger | GET /ledger?limit={n} |
Security Notes
- Private Keys: The
rustchain_transfertool requires your private key. Only use this in secure environments. - Node Verification: The server validates node health before performing sensitive operations.
- Fallback Protection: If all nodes are unreachable, operations fail gracefully with clear error messages.
Development
# Run in development mode (auto-rebuild)
npm run dev
# Build for production
npm run build
# Start the server
npm start
Bounty Information
This project was built for RustChain Bounty #1152:
- Bounty: 75-100 RTC
- Scope: MCP Server for RustChain
- Repository: https://github.com/Scottcjn/rustchain-bounties/issues/1152
License
MIT
Author
Async777
- Wallet: RTCc29259460d01e6aca70b16f044852dddd0369c0d
Установка RustChain Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Async777/rustchain-mcp-serverFAQ
RustChain Server MCP бесплатный?
Да, RustChain Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для RustChain Server?
Нет, RustChain Server работает без API-ключей и переменных окружения.
RustChain Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить RustChain Server в Claude Desktop, Claude Code или Cursor?
Открой RustChain Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare RustChain Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
