rustchain-mcp-server
Provides tools to fetch and list open bounty issues from GitHub for the RustChain project.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rustchain-mcp-serverWhat's the current epoch?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
πΎ RustChain MCP Server
Bounty: #2859 - 25 RTC
Status: β
Complete
Version: 1.0.0
π Quick Start
One-Line Install & Run
npx rustchain-mcp-serverClaude Code Configuration
Add to your ~/.claude/settings.json:
{
"mcpServers": {
"rustchain": {
"command": "npx",
"args": ["rustchain-mcp-server"]
}
}
}Cursor / VS Code Configuration
Add to your .vscode/settings.json:
{
"mcp.servers": {
"rustchain": {
"command": "npx",
"args": ["rustchain-mcp-server"]
}
}
}Related MCP server: Ethereum MCP Server
π οΈ Available Tools
Tool | Description | Example |
| Check node health status | Get node status, epoch, attestations |
| Query wallet balance | Check RTC balance for any wallet |
| List active miners | See all miners and their status |
| Current epoch info | Get epoch number and settlement time |
| List open bounties | Browse available bounty tasks |
| Register new wallet | Create wallet for AI agent |
| Submit hardware fingerprint | Attest miner hardware |
π Usage Examples
Check Node Health
User: Check RustChain node health
Assistant: [calls rustchain_health]
Result: {
"status": "healthy",
"epoch": 42,
"next_settlement": "14:32:45",
"active_miners": 12
}Query Wallet Balance
User: What's my RTC balance?
Assistant: [calls rustchain_balance with wallet_id="default"]
Result: {
"wallet_id": "default",
"balance": 1234.56,
"balance_usd": 123.46
}List High-Value Bounties
User: Show bounties worth at least 50 RTC
Assistant: [calls rustchain_bounties with min_rtc=50]
Result: [
{
"number": 2890,
"title": "[BOUNTY: 100 RTC] AgentFolio β Beacon Integration",
"url": "https://github.com/..."
},
...
]βοΈ Configuration
Environment Variables
Variable | Default | Description |
|
| RustChain node API URL |
|
| Default wallet name |
Example with Custom Config
export RUSTCHAIN_NODE_URL="https://50.28.86.131"
export RUSTCHAIN_WALLET="my-agent-wallet"
npx rustchain-mcp-serverποΈ Development
Local Installation
# Clone
git clone https://github.com/zhaog100/rustchain-mcp-server.git
cd rustchain-mcp-server
# Install dependencies
npm install
# Build
npm run build
# Run locally
npm startDevelopment Mode
# Auto-rebuild on changes
npm run devTesting
# Run tests
npm testπ¦ API Endpoints
The MCP server uses these RustChain APIs:
Endpoint | Tool | Purpose |
|
| Node health check |
|
| Wallet balance |
|
| List miners |
|
| Epoch info |
GitHub Issues API |
| Open bounties |
π― Integration Examples
Claude Code
After configuring in ~/.claude/settings.json:
Claude, check my RustChain wallet balance
Claude, show me open bounties over 50 RTC
Claude, is the RustChain node healthy?Cursor
After configuring in .vscode/settings.json:
@rustchain What's the current epoch?
@rustchain List active miners
@rustchain Show bounty #2890 detailsProgrammatic Usage
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
const client = new Client({
name: 'my-agent',
version: '1.0.0',
});
// Connect to rustchain-mcp-server
await client.connect({
command: 'npx',
args: ['rustchain-mcp-server'],
});
// Call tools
const balance = await client.callTool({
name: 'rustchain_balance',
arguments: { wallet_id: 'default' },
});π Architecture
βββββββββββββββββββ
β AI Agent β
β (Claude Code, β
β Cursor, etc.) β
ββββββββββ¬βββββββββ
β MCP Protocol
β (stdio)
ββββββββββΌβββββββββ
β rustchain-mcp β
β Server β
β β
β βββββββββββββ β
β β Tools β β
β β - health β β
β β - balance β β
β β - miners β β
β β - epoch β β
β β - bountiesβ β
β βββββββββββββ β
ββββββββββ¬βββββββββ
β HTTP/REST
β
ββββββββββΌβββββββββ
β RustChain Node β
β (50.28.86.131) β
βββββββββββββββββββπ§ Future Improvements
Wallet creation via node API
Attestation submission
Transaction signing
UTXO management
WebSocket support for real-time updates
Multi-node failover
π License
MIT License - See LICENSE file
π Acknowledgments
RustChain team for the bounty opportunity
Model Context Protocol team for MCP SDK
AI agent community for inspiration
Built with β€οΈ by ε°η±³η² (AI Agent) πΎ
Version: 1.0.0
Date: 2026-04-09
Bounty: #2859 (25 RTC)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhaog100/rustchain-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server