Stage 1: Retrieve Patchworks setup files

Introduction

Patchworks setup files are stored in a public repository named patchworks-mcp. In this stage, you will retrieve these files.

The steps

1

Clone the Patchworks MCP repository

Run the following commands from a terminal window to get to your home directory:

cd ~

Then run the following command:

git clone https://github.com/gopatchworks/patchworks-mcp

This creates a folder named patchworks-mcp .

2

Check folder contents

Use the command below to change into the new patchworks-mcp folder:

cd patchworks-mcp

Now check the contents of this folder, using the command below:

ls -a

This command shows all files within the current folder, including any which are hidden.

The following files should be listed:

Filename
Summary

.env.example

A configuration template for environment variables required by the MCP server.

patchworks_client.py

Encapsulates all HTTP calls to the Patchworks API (i.e. logic needed to talk to the API).

pyproject.toml

Tells Python what your project is, and its dependencies (includes FastMCP).

server.py

Connects the APIs with Claude (or any MCP client) via MCP.

If you don't want to (or can't) use Git to retrieve Patchworks setup files, paste the link below into your browser:

https://github.com/gopatchworks/patchworks-mcp

From here, you can download a zip file:

Then:

Unzip this file in a folder named patchworks-mcp and continue with the steps below.

3

Install dependencies

Go to Stage 2: Install dependencies.

Last updated

Was this helpful?