@@ -38,21 +38,21 @@ A comprehensive Model Context Protocol (MCP) server for HyperLiquid trading usin
3838### Prerequisites
3939
4040- Python 3.11 or higher (project uses Python 3.13)
41- - [ UV ] ( https://docs.astral.sh/uv / ) package manager
41+ - [ Poetry ] ( https://python-poetry.org / ) package manager
4242
4343### Setup
4444
45- 1 . ** Install UV (if not already installed):**
45+ 1 . ** Install Poetry (if not already installed):**
4646
4747 ``` bash
4848 # On macOS and Linux:
49- curl -LsSf https://astral.sh/uv/ install.sh | sh
49+ curl -sSL https://install.python-poetry.org | python3 -
5050
5151 # On Windows:
52- powershell -c " irm https://astral.sh/uv/ install.ps1 | iex "
52+ (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
5353
5454 # Or with pip:
55- pip install uv
55+ pip install poetry
5656 ```
5757
58582 . ** Clone the repository:**
@@ -62,23 +62,23 @@ A comprehensive Model Context Protocol (MCP) server for HyperLiquid trading usin
6262 cd hyperliquid-mcp-python
6363 ```
6464
65- 3 . ** Install dependencies with UV :**
65+ 3 . ** Install dependencies with Poetry :**
6666
6767 ``` bash
6868 # Install dependencies and create virtual environment
69- uv sync
69+ poetry install
7070
71- # Or install in development mode with optional dev dependencies
72- uv sync --extra dev
71+ # Or install without development dependencies
72+ poetry install --without dev
7373 ```
7474
7575 This will install all dependencies defined in ` pyproject.toml ` :
7676
77- - ` fastmcp>= 2.9.2 ` - FastMCP framework for MCP server
78- - ` hyperliquid-python-sdk>= 0.15.0 ` - Official HyperLiquid SDK
79- - ` python-dotenv>= 1.0.0 ` - Environment variable loading
80- - ` pydantic>= 2.0.0 ` - Data validation
81- - ` eth-account>=0.8 .0 ` - Ethereum account handling
77+ - ` fastmcp^ 2.9.2 ` - FastMCP framework for MCP server
78+ - ` hyperliquid-python-sdk^ 0.15.0 ` - Official HyperLiquid SDK
79+ - ` python-dotenv^ 1.0.0 ` - Environment variable loading
80+ - ` pydantic^ 2.0.0 ` - Data validation
81+ - ` eth-account^0.10 .0 ` - Ethereum account handling
8282
8383## Configuration
8484
@@ -127,11 +127,11 @@ Create a `config.json` file in the project root:
127127### Starting the Server
128128
129129``` bash
130- # Using UV (recommended)
131- uv run python main.py
130+ # Using Poetry (recommended)
131+ poetry run python main.py
132132
133133# Or activate the virtual environment first
134- source .venv/bin/activate # On Windows: .venv\Scripts\activate
134+ poetry shell
135135python main.py
136136```
137137
0 commit comments