# CrewAI Multi-Agent Crypto Trading Crew via Eterna MCP

> Attach Eterna's remote Streamable HTTP MCP server (`https://mcp.eterna.exchange/mcp`) to CrewAI agents using `MCPServerAdapter`. Splitting responsibilities across a Market Analyst agent (read-only), a Risk Officer agent (sizing & drawdown validation), and a Trader agent prevents single-prompt mistakes.

- Canonical URL: https://ai.eterna.exchange/integrations/crewai
- Last updated: November 23, 2026
- Author: Eterna Engineering (MCP & Agent Infrastructure Team)
- MCP endpoint: https://mcp.eterna.exchange/mcp

CrewAI makes role-based agent separation effortless in Python. Giving read-only research roles and execution roles distinct instructions while sharing Eterna's unified `execute_code` SDK yields clean audit trails.

## Key Facts

| Metric | Value | Notes |
|--------|-------|-------|
| Crew Pattern | Analyst -> Risk -> Trader | Explicit separation of duties |
| Transport | Streamable HTTP MCP | Zero local exchange SDKs |
| Markets | 1,180+ crypto & stocks | Unified USDT margin |
| Fee Schedule | 0.014% / 0.035% | $0/mo MCP compute |

## 1. Three-Agent Crew Topology for Crypto Perpetuals

| CrewAI Role | Mandate | Eterna SDK Scope |
| --- | --- | --- |
| Market Analyst | Scan watchlist for RSI/MACD/EMA/VWAP setups & liquidity | getTickers, getOrderbook, getRsi, getMacd, getEma, getVwap |
| Risk Manager | Check equity, open exposure, correlation & compute 1% qty | getBalance, getPositions, getOrders, getInstruments |
| Execution Trader | Only executes approved tickets with mandatory SL/TP | setLeverage, placeOrder, setTradingStop |

## Frequently Asked Questions

### Why split a CrewAI trading bot into 3 roles instead of 1 agent?

A dedicated Risk Manager agent tasked specifically with finding reasons to reject a trade catches correlated exposure, wide spreads, and oversized leverage far more reliably than a single opportunistic prompt.

## References & Primary Sources

- [LangGraph Integration](https://ai.eterna.exchange/integrations/langchain-langgraph): Alternative Python graph-based agent framework.

## Related Guides

- [LangChain & LangGraph MCP Crypto Trading Agent](https://ai.eterna.exchange/integrations/langchain-langgraph)
- [Mastra.ai TypeScript Trading Agent + Eterna MCP](https://ai.eterna.exchange/integrations/mastra-ai)
- [AI Crypto Trading Risk Management: Position Sizing, TP/SL & Kill Switches](https://ai.eterna.exchange/guides/ai-trading-risk-management-guardrails)
