To view this content in our official product documentation, click here.
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
{% stepper %} {% step %} 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"{% endstep %}
{% step %} 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:

If the `uv` installation hasn't worked after completing the above steps, try installing it manually.
{% endstep %} {% endstepper %}
Installing uv manually
If you have completed the steps above, but uv fails to install, follow the steps below from a terminal window.
{% stepper %} {% step %} Change into the required folder
In a terminal window, run the following command:
cd ~/patchworks-mcp{% endstep %}
{% step %} Create & activate a virtual environment
Run the following command:
uv venv && source .venv/bin/activate{% endstep %}
{% step %} Install dependencies
Run the following command:
uv pip install "mcp[cli]>=0.1.0" "pydantic>=2.7" "python-dotenv>=1.0" "requests>=2.32"{% endstep %}
{% step %} Configure your environment
Go to Stage 3: Configure your environment & run the server. {% endstep %} {% endstepper %}
Comments
0 comments
Please sign in to leave a comment.