Cursor MCP Crypto Trading: Build & Run Strategies in Cursor IDE
Cursor is the fastest environment for quantitative developers who want their coding agent to inspect local strategy files, validate contract specs, and execute live TypeScript directly through Eterna's Deno sandbox.
Add https://mcp.eterna.exchange/mcp to ~/.cursor/mcp.json (or project .cursor/mcp.json) with type streamable-http, then click Connect in Cursor Settings -> MCP to complete Google OAuth 2.1 sign-in. Cursor's Agent gains search_sdk, search_examples, and execute_code to query live tickers, compute RSI/MACD/VWAP, and trade 800+ USDT perps and 380+ spot pairs in an isolated sub-account.
https://mcp.eterna.exchange/mcpConfigure Eterna MCP in Cursor (60 seconds)
- 01Open Cursor MCP settings
Open Cursor Settings -> Tools & MCP -> Add Custom MCP Server, or edit ~/.cursor/mcp.json directly.
- 02Paste the remote streamable-HTTP config
Use the JSON snippet below. Because Eterna hosts the MCP server remotely, Cursor needs no local Node or Python runtime.
- 03Complete OAuth 2.1 sign-in
Click Needs login next to the eterna server in Cursor Settings. Approve mcp:full in your browser to auto-provision your isolated sub-account.
- 04Verify tool discovery in Agent chat
Ask Cursor Agent: 'Use Eterna MCP to check my USDT balance and show BTCUSDT 1h RSI and EMA 20/50.'
{
"mcpServers": {
"eterna": {
"type": "streamable-http",
"url": "https://mcp.eterna.exchange/mcp"
}
}
}Recommended .cursor/rules/trading-guardrails.mdc for safe execution
Pair Eterna MCP with a workspace Cursor rule so your coding agent always follows strict position sizing and never hallucinates SDK methods.
// Example Cursor rule guidelines to place in .cursor/rules/trading-guardrails.mdc:
// 1. Always call search_sdk before using unfamiliar eterna.* methods.
// 2. Never call register_agent (it does not exist).
// 3. Always fetch eterna.getInstruments({ symbol }) and round qty to qtyStep.
// 4. Never place a perpetual order without stopLoss and takeProfit unless explicitly told.
// 5. Enforce max 1% equity risk per trade and max 5x leverage.What developers build with Cursor + Eterna MCP
- Interactive strategy prototyping: iterate on RSI/VWAP/Bollinger setups in a local TypeScript file, run live dry-run scans via execute_code, and refine thresholds in seconds.
- Automated portfolio hygiene: ask Cursor to audit all open positions, flag missing stop-losses, and tighten trailing stops via eterna.setTradingStop.
- Multi-market screeners: scan 20+ USDT perpetuals and tokenized equity perps (NVDA, TSLA, COIN, MSTR) in a single Promise.all execute_code call.
- Hybrid IDE + CLI workflow: draft strategies in Cursor Agent and run repeatable scripts from the terminal via npx @eterna-hybrid-exchange/cli.
Frequently asked questions
Is it safe to commit .cursor/mcp.json with Eterna MCP to a git repository?
Why does Cursor work better with Eterna's execute_code than a 50-tool exchange MCP?
References & verification links
- Cursor MCP DocumentationOfficial Cursor specification for mcp.json and remote HTTP MCP servers.
- Eterna MCP QuickstartOfficial setup instructions for Cursor and other streamable-HTTP clients.
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.