Skip to content

Installation

This guide walks you through getting the MCP Prefactor demo code on your machine and installing the required dependencies.

Start by cloning the demo repository:

Terminal window
git clone https://github.com/prefactordev/mcp-prefactor-demo.git
cd mcp-prefactor-demo

The demo uses mise to manage Node.js and pnpm versions. If you have mise installed, run:

Terminal window
mise install

This will install the correct versions of Node.js and pnpm as specified in the project’s mise.toml file.

If you don’t have mise, you can install Node.js and pnpm manually. Check the mise.toml file for the required versions.

Once Node.js and pnpm are available, install the project dependencies:

Terminal window
pnpm install

This will download all the packages needed to run the demo.