
Paradex Trading
io.github.tradeparadex由 GitHub 账号 tradeparadex 发布v0.1.2更新于 Oct 24, 2026
MCP server for Paradex perp trading. Market data, accounts, orders, positions, and vaults.
概览
把 AI 助手连接到 Starknet 上的 Paradex 交易所,可查询行情、账户与金库,并下单或撤单。
- 可以做什么
- 读取系统与行情数据:系统配置与状态、市场列表、市场摘要、资金费率、订单簿、K 线、成交、最优买卖价
- 查看账户:账户摘要、持仓、成交明细、资金费支付、交易记录
- 管理订单:查询未成交订单、创建订单、撤销订单、查询订单状态与历史
- 查看金库:金库列表与配置、余额、摘要、存取记录、持仓、账户信息
- 使用内置分析提示词:市场概览、持仓与组合风险、对冲、爆仓保护、金库与资金费率机会
- 适用场景
- 适合让助手研究 Paradex 永续合约行情、查看持仓与金库,或用自然语言起草并提交订单。建议先在测试网试用交易流程,再切换到生产环境。
- 运行要求
- 以本地 Python 包运行(需 Python 3.10+,推荐 uv 或 uvx)。仅公开行情无需凭据;交易需要 PARADEX_ACCOUNT_PRIVATE_KEY,或使用签名代理模式的四个变量。PARADEX_ENVIRONMENT 选择 prod、testnet 或 nightly。需能访问 Paradex API,并支持代理相关环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Paradex Trading,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
MCP Paradex Server
Model Context Protocol (MCP) server implementation for the Paradex trading platform.
[Paradex Server MCP server]Quickstart
New here? See the Quickstart Guide for step-by-step setup instructions for Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Claude.ai web, and ChatGPT.
Need a remote HTTP endpoint for ChatGPT or Claude.ai web? See the HTTP Deployment Guide for Railway, Render, Fly.io, AWS Lambda, and Docker/VPS options.
Overview
This project provides a bridge between AI assistants (like Claude) and Paradex, a privacy-preserving multi-asset exchange on Starknet with spot, perpetuals, options, and commodity futures. Using the MCP standard, AI assistants can:
- Retrieve market data from Paradex
- Manage trading accounts and vaults
- Place and manage orders
- Monitor positions and balance
Prerequisites
-
Python 3.10+
-
uv — required for the
uvxrun methodmacOS: Install via
brew install uvso the binary lands in/usr/local/bin, which GUI apps like Claude Desktop can find. The curl-pipe install puts uv in~/.local/bin, which GUI apps cannot see.
Installation
Quick Start
Cursor IDE
Click to automatically configure this MCP server in Cursor:
Claude Code CLI
Smithery (Claude Desktop)
Standard Installation
PyPI
uvx (Recommended)
Development Setup
-
Clone the repository:
-
Install development dependencies:
-
Run locally:
Configuration
Environment Variables
Set these environment variables for authentication:
PARADEX_ENVIRONMENT: Set toprod,testnet, ornightly(default:prod)PARADEX_ACCOUNT_PRIVATE_KEY: Your Paradex account private key
Signer mode (no private key)
To trade through a signing proxy that holds the key, set these four and leave
PARADEX_ACCOUNT_PRIVATE_KEY unset:
PARADEX_SIGNER_HEADER: the header the server puts each message hash in, base64PARADEX_SIGNER_SIGNATURE: the placeholder the server sends as the signature, for the proxy to replacePARADEX_ACCOUNT_ADDRESS: your Paradex account addressPARADEX_ACCOUNT_PUBLIC_KEY: the public key of the key the proxy signs with
Every tool call returns a configuration error while any of the four is missing. If a private key is also set, the server uses the signer and logs a warning. Block-trade tools are not available in signer mode.
Outbound proxy
The server sends Paradex API requests through HTTPS_PROXY, HTTP_PROXY or ALL_PROXY
when set, skips the hosts listed in NO_PROXY, and trusts the CA bundle in SSL_CERT_FILE.
Using .env File
Client Configuration
Claude Desktop
Add to your claude_desktop_config.json:
Docker (local / stdio)
Docker (AWS Lambda / HTTP)
Use Dockerfile.aws for remote deployments via AWS Lambda with the
Lambda Web Adapter.
The adapter bridges Lambda invocations to the server's HTTP endpoint,
so no Lambda-specific code is needed.
The server will be available at http://localhost:8080/mcp.
Deploying to Lambda:
- Push the image to ECR
- Create a Lambda function from the container image
- Set the Lambda Function URL invoke mode to
RESPONSE_STREAM - Set environment variables on the Lambda function:
MCP_TRANSPORT=streamable-httpMCP_STATELESS=truePARADEX_ENVIRONMENT=prod(ortestnet)PARADEX_ACCOUNT_PRIVATE_KEY=your_key(optional, for trading)
Available Resources and Tools
Resources
System Resources
paradex://system/config- Get Paradex system configurationparadex://system/time- Get current system timeparadex://system/state- Get system operational state
Market Resources
paradex://markets- List of available marketsparadex://market/summary/{market_id}- Detailed market information
Vault Resources
paradex://vaults- List all vaultsparadex://vaults/config- Global vault configurationparadex://vaults/balance/{vault_id}- Vault balanceparadex://vaults/summary/{vault_id}- Comprehensive vault summaryparadex://vaults/transfers/{vault_id}- Deposit/withdrawal historyparadex://vaults/positions/{vault_id}- Current trading positionsparadex://vaults/account-summary/{vault_id}- Trading account information
Tools
System Tools
paradex_system_config- Get global system configurationparadex_system_state- Get current system state
Market Tools
paradex_markets- Get detailed market informationparadex_market_summaries- Get market summaries with metricsparadex_funding_data- Get historical funding rate dataparadex_orderbook- Get current orderbook with customizable depthparadex_klines- Get historical candlestick dataparadex_trades- Get recent tradesparadex_bbo- Get best bid and offer
Account Tools
paradex_account_summary- Get account summaryparadex_account_positions- Get current positionsparadex_account_fills- Get trade fillsparadex_account_funding_payments- Get funding paymentsparadex_account_transactions- Get transaction history
Order Tools
paradex_open_orders- Get all open ordersparadex_create_order- Create new orderparadex_cancel_orders- Cancel existing ordersparadex_order_status- Get order statusparadex_orders_history- Get historical orders
Vault Tools
paradex_vaults- Get detailed vault informationparadex_vaults_config- Get global vault configurationparadex_vault_balance- Get vault balanceparadex_vault_summary- Get comprehensive vault summaryparadex_vault_transfers- Get deposit/withdrawal historyparadex_vault_positions- Get current vault positionsparadex_vault_account_summary- Get vault trading account info
Trading Analysis Prompts
Market Analysis
market_overview- Comprehensive crypto market overviewmarket_analysis- Detailed technical and microstructure analysis
Position and Portfolio Management
position_management- Comprehensive position analysiscreate_optimal_order- Design optimal order parametershedging_strategy- Develop effective hedging strategiesportfolio_risk_assessment- Thorough portfolio risk analysisliquidation_protection- Identify and mitigate liquidation risks
Investment Strategies
vault_analysis- Comprehensive vault analysis for investment decisionsfunding_rate_opportunity- Identify funding rate arbitrage opportunitiestrading_consultation- Interactive trading advice and consultation
Documentation MCP
Enhanced results with Paradex documentation access:
Contributing
Please see CONTRIBUTING.md for information on how to contribute to this project, development setup, and our coding standards.
License
来源:README.md,提交 6922474
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分