Stage 2: Install dependencies
Introduction
In this stage, you will install required dependencies with uv - a fast Python dependency manager that simplifies package installation and running servers.
The steps
1
Install uv
Run the following command from a terminal window:
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"2
Restart terminal
Quit and restart the terminal, then run the following command to check your uv version:
uv --versionYou should see a version number - for example:
Installing uv manually
If you have completed the steps above, but uv fails to install, follow the steps below from a terminal window.
1
Change into the required folder
In a terminal window, run the following command:
cd ~/patchworks-mcp2
Create & activate a virtual environment
Run the following command:
uv venv && source .venv/bin/activate3
Install dependencies
Run the following command:
uv pip install "mcp[cli]>=0.1.0" "pydantic>=2.7" "python-dotenv>=1.0" "requests>=2.32"4
Configure your environment
PreviousStage 1: Retrieve Patchworks setup filesNextStage 3: Configure your environment & run the server
Last updated
Was this helpful?