Introducing Mudrex MCP
Now Trade Crypto with AI
What is MCP?
Model Context Protocol (MCP) is an open standard that connects AI apps to your tools and data — like USB-C, but for AI.
One Protocol, Every Tool
Instead of building a custom integration for each AI + exchange pair, MCP gives you one shared interface.
Open and Model-Agnostic
Works with Claude, ChatGPT, Gemini, and open-source models — any app that speaks MCP.
Secure by Design
Every tool call requires your approval. Your AI cannot act without permission.

Claude
AI

MCP
Server
Mudrex
Trading Engine
How It Works
Three parts. One flow.
- 1
Your AI App
Any AI-powered app — Claude Desktop, Cursor, or a custom agent — runs an MCP client.
- 2
The Mudrex MCP Server
A lightweight server that exposes trading tools: place orders, read positions, and fetch market data.
- 3
You Approve Each Action
The AI proposes a trade or query. You confirm before anything executes.
API Key Creation
Generate a Mudrex API key and secret to authenticate MCP. Use the API secret as API_SECRET in your Claude config. See API key setup on the Mudrex docs.
API Key Management
Created: 4th Sep 2025
Note: If your secret key is lost, you can rotate your API keys. This will generate a new Secret key for your application.
- 1Open Settings → Developer
- 2Click Generate New Key
- 3Copy and store it securely
Setting Up Claude Desktop
Add the Mudrex MCP server to Claude Desktop in a few minutes. In Settings → Developer → Edit Config, paste the JSON below into claude_desktop_config.json, set API_SECRET to your Mudrex API secret, and restart. Requires Node.js (for npx).
{
"mcpServers": {
"mcp-futures-trading": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mudrex.com/mcp",
"--header",
"X-Authentication:${API_SECRET}"
],
"env": {
"API_SECRET": "<your-api-secret>"
}
}
}
}What Can You Do?
Run your entire trading workflow from a chat window — positions, orders, leverage, and market data.
View Open Positions
Ask for PnL, exposure, and open trades across all markets in a single message.
Close Positions
"Close all my BTC longs" — natural language in, closing orders out.
Change Leverage
Adjust leverage on any pair without opening the exchange UI.
Execute Market Orders
Buy or sell any supported asset directly from your chat interface.
Fetch Market Data
Pull real-time prices, order book depth, and k-line history for analysis.
Cancel Open Orders
"Cancel all my pending ETH orders" — revoke unfilled orders without opening the exchange.
Available MCP Tools
The Mudrex MCP server exposes futures trading tools your AI can call. Actions marked Required in the tables below need your approval before they run.
Note: Transfer funds from your SPOT wallet to your FUTURES wallet in the Mudrex app or web platform before trading via MCP.
Orders
| Tool | Description | Confirmation |
|---|---|---|
| place_order | Place LONG/SHORT (optionally attach SL/TP) | Required |
| amend_order | Amend an existing order (price / SL / TP) | Required |
| cancel_order | Cancel an order | Required |
| get_orders | List open orders | — |
| get_order | Fetch a specific order by order_id | — |
| get_order_history | Historical orders | — |
Positions
| Tool | Description | Confirmation |
|---|---|---|
| get_positions | List open positions | — |
| close_position | Close a position | Required |
| reverse_position | Reverse a position | Required |
| get_position_history | Historical positions | — |
Risk management (SL/TP)
| Tool | Description | Confirmation |
|---|---|---|
| place_risk_order | Place stop-loss / take-profit on a position | Required |
| amend_risk_order | Amend stop-loss / take-profit on a position | Required |
| get_liquidation_price | Compute liquidation price for a position | — |
Leverage & margin
| Tool | Description | Confirmation |
|---|---|---|
| get_leverage | Get current leverage for a contract | — |
| set_leverage | Set leverage for a contract | Required |
| add_margin | Add margin to a position | Required |
Markets & account
| Tool | Description | Confirmation |
|---|---|---|
| list_futures | List all available futures contracts | — |
| get_future | Get details for a contract (by id or symbol) | — |
| get_available_funds | Available funds for trading | — |
| get_fee_history | Fee history | — |
Frequently Asked Questions
Start Building with Mudrex MCP
Generate your API key, add the config, and connect your AI to Mudrex in minutes.