Skip to content

Prerequisites

What you need before starting Day 1 of the TripPlanner tutorial.

Supported platforms

  • macOS (Intel or Apple Silicon)
  • Linux (x86_64 or ARM64)
  • Windows via WSL2

meshctl

meshctl is the command-line tool you'll use to start, inspect, and call agents.

npm install -g @mcpmesh/cli

Verify

meshctl --version

Language runtime

Python 3.11 or later

# Check your version
python3 --version

# Install if needed
brew install python@3.11          # macOS (Homebrew)
sudo apt install python3.11       # Ubuntu/Debian

Virtual environment

Create a .venv in your project root and install mcp-mesh into it. meshctl auto-detects .venv when starting an agent — you only need to activate it when running pip.

python3.11 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install mcp-mesh
deactivate

Verify

.venv/bin/python -c "import mesh; print('mesh OK')"

Other languages

This tutorial uses Python. For TypeScript or Java setup, see the TypeScript prerequisites and Java prerequisites.

Ready to start

Once meshctl --version prints a version and .venv/bin/python -c "import mesh" succeeds, you're ready for Day 1.