Skip to main content
Glama

πŸš€ 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 chains

  • portfolio.getPositions - Get DeFi positions and health factors

  • operations.scanOpportunities - Scan for yield and airdrop opportunities

  • strategy.propose - Propose DCA or liquidation guard strategies

  • strategy.backtest - Backtest strategy performance

  • transaction.simulate - Simulate transaction execution

  • transaction.execute - Execute transactions with guard validation

  • guard.setRules - Configure risk management rules

  • report.get - Get trading history and PnL

  • system.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 install

Configuration

cp .env.example .env # Edit .env with your configuration

Development

# Start development server npm run dev # Run tests npm test # Build for production npm run build

Production

# 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 --prod

Railway

npm i -g @railway/cli railway login railway up

Docker

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

  1. Fork the repository

  2. Create feature branch (git checkout -b feature/amazing-feature)

  3. Commit changes (git commit -m 'Add amazing feature')

  4. Push to branch (git push origin feature/amazing-feature)

  5. 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

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


Built with ❀️ for the AURA community

-
security - not tested
-
license - not tested
-
quality - not tested

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