n8n AI Agent Workflow for Crypto Trading via Eterna MCP
Not every trader wants to host a custom Python or Node.js daemon. n8n gives you visual triggers (cron, TradingView webhooks, Discord/Telegram messages), retries, and logging while Eterna MCP handles market data, indicators, and execution.
Add an n8n `AI Agent` node with an `MCP Client Tool` sub-node configured for Streamable HTTP at `https://mcp.eterna.exchange/mcp`. Trigger the workflow on a schedule, TradingView webhook, or Telegram message to run technical analysis and execute risk-bounded orders on Eterna.
https://mcp.eterna.exchange/mcp1. Build a Scheduled Scanner & Alert Workflow in n8n
Start in read-only alert mode before enabling live order placement.
- 01Add a Schedule or Webhook trigger
Use a 15-minute or 1-hour Schedule Trigger for indicator scans, or a Webhook Trigger for incoming TradingView alerts.
- 02Attach AI Agent + MCP Client Tool
Connect Claude or GPT as the Chat Model, then add the `MCP Client Tool` pointing at `https://mcp.eterna.exchange/mcp` with your OAuth Bearer header.
- 03Prompt for structured JSON output
Instruct the agent to run one `execute_code` call checking tickers, RSI, EMA, and current positions, then output `{ action, symbol, reason, riskNote }`.
- 04Route to Telegram / Slack or Approval Gate
Send the proposed setup to Telegram with an Approve/Reject button before calling a second execution workflow.
2. Webhook Safety Rules for Automated Workflows
Webhooks can fire duplicates or get spoofed. Protect capital with simple n8n checks.
- Validate a shared secret token on every incoming TradingView webhook payload before invoking the AI Agent node.
- Deduplicate alerts per `(symbol, timeframe, candleTimestamp)` so duplicate webhook retries never double-enter a position.
- Inside `execute_code`, always check `eterna.getPositions()` first and skip if an open position already exists on that symbol.
- Keep only your active trading budget inside the Eterna agent sub-account.
Frequently asked questions
Can n8n turn TradingView alerts into AI-vetted trades?
Does n8n work with Eterna's free MCP server?
References & verification links
- Automated Technical Analysis GuideUsing built-in RSI, MACD, EMA, SMA, BB, and VWAP inside execute_code.
- Pricing & Fee Schedule$0 MCP subscription and regular-tier fee breakdown.
Connect your AI agent in 30 seconds
One remote MCP URL. 800+ USDT perpetuals, 380+ spot pairs, 0.014% maker / 0.035% taker, no KYC.