-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Context
I maintain an API gateway with several DeFi-focused services that could complement the agent definitions in this repo:
- DeFi MCP Server — 12 MCP tools for token research, prices, and analytics
- On-Chain Analytics — Token data from DexScreener + GeckoTerminal across 8 chains
- Crypto Data Feeds — Real-time WebSocket feeds for 40+ trading pairs via Bybit
Working example
import requests
GATEWAY = "https://agent-gateway-kappa.vercel.app"
# Get token analytics (DexScreener + GeckoTerminal)
token = requests.get(f"{GATEWAY}/api/analytics/token/0x...?chain=ethereum").json()
print(f"Price: ${token['price']}, Volume 24h: ${token['volume24h']}")
# Get real-time crypto prices
btc = requests.get(f"{GATEWAY}/api/crypto/price/BTC").json()
eth = requests.get(f"{GATEWAY}/api/crypto/price/ETH").json()
# Search for tokens
results = requests.get(f"{GATEWAY}/api/analytics/search?q=pepe").json()MCP Configuration
For agents using MCP, our DeFi MCP server can be added directly:
{
"mcpServers": {
"defi": {
"url": "https://agent-gateway-kappa.vercel.app/api/defi-mcp"
}
}
}This gives agents access to tools like get_token_price, search_tokens, get_gas_prices, get_wallet_balance, and more.
Full API catalog: https://api-catalog-three.vercel.app
Happy to help with integration if any of these services would be useful for the DeFi agent definitions!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels