Provides real-time DeFi intelligence and on‑chain automation by connecting Claude/ChatGPT to AURA API for portfolio analysis, swaps, yields, and automation across 200+ networks.
Configuration
View docs{
"mcpServers": {
"antidump-mcp": {
"url": "https://mcp-aura.replit.app/mcp",
"headers": {
"AURA_API_KEY": "your_aura_api_key_here"
}
}
}
}You deploy and run an MCP server that lets Claude, ChatGPT, or other MCP clients interact with the AURA API for real-time DeFi portfolio analysis, swap execution, yield opportunities, and automated trading strategies across many networks. This server provides a fast, secure bridge between language models and on-chain data and actions, enabling intelligent DeFi workflows from natural language and programmatic calls.
You interact with the server through an MCP client to perform actions like parsing swap intents, obtaining best-rate quotes, preparing and executing trades, and analyzing portfolios. Use the HTTP MCP endpoint for multi-client web integration or run a local MCP process for desktop-style integrations. The server also supports real-time strategies, risk guards, and payment workflows, so you can automate DeFi operations with confidence.
Typical usage patterns include: parsing a natural language swap request, requesting a best-quote route across supported chains, preparing a transaction with necessary allowances, and then signing and submitting the transaction. You can also fetch cross-chain balances, inspect DeFi positions, scan for airdrops or liquidation risks, propose AI-driven investment strategies, and backtest those strategies against historical data.
Prerequisites you need on your machine or deployment environment are Node.js 18 or newer, an AURA API Key, and Git. Ensure your environment is configured to run web servers or local MCP components as you prefer.
# Clone the MCP server repository
git clone https://github.com/aura-mcp/server.git
cd aura-mcp-server
# Install dependencies
npm install
# Prepare environment
cp env.example .env
# Edit .env and add your AURA_API_KEYSet your AURA API key and optional endpoints in the environment. The server expects AURA_API_KEY and can accept a custom AURA API URL if needed.
# Example environment variables
AURA_API_KEY=your_aura_api_key_here
# Optional
AURA_API_URL=https://aura.adex.network
MCP_SERVER_PORT=5000
NODE_ENV=productionConnect popular language models to the MCP server using native MCP endpoints. You can run the server behind standard HTTP APIs or over standard input/output streams for local integrations. Use the provided MCP endpoint to enable real-time bidirectional communication and tool calls between the model and DeFi actions.
You can deploy the MCP server to a hosting platform or run it locally. The server supports standard deployment flows and uses environment variables for sensitive information like your AURA API Key.
# Production build and start
npm run build
npm start
```
```bash
# For development server (HTTP API for web integration)
npm run dev
# For MCP-specific runtime (Claude Desktop integration)
npm run dev:mcpThe server includes input validation, a guard engine for risk management, and on-chain signing in the browser to avoid exposing private keys. It also provides on-chain payment verification and rate limiting to protect against abuse.
You can run the test suite to verify functionality and coverage. Performance targets include sub-second swap quotes, multi-second portfolio analyses, and rapid backtests for strategies.
# Run tests
npm test
# Run with coverage
npm test -- --coverage
# Watch mode
npm run test:watchThe MCP server exposes a set of tool endpoints for swap, portfolio, operations, and strategy actions. Interactions are exposed over HTTP endpoints as part of the MCP protocol.
For example, you can parse a swap intent, request a quote, prepare a transaction, and execute a signed swap. You can also fetch balances, positions, scan opportunities, propose strategies, and backtest those strategies.
There are two primary ways to connect: an HTTP MCP endpoint for remote clients and a local stdio setup for direct desktop integrations. Make sure your client uses the correct endpoint and passes the required environment variables.
Parse natural language swap intents into structured swap parameters
Obtain a swap quote with the best route across supported DEXes and chains
Prepare a swap transaction, including allowances and routing data
Execute a signed swap transaction on-chain
Query cross-chain wallet balances for a given address and chain
Retrieve DeFi positions with health factors across protocols
Scan for opportunities such as airdrops or liquidations with parameters
Propose AI-powered DeFi strategies (e.g., DCA, rotation) with parameters
Backtest a proposed strategy over a lookback period
Simulate a transaction to estimate results without on-chain execution
Execute a previously prepared transaction or intent
Configure guard rails and risk rules for per-user protection