AURA MCP Server
π AURA MCP Server
Bridge LLMs with AURA API and EVM for on-chain intelligence
A modular Model Context Protocol (MCP) server that enables Claude & ChatGPT to interact with AdEx AURA for DeFi portfolio analysis, yield opportunities, and automated trading strategies.
π Features
π MCP Commands
portfolio.getBalance- Get wallet balance across chainsportfolio.getPositions- Get DeFi positions and health factorsoperations.scanOpportunities- Scan for yield and airdrop opportunitiesstrategy.propose- Propose DCA or liquidation guard strategiesstrategy.backtest- Backtest strategy performancetransaction.simulate- Simulate transaction executiontransaction.execute- Execute transactions with guard validationguard.setRules- Configure risk management rulesreport.get- Get trading history and PnLsystem.health- Check system status
π‘οΈ Guard Engine
Risk Management: Max slippage, gas limits, health factors
Route Protection: Allowed DEXes, blocked tokens/protocols
Emergency Stop: Instant transaction blocking
Dynamic Rules: Per-user customizable guardrails
π° x402 Paywall
On-chain payment verification
Per-request monetization
USDC/USDT payment support
Invoice generation and tracking
π Strategy Plugins
DCA Event-Aware: Dollar-cost averaging with market event detection
Liquidation Guard: Automated position protection
π Quick Start
Installation
git clone https://github.com/aura-mcp/server.git
cd aura-mcp-server
npm installConfiguration
cp .env.example .env
# Edit .env with your configurationDevelopment
# Start development server
npm run dev
# Run tests
npm test
# Build for production
npm run buildProduction
# Build and start
npm run build
npm startβοΈ Configuration
Environment Variables
# AURA Configuration
AURA_API_URL=https://api.aura.adex.network
AURA_API_KEY=your_aura_api_key
# RPC Endpoints
RPC_ETHEREUM=https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY
RPC_BASE=https://mainnet.base.org
RPC_ARBITRUM=https://arb1.arbitrum.io/rpc
# x402 Payment
X402_RECEIVER=0xYourWalletAddress
X402_ASSET=USDC
# Server
MCP_SERVER_PORT=3000
NODE_ENV=productionπ Usage Examples
Portfolio Analysis
// Get wallet balance
const balance = await mcpClient.call('portfolio.getBalance', {
address: '0x69bfD720Dd188B8BB04C4b4D24442D3c15576D10',
chain: 'ethereum'
});
// Get DeFi positions
const positions = await mcpClient.call('portfolio.getPositions', {
address: '0x69bfD720Dd188B8BB04C4b4D24442D3c15576D10'
});Strategy Proposal
// DCA Event-Aware Strategy
const strategy = await mcpClient.call('strategy.propose', {
intent: 'dca_event_aware',
params: {
asset: 'ETH',
budgetUsd: 200,
cadence: '2x/week',
eventRules: {
pauseOnUnlock: true,
maxGasGwei: 25,
boostOnDrawdownPct: 3
}
},
address: '0x69bfD720Dd188B8BB04C4b4D24442D3c15576D10'
});Transaction Execution
// Simulate transaction
const simulation = await mcpClient.call('transaction.simulate', {
intentId: 'dca_event_aware_123',
txParams: {
to: '0x1234...',
value: '100000000000000000',
gasLimit: '150000'
}
});
// Execute if simulation passes
if (simulation.ok) {
const execution = await mcpClient.call('transaction.execute', {
intentId: 'dca_event_aware_123',
txParams: simulation.txParams
});
}ποΈ Architecture
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Claude/ChatGPTβ β AURA MCP Serverβ β AURA API/SDK β
β βββββΊβ βββββΊβ β
β - Tool Calls β β - MCP Protocol β β - Portfolio β
β - Responses β β - Guard Engine β β - Strategies β
β - Context β β - x402 Paywall β β - Analytics β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β EVM Chains β
β β
β - Ethereum β
β - Base β
β - Arbitrum β
β - Polygon β
βββββββββββββββββββπ§ͺ Testing
# Run all tests
npm test
# Run with coverage
npm test -- --coverage
# Run specific test
npm test -- --testNamePattern="Guard Engine"π Deployment
Vercel
npm i -g vercel
vercel --prodRailway
npm i -g @railway/cli
railway login
railway upDocker
docker build -t aura-mcp-server .
docker run -p 3000:3000 aura-mcp-serverπ Performance
Response Time: < 2s for portfolio analysis
Throughput: 100+ requests/minute
Uptime: 99.9% SLA
Security: Guard engine protection
π Security
Input validation with Zod schemas
Guard engine risk management
x402 payment verification
Rate limiting and DDoS protection
Encrypted environment variables
π€ Contributing
Fork the repository
Create feature branch (
git checkout -b feature/amazing-feature)Commit changes (
git commit -m 'Add amazing feature')Push to branch (
git push origin feature/amazing-feature)Open Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Hackathon Submission
Project: AURA MCP Server
Event: AdEx AURA Hackathon
Deadline: October 22, 2025
Status: β
Ready for submission
Demo Links
Live Demo: https://aura-mcp-hackathon.vercel.app
Video Demo: https://youtube.com/watch?v=your-demo-video
Key Features Demonstrated
β Portfolio analysis across multiple chains
β DCA Event-Aware strategy automation
β Liquidation guard protection
β x402 paywall monetization
β Guard engine risk management
β Real-time transaction simulation
π Support
Documentation: docs.aura-mcp.dev
Issues: GitHub Issues
Discord: AURA Community
Email: support@aura-mcp.dev
Built with β€οΈ for the AURA community
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/antidumpalways/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server