DeFi Trading Agent
Transforms conversational interfaces into autonomous DeFi trading agents with real-time market analy...
Create a New Wallet (Recommended)
- Open your terminal.
- Run:
npx defi-trading-mcp --create-wallet - This will generate a new Ethereum wallet address and a private key. Record both securely; you will need them in the next steps.
Obtain a CoinGecko API Key
- Visit the CoinGecko API documentation or the CoinGecko API Key guide.
- Create a CoinGecko account if you do not have one.
- Log in, go to your API dashboard, and generate a new API key.
- Copy the API key; you will use it in the next step.
(Optional) Obtain an Alchemy API Key for Premium RPC
- Go to Alchemy’s website.
- Sign up or log in.
- Create a new app/project.
- Select your preferred blockchain(s) and environment (mainnet/testnet).
- Copy the provided API key for your project.
Add Environment Variables in FastMCP Connection Interface
- In the FastMCP connection interface, click the “Install Now” button to begin configuration.
- When prompted, fill in the following ENV values with your actual credentials:
USER_PRIVATE_KEY: The private key from Step 1.USER_ADDRESS: The wallet address from Step 1.COINGECKO_API_KEY: The CoinGecko API key from Step 2.ALCHEMY_API_KEY: The Alchemy API key from Step 3 (optional, but recommended for better performance).
Save and Complete Installation
- Make sure each value is entered correctly and securely.
- Complete the setup to enable the DeFi Trading Agent MCP server.
You’re now ready to use the DeFi Trading Agent with your FastMCP setup!
Quick Start
Choose Connection Type for
Authentication Required
Please sign in to use FastMCP hosted connections
Run MCP servers without
local setup or downtime
Access to 1,000+ ready-to-use MCP servers
Skip installation, maintenance, and trial-and-error.
No local setup or infra
Run MCP servers without Docker, ports, or tunnels.
Always online
Your MCP keeps working even when your laptop is off.
One secure URL
Use the same MCP from any agent, anywhere.
Secure by default
Encrypted connections. Secrets never stored locally.
Configuration for
Environment Variables
Please provide values for the following environment variables:
HTTP Headers
Please provide values for the following HTTP headers:
started!
The MCP server should open in . If it doesn't open automatically, please check that you have the application installed.
Copy and run this command in your terminal:
Make sure Gemini CLI is installed:
Visit Gemini CLI documentation for installation instructions.
Make sure Claude Code is installed:
Visit Claude Code documentation for installation instructions.
Installation Steps:
Configuration
Installation Failed
More for Finance
View All →Fear & Greed Index
Provides real-time access to CNN's Fear & Greed Index for US stock market sentiment analysis, retrieving current composite scores and seven individual market indicators including S&P 500 momentum, options ratios, and volatility measures with historical comparisons.
More for Monitoring
View All →Dual-Cycle Reasoner
Provides dual-cycle metacognitive reasoning framework that detects when autonomous agents get stuck in repetitive behaviors through statistical anomaly detection and semantic analysis, then automatically diagnoses failure causes and generates recovery strategies using case-based learning.
Prometheus
Integrates with Prometheus monitoring systems to provide direct access to time-series metrics through specialized tools for discovering available metrics and labels, retrieving metadata and target information, and executing PromQL queries for real-time performance analysis and operational intelligence.