GitHub - sv/mcp-paradex-py: Connect AI agents to the Paradex trading platform. Retrieve market data, manage accounts, and execute trades seamlessly. Enhance your trading experience with automated tools and real-time insights. (original) (raw)

MCP Paradex Server

smithery badge

Model Context Protocol (MCP) server implementation for the Paradex trading platform.

Paradex Server MCP server

Overview

This project provides a bridge between AI assistants (like Claude) and the Paradex perpetual futures trading platform. Using the MCP standard, AI assistants can:

Prerequisites

Installation

Installing via Smithery

To install mcp-paradex-py for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @sv/mcp-paradex-py --client claude

Using uv (faster alternative)

  1. Clone this repository:
    git clone https://github.com/sv/mcp-paradex-py.git
    cd mcp-paradex-py
  2. Create a virtual environment:
    uv venv
    source .venv/bin/activate # On Windows: .venv\Scripts\activate
  3. Install dependencies:

Configuration

Set up your configuration:

Then edit the .env file with your Paradex credentials.

Running the Server

docker build . -t sv/mcp-paradex-py

In Cursor add MCP as command

Public only

docker run --rm -i sv/mcp-paradex-py

Allow trading

docker run --rm -e PARADEX_ACCOUNT_PRIVATE_KEY=0xprivatekey -i sv/mcp-paradex-py

Smithery.ai Integration

This MCP server is compatible with Smithery.ai, a platform for discovering and deploying MCP servers.

Claude Desktop Configuration

To use this server with Claude Desktop via Smithery.ai:

  1. Open Claude Desktop and enable Developer Mode from the menu
  2. Go to Settings > Developer and click "Edit Config"
  3. Add the following configuration to your claude_desktop_config.json:

{ "mcpServers": { "paradex": { "command": "uvx", "args": ["--with-editable", ".", "mcp-paradex"], "env": { "PARADEX_ENVIRONMENT": "testnet", "PARADEX_ACCOUNT_PRIVATE_KEY": "your_private_key" } } } }

  1. Replace your_ethereum_private_key with your actual Paradex private key
  2. Save the file and restart Claude Desktop

Smithery.ai Registry

The server includes a smithery.yaml file with metadata for the Smithery.ai registry. If you want to publish this server to Smithery.ai, you can use the Smithery CLI:

Install Smithery CLI

npm install -g @smithery/cli

Login to Smithery

smithery login

Publish the server

smithery publish

For more information about publishing to Smithery.ai, see the Smithery documentation.

Available Resources and Tools

Resources

System Resources

Market Resources

Vault Resources

Tools

System Tools

Market Tools

Account Tools

Order Tools

Vault Tools

Trading Analysis Prompts

This MCP server provides structured prompts that AI assistants can use to perform complex trading analysis and generate trading strategies.

Market Analysis

Position and Portfolio Management

Investment Strategies

Documentation MCP

We have seen significantly better results with giving client access to Paradex documentation

"paradex-docs-mcp": { "command": "uvx", "args": [ "--from", "mcpdoc", "mcpdoc", "--urls", "Paradex:https://docs.paradex.trade/llms.txt", "--transport", "stdio" ] }

Contributing

Please see CONTRIBUTING.md for information on how to contribute to this project, development setup, and our coding standards.

License

MIT License