Turning Point Academy · MCP Engineering

Setup Guide — Environment for MCP Engineering

Curso MCP Engineering · M0


This guide gets your computer ready for the whole course, taking nothing for granted. We're going to install four things (you already have the terminal, plus Python, Node.js, and VS Code), understand why each one is needed, and create a virtual environment so this project doesn't get mixed up with anything else. Follow the steps in order. At the end there's a checklist to confirm that everything responds.

Golden rule: always install from the official sites named here — python.org, nodejs.org, code.visualstudio.com. Never from a search-engine link that isn't the official one: that's where fake installers with malware show up.

Before you start: what is each thing and why do we install it?

ToolWhat it isWhy you need it in the course
TerminalA window where you type text commands and the computer runs them.It's the "control panel" from which you'll run everything.
Python 3.11+The course's main programming language.The MCP servers you'll build are written in Python.
Node.js LTSAn environment for running programs written in JavaScript.Several MCP tools (like inspectors) run on Node.
VS CodeA code editor (like a Word for programming).It's where you'll write and organize your files, with an integrated terminal.
venvAn isolated "little box" of Python packages.It keeps this project's packages separate from the rest.

You don't need to memorize anything. It's enough to follow the steps and verify that each thing responds with a version number.


Step 0 — Open the terminal

The terminal (or "command line") is a window where you type instructions as text instead of clicking. It's a bit intimidating at first, but it's just another way — a more direct one — to tell the computer what to do.

SystemHow to open the terminal
macOSCmd + Space, type Terminal, Enter
WindowsStart menu → search for PowerShell or Terminal → open it
LinuxCtrl + Alt + T, or search for "Terminal" in your applications

These four commands are the only ones you need to get around. A command is a word that gives an order to the terminal:

ActionmacOS / LinuxWindows (PowerShell)
Enter a foldercd foldercd folder
Go back to the previous foldercd ..cd ..
List the contentslsls or dir
Create a new foldermkdir mcp-coursemkdir mcp-course

Concrete example — create the course folder. Type, one line at a time:

mkdir mcp-course   # creates a folder called mcp-course
cd mcp-course      # you enter that folder
ls                 # it's still empty: shows nothing

cd stands for change directory. When you "are inside" a folder, all the commands you type act there. That's the point of creating a course folder first: all your work lives in a single place.


Step 1 — Install Python 3.11+

Python is the course's language. Download it only from python.org (the Downloads section). We ask for 3.11 or higher because modern MCP libraries require it; older versions will give you errors that are hard to diagnose.

SystemKey steps
WindowsRun the installer and check "Add Python to PATH" before installing
macOSInstall the official .pkg (or, if you use Homebrew, brew install python)
LinuxUsually comes preinstalled; if not: sudo apt install python3 python3-pip (Debian/Ubuntu)
The most important checkbox in the whole guide (Windows): check "Add Python to PATH". The PATH is the list of folders where your system looks for programs. If Python isn't in the PATH, the terminal responds "not recognized" even though it's installed. Checking that box avoids the number-one error.

Verify it turned out right:

python --version     # should say 3.11 or higher
pip --version        # pip is Python's package installer

If you see something like Python 3.12.1 and a pip line, you're all set.

If python doesn't respond, try python3 and pip3 (on many macOS and Linux systems multiple versions coexist and the "number-less" name points to an old one). On Windows, if it says "not recognized", close and reopen the terminal; if it persists, reinstall checking Add Python to PATH.

Step 2 — Install Node.js LTS

Some MCP tools run on Node.js. Download the LTS version from nodejs.org. LTS stands for Long-Term Support: it's the stable, recommended version, the one that won't surprise you with weird changes. Avoid the "Current" version, which is experimental.

SystemKey steps
Windows / macOSOfficial LTS installer (already includes npx)
Linuxsudo apt install nodejs npm, or better use nvm to manage versions

Verify:

node --version     # e.g.: v20.x (an LTS version)
npx --version      # npx runs tools without installing them permanently

npx is a command that comes with Node and is used to download and run a tool on the fly, without leaving it permanently installed. You'll use it, for example, to launch the MCP inspector later on.


Step 3 — Install VS Code

A code editor is like a word processor, but designed for programming: it colors the code, warns you of errors as you type, and comes with an integrated terminal. We use VS Code because it's free, lightweight, and works the same on macOS, Windows, and Linux. Download it from code.visualstudio.com.


Step 4 — Create and activate a virtual environment (venv)

A virtual environment is an isolated "little box" where you install the packages for this project without cluttering the rest of your computer. Why does it matter? Without venv, everything you install with pip gets mixed at the global level: two projects that need different versions of the same library clash, and one day something stops working without you knowing why. With venv, each project has its own versions and nothing gets stepped on. It's one of the best habits from day one.

From your course folder (mcp-course):

python -m venv .venv        # creates the environment inside the .venv folder

This creates a hidden .venv subfolder. Now you have to activate it so the terminal uses that box:

SystemCommand to activate
macOS / Linuxsource .venv/bin/activate
Windows (PowerShell).venv\Scripts\Activate.ps1

When it's active, you'll see (.venv) at the start of the line, like this:

(.venv) user@computer mcp-course %

That (.venv) is your confirmation that you're "inside the box". Everything you install with pip from here on stays only in this project. To exit, type deactivate and the (.venv) disappears.

Windows — permissions: if PowerShell blocks the activation script with a message about "execution policy", run just once: Set-ExecutionPolicy -Scope CurrentUser RemoteSigned and confirm with S/Y. This authorizes PowerShell to run trusted local scripts; it's safe and only affects your user.

Common errors (and how to get out of them)

SymptomLikely causeSolution
"python not recognized" (Windows)Add Python to PATH wasn't checkedReinstall checking the box; reopen the terminal
python opens an old versionPython 2 and 3 coexistUse python3 / pip3
PowerShell blocks the venvRestricted execution policySet-ExecutionPolicy -Scope CurrentUser RemoteSigned
The command "doesn't show up" after installingThe terminal was already open from beforeClose and reopen the terminal (it re-reads the PATH)
pip install installs "for everyone"You forgot to activate the venvActivate the venv; look for the (.venv) before installing

The lesson from the list: if something just installed "can't be found", 90% of the time it's fixed by closing and reopening the terminal, because the PATH is read on open.


Final environment checklist

Copy these commands and confirm that all four respond with a number:

python --version    # 3.11 or higher
pip --version
node --version      # an LTS version (e.g.: v20.x)
npx --version

And check off each item:

If you checked everything, your workshop is ready for the rest of the course.


Glossary

To remember

  1. Install only from the official sites: python.org, nodejs.org, code.visualstudio.com.
  2. On Windows, check "Add Python to PATH" — it avoids the most common error.
  3. Always choose Node.js's LTS version (stable), not the "Current" one.
  4. Work inside a venv: look for the (.venv) before installing anything with pip.
  5. If a command "can't be found" right after installing, close and reopen the terminal.
  6. The final checklist confirms the environment: all four commands must respond with a version number.

Turning Point Academy · MCP Engineering Course · Module 0 · Setup Guide